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.001934/0.001934, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 223.1 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008409/0.0008408, allocations: 100.1 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002472, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2328, allocations: 47.58 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.3487, allocations: 85.83 MB / 461.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.3491, allocations: 95.92 kB / 461.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03646/0.3856, allocations: 12.69 MB / 474.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3856, allocations: 4 kB / 474.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.874e-05/0.3857, allocations: 16 kB / 474.5 MB, free: 13.95 MB / 362.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.002179/0.3879, allocations: 1.081 MB / 475.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3879, allocations: 16.03 kB / 475.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3881, allocations: 102.7 kB / 475.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/0.3889, allocations: 0.5279 MB / 476.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.389, allocations: 57.98 kB / 476.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.3891, allocations: 75.91 kB / 476.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.3905, allocations: 0.7784 MB / 477.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.3905, allocations: 0 / 477.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.3906, allocations: 36 kB / 477.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.3906, allocations: 16 kB / 477.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3919, allocations: 0.6167 MB / 477.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.3961, allocations: 2.729 MB / 480.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.3974, allocations: 0.5796 MB / 481.1 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.3975, allocations: 16.56 kB / 481.1 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009184/0.3984, allocations: 469.7 kB / 481.6 MB, free: 6.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.3984, allocations: 0 / 481.6 MB, free: 6.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=69): time 0.003278/0.4017, allocations: 1.242 MB / 482.8 MB, free: 5.324 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.4018, allocations: 123.3 kB / 482.9 MB, free: 5.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.4025, allocations: 478.2 kB / 483.4 MB, free: 4.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.82e-05/0.4026, allocations: 45.69 kB / 483.4 MB, free: 4.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.4029, allocations: 336.5 kB / 483.8 MB, free: 4.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.4031, allocations: 217 kB / 484 MB, free: 4.105 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.4031, allocations: 12 kB / 484 MB, free: 4.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.4034, allocations: 382.7 kB / 484.4 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.4039, allocations: 249.9 kB / 484.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007014/0.4046, allocations: 430.2 kB / 485 MB, free: 2.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.4053, allocations: 315.7 kB / 485.3 MB, free: 2.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.4053, allocations: 0 / 485.3 MB, free: 2.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001708/0.407, allocations: 0.8757 MB / 486.2 MB, free: 1.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008901/0.4079, allocations: 1.856 MB / 488.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4079, allocations: 8 kB / 488.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.4084, allocations: 151 kB / 488.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.409, allocations: 135.7 kB / 488.4 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.4121, allocations: 2.32 MB / 490.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.4128, allocations: 91.5 kB / 490.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/0.4129, allocations: 28 kB / 490.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4129, allocations: 7.938 kB / 490.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001547/0.4145, allocations: 0.7811 MB / 491.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4145, allocations: 4 kB / 491.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/0.4149, allocations: 151.3 kB / 491.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.4154, allocations: 123.8 kB / 491.9 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.4185, allocations: 2.326 MB / 494.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.4195, allocations: 87.45 kB / 494.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.4196, allocations: 32 kB / 494.3 MB, free: 9.254 MB / 378.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 () * Number of clocked 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.0008053/0.4204, allocations: 313 kB / 494.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.4206, allocations: 79.14 kB / 494.7 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.4223, allocations: 0.776 MB / 495.5 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4223, allocations: 12 kB / 495.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4223, allocations: 3.953 kB / 495.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4224, allocations: 3.984 kB / 495.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.4254, allocations: 1.588 MB / 497.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4254, allocations: 0 / 497.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.4259, allocations: 91.88 kB / 497.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.4263, allocations: 132.8 kB / 497.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.4264, allocations: 27.94 kB / 497.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.4293, allocations: 2.314 MB / 499.6 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4293, allocations: 4 kB / 499.6 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.4317, allocations: 1.206 MB / 0.4891 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.432, allocations: 208.1 kB / 0.4893 GB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.4321, allocations: 20 kB / 0.4893 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.4326, allocations: 51.95 kB / 0.4894 GB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.4328, allocations: 64.56 kB / 0.4894 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.4329, allocations: 23.98 kB / 0.4894 GB, free: 2.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005025/0.4334, allocations: 374.8 kB / 0.4898 GB, free: 1.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4334, allocations: 0 / 0.4898 GB, free: 1.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001254/0.4346, allocations: 359.1 kB / 0.4901 GB, free: 1.387 MB / 378.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) * Number of clocked states: 0 () * 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.0002243/0.4349, allocations: 147.8 kB / 0.4903 GB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.177/0.6119, allocations: 1.511 MB / 0.4918 GB, free: 105.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.612, allocations: 0.5 kB / 0.4918 GB, free: 105.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.6132, allocations: 0.5291 MB / 0.4923 GB, free: 105.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.614, allocations: 107.8 kB / 0.4924 GB, free: 105.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.6168, allocations: 1.68 MB / 0.494 GB, free: 105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.6173, allocations: 0.9688 MB / 0.495 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004593/0.6178, allocations: 102.3 kB / 0.4951 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.618, allocations: 50.8 kB / 0.4951 GB, free: 104.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.683e-06/0.618, allocations: 3.75 kB / 0.4951 GB, free: 104.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01743/0.6354, allocations: 10.46 MB / 0.5053 GB, free: 103.4 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