Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009515/0.0009515, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 78.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.203e-05/1.207e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.07732, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.3842, allocations: 85.33 MB / 448.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.3844, allocations: 85.5 kB / 448.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03199/0.4164, allocations: 12.57 MB / 461.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4165, allocations: 4 kB / 461.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.966e-05/0.4165, allocations: 16 kB / 461.1 MB, free: 15.85 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001695/0.4182, allocations: 1.004 MB / 462.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4183, allocations: 8.031 kB / 462.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.4185, allocations: 102.8 kB / 462.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.4192, allocations: 0.5273 MB / 462.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.4192, allocations: 24 kB / 462.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.4193, allocations: 46.67 kB / 462.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007867/0.4201, allocations: 461 kB / 463.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.4211, allocations: 0.6232 MB / 463.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.4212, allocations: 3.562 kB / 463.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.4212, allocations: 0 / 463.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4213, allocations: 23.95 kB / 463.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.4247, allocations: 2.585 MB / 466.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/0.4255, allocations: 490.6 kB / 467 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.4258, allocations: 265.4 kB / 467.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.4259, allocations: 4.562 kB / 467.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/0.4265, allocations: 394 kB / 467.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 1.954e-06/0.4265, allocations: 0 / 467.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0009208/0.4274, allocations: 0.5612 MB / 468.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.4275, allocations: 130.5 kB / 468.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.4279, allocations: 390.8 kB / 468.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.4279, allocations: 33.08 kB / 468.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.4281, allocations: 334.4 kB / 469 MB, free: 9.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4283, allocations: 202.3 kB / 469.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.4283, allocations: 0 / 469.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4285, allocations: 379.8 kB / 469.6 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.4288, allocations: 180.2 kB / 469.8 MB, free: 8.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.4292, allocations: 354.3 kB / 470.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.4295, allocations: 203.9 kB / 470.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4295, allocations: 4 kB / 470.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009566/0.4305, allocations: 0.6624 MB / 471 MB, free: 7.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005623/0.431, allocations: 1.859 MB / 472.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.431, allocations: 4 kB / 472.9 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.4314, allocations: 145.8 kB / 473 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.432, allocations: 131.4 kB / 473.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.4342, allocations: 2.203 MB / 475.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.4346, allocations: 71.5 kB / 475.4 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.4347, allocations: 29.83 kB / 475.4 MB, free: 3.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.4347, allocations: 7.938 kB / 475.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008717/0.4356, allocations: 0.5671 MB / 476 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4356, allocations: 8 kB / 476 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003158/0.4359, allocations: 138.9 kB / 476.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.4364, allocations: 122.5 kB / 476.3 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.4385, allocations: 2.208 MB / 478.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.4389, allocations: 67.67 kB / 478.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.439, allocations: 34.67 kB / 478.6 MB, free: 1.004 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y,$PRE.fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y,$PRE.fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y,$PRE.fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y,$whenCondition6,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition5,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.4392, allocations: 137.3 kB / 478.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/0.4393, allocations: 63.25 kB / 478.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009559/0.4402, allocations: 0.6083 MB / 479.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4403, allocations: 8 kB / 479.4 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.4403, allocations: 0 / 479.4 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4403, allocations: 3.984 kB / 479.4 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.4419, allocations: 1.333 MB / 480.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.442, allocations: 4 kB / 480.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.4424, allocations: 95.88 kB / 480.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.4427, allocations: 138.5 kB / 481 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.4428, allocations: 7.938 kB / 481 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.4449, allocations: 2.194 MB / 483.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.445, allocations: 0 / 483.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.4463, allocations: 0.9726 MB / 484.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.4465, allocations: 196.2 kB / 484.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/0.4466, allocations: 15.94 kB / 484.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.447, allocations: 48.08 kB / 484.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.4472, allocations: 64.47 kB / 484.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.4472, allocations: 19.98 kB / 484.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002828/0.4475, allocations: 299 kB / 484.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4475, allocations: 0 / 484.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009132/0.4484, allocations: 334.9 kB / 485.1 MB, free: 10.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,inductor.i) * Number of discrete variables: 22 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y) * Number of discrete states: 6 (signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001855/0.4486, allocations: 127.6 kB / 485.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.4503, allocations: 1.283 MB / 486.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4503, allocations: 4.062 kB / 486.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.4509, allocations: 451.6 kB / 486.9 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.4514, allocations: 94.09 kB / 487 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.4531, allocations: 0.9845 MB / 488 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.4536, allocations: 0.9829 MB / 489 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.454, allocations: 112.8 kB / 489.1 MB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.4541, allocations: 39.42 kB / 489.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4541, allocations: 0 / 489.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of Templates: time 0.01569/0.4698, allocations: 10.01 MB / 499.1 MB, free: 12.45 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_RL/SinglePhaseTwoLevel_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches