Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000983/0.0009831, allocations: 182.6 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 90 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.054e-06/7.084e-06, allocations: 4 kB / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2086, allocations: 50.38 MB / 386.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09761/0.3062, allocations: 90.26 MB / 477.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.3066, allocations: 84.77 kB / 477.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3007/0.6073, allocations: 63 MB / 0.5276 GB, free: 80.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001347/0.6074, allocations: 63.94 kB / 0.5277 GB, free: 80.62 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.003655/0.6111, allocations: 2.294 MB / 0.5299 GB, free: 78.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6112, allocations: 8.031 kB / 0.5299 GB, free: 78.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000733/0.6119, allocations: 312.7 kB / 0.5302 GB, free: 77.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.6142, allocations: 1.591 MB / 0.5318 GB, free: 76.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.6143, allocations: 68 kB / 0.5318 GB, free: 76.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.6145, allocations: 132 kB / 0.5319 GB, free: 76.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003104/0.6176, allocations: 2.363 MB / 0.5342 GB, free: 73.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/0.6211, allocations: 2.761 MB / 0.5369 GB, free: 70.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.6212, allocations: 0 / 0.5369 GB, free: 70.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.6213, allocations: 8 kB / 0.537 GB, free: 70.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.228e-05/0.6214, allocations: 116.4 kB / 0.5371 GB, free: 70.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.6318, allocations: 8.529 MB / 0.5454 GB, free: 62.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.6337, allocations: 1.681 MB / 0.547 GB, free: 60.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.6352, allocations: 1.415 MB / 0.5484 GB, free: 59.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.6355, allocations: 130.4 kB / 0.5485 GB, free: 58.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.6356, allocations: 55.78 kB / 0.5486 GB, free: 58.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 2.796e-06/0.6356, allocations: 0 / 0.5486 GB, free: 58.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.005707/0.6413, allocations: 4.018 MB / 0.5525 GB, free: 54.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.6413, allocations: 64.72 kB / 0.5526 GB, free: 54.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.6425, allocations: 1.085 MB / 0.5536 GB, free: 53.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.551e-05/0.6426, allocations: 25.7 kB / 0.5537 GB, free: 53.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.6428, allocations: 0.7677 MB / 0.5544 GB, free: 52.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.6431, allocations: 433.2 kB / 0.5548 GB, free: 52.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.6431, allocations: 3.938 kB / 0.5548 GB, free: 52.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.6432, allocations: 353.9 kB / 0.5552 GB, free: 52.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.644, allocations: 0.6741 MB / 0.5558 GB, free: 51.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.6448, allocations: 0.8284 MB / 0.5566 GB, free: 50.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.6456, allocations: 0.7987 MB / 0.5574 GB, free: 49.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6456, allocations: 4 kB / 0.5574 GB, free: 49.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002713/0.6483, allocations: 2.186 MB / 0.5596 GB, free: 47.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.6484, allocations: 7.938 kB / 0.5596 GB, free: 47.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6484, allocations: 4 kB / 0.5596 GB, free: 47.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.6498, allocations: 0.7098 MB / 0.5603 GB, free: 46.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008476/0.6507, allocations: 211.7 kB / 0.5605 GB, free: 46.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007834/0.6585, allocations: 9.816 MB / 0.57 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.6593, allocations: 23.97 kB / 0.5701 GB, free: 36.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6594, allocations: 44 kB / 0.5701 GB, free: 36.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.6596, allocations: 127.8 kB / 0.5702 GB, free: 36.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.6598, allocations: 142.3 kB / 0.5704 GB, free: 35.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.6625, allocations: 2.07 MB / 0.5724 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.6625, allocations: 12 kB / 0.5724 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6625, allocations: 4 kB / 0.5724 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6625, allocations: 11.88 kB / 0.5724 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/0.6679, allocations: 4.281 MB / 0.5766 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6679, allocations: 0 / 0.5766 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.6686, allocations: 163.9 kB / 0.5768 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.6701, allocations: 0.6983 MB / 0.5774 GB, free: 28.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/0.6701, allocations: 11.98 kB / 0.5774 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007728/0.6779, allocations: 9.788 MB / 0.587 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6779, allocations: 0 / 0.587 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003426/0.6813, allocations: 3.186 MB / 0.5901 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.6819, allocations: 391.2 kB / 0.5905 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.6821, allocations: 15.94 kB / 0.5905 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.6828, allocations: 47.95 kB / 0.5906 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.683, allocations: 81.09 kB / 0.5906 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.6831, allocations: 35.98 kB / 0.5907 GB, free: 14.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0008605/0.684, allocations: 0.8327 MB / 0.5915 GB, free: 13.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001386/0.6854, allocations: 460 kB / 0.5919 GB, free: 13.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003102/0.6857, allocations: 191.1 kB / 0.5921 GB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.6882, allocations: 2.203 MB / 0.5942 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6882, allocations: 0 / 0.5942 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.6899, allocations: 1.434 MB / 0.5956 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6913, allocations: 312.1 kB / 0.5959 GB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005902/0.6972, allocations: 3.746 MB / 0.5996 GB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/0.6987, allocations: 2.115 MB / 0.6017 GB, free: 3.102 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6987, allocations: 0 / 0.6017 GB, free: 3.102 MB / 378.7 MB Notification: Performance of Templates: time 0.03849/0.7372, allocations: 24.84 MB / 0.6259 GB, free: 10.63 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches