Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 95.64 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.111e-05, allocations: 4 kB / 350.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09624, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/0.3979, allocations: 88.8 MB / 490.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.3983, allocations: 94.59 kB / 490.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03772/0.436, allocations: 13.36 MB / 0.4925 GB, free: 4.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.436, allocations: 0 / 0.4925 GB, free: 4.973 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.817e-05/0.4361, allocations: 27.94 kB / 0.4925 GB, free: 4.945 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002259/0.4384, allocations: 1.021 MB / 0.4935 GB, free: 3.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.4385, allocations: 15.97 kB / 0.4935 GB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.4392, allocations: 166.3 kB / 0.4937 GB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4402, allocations: 0.5434 MB / 0.4942 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.4403, allocations: 54 kB / 0.4943 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.4404, allocations: 79.94 kB / 0.4943 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.4418, allocations: 0.724 MB / 0.495 GB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.4419, allocations: 3.938 kB / 0.495 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.442, allocations: 32 kB / 0.4951 GB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.442, allocations: 20.34 kB / 0.4951 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.443, allocations: 0.5047 MB / 0.4956 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004419/0.4474, allocations: 2.775 MB / 0.4983 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/0.4484, allocations: 0.5157 MB / 0.4988 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.4489, allocations: 271.4 kB / 0.4991 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.4489, allocations: 12.55 kB / 0.4991 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007315/0.4497, allocations: 419.5 kB / 0.4995 GB, free: 13.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 3.817e-06/0.4497, allocations: 3.938 kB / 0.4995 GB, free: 13.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=69): time 0.001344/0.451, allocations: 0.62 MB / 0.5001 GB, free: 12.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.4511, allocations: 115.4 kB / 0.5002 GB, free: 12.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/0.4519, allocations: 0.4965 MB / 0.5007 GB, free: 12.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.452, allocations: 45.7 kB / 0.5007 GB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.4523, allocations: 348.4 kB / 0.5011 GB, free: 11.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.4524, allocations: 213.1 kB / 0.5013 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.4525, allocations: 12 kB / 0.5013 GB, free: 11.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4527, allocations: 378.8 kB / 0.5016 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.453, allocations: 193.6 kB / 0.5018 GB, free: 11.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.4535, allocations: 372 kB / 0.5022 GB, free: 10.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.454, allocations: 256.9 kB / 0.5024 GB, free: 10.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.454, allocations: 0 / 0.5024 GB, free: 10.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001326/0.4554, allocations: 0.7708 MB / 0.5032 GB, free: 9.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008075/0.4562, allocations: 1.86 MB / 0.505 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4562, allocations: 4.125 kB / 0.505 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/0.4567, allocations: 148.7 kB / 0.5051 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.4573, allocations: 135.8 kB / 0.5053 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.46, allocations: 2.272 MB / 0.5075 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.4607, allocations: 103.4 kB / 0.5076 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.4607, allocations: 28 kB / 0.5076 GB, free: 4.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.4607, allocations: 4 kB / 0.5076 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001189/0.4619, allocations: 0.6836 MB / 0.5083 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.462, allocations: 4 kB / 0.5083 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.4624, allocations: 146.5 kB / 0.5084 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.4628, allocations: 127.9 kB / 0.5085 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.4654, allocations: 2.278 MB / 0.5108 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.4659, allocations: 91.58 kB / 0.5109 GB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.466, allocations: 31.98 kB / 0.5109 GB, free: 1.281 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_last,fundamentalWaveCurrent.mean1.y_last,$PRE.fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.mean2.y_last,$PRE.fundamentalWaveVoltage.mean1.y_last,fundamentalWaveVoltage.mean1.y_last,$PRE.fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.mean2.y_last,$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.0002145/0.4662, allocations: 160.7 kB / 0.511 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.4664, allocations: 75.06 kB / 0.5111 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.4677, allocations: 0.6752 MB / 0.5118 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4677, allocations: 11.98 kB / 0.5118 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.4677, allocations: 0 / 0.5118 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.4677, allocations: 3.984 kB / 0.5118 GB, free: 348 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.47, allocations: 1.487 MB / 0.5132 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.47, allocations: 0 / 0.5132 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.4705, allocations: 103.8 kB / 0.5133 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/0.4709, allocations: 139.3 kB / 0.5135 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.471, allocations: 19.92 kB / 0.5135 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.4736, allocations: 2.261 MB / 0.5157 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4736, allocations: 0 / 0.5157 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.4753, allocations: 1.039 MB / 0.5167 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.4757, allocations: 212.6 kB / 0.5169 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4758, allocations: 16 kB / 0.5169 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.4763, allocations: 51.95 kB / 0.517 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.4765, allocations: 72.45 kB / 0.517 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.4765, allocations: 23.98 kB / 0.5171 GB, free: 10.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005231/0.4771, allocations: 387.2 kB / 0.5174 GB, free: 10.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4771, allocations: 1.875 kB / 0.5174 GB, free: 10.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001249/0.4783, allocations: 379 kB / 0.5178 GB, free: 9.953 MB / 394.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_last,fundamentalWaveVoltage.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,fundamentalWaveCurrent.mean2.y_last) * 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.000236/0.4786, allocations: 160.5 kB / 0.518 GB, free: 9.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.4809, allocations: 1.381 MB / 0.5193 GB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4809, allocations: 0 / 0.5193 GB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007223/0.4817, allocations: 477.8 kB / 0.5198 GB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.4823, allocations: 107.7 kB / 0.5199 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.4845, allocations: 1.071 MB / 0.5209 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.4851, allocations: 0.9756 MB / 0.5219 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005616/0.4857, allocations: 132.6 kB / 0.522 GB, free: 5.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.4858, allocations: 47.44 kB / 0.522 GB, free: 5.516 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4858, allocations: 0 / 0.522 GB, free: 5.516 MB / 394.7 MB Notification: Performance of Templates: time 0.01989/0.5057, allocations: 11.54 MB / 0.5333 GB, free: 10.2 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_RL/SinglePhaseTwoLevel_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches