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_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 177.7 kB / 8.698 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.429/1.429, allocations: 205.3 MB / 214.4 MB, free: 1.668 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.0007772/0.0007773, allocations: 91.94 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.284e-05/1.285e-05, allocations: 4 kB / 315.5 MB, free: 22.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07392/0.07395, allocations: 47.59 MB / 363.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.3778, allocations: 85.03 MB / 448.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.3782, allocations: 90.11 kB / 448.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03312/0.4113, allocations: 12.25 MB / 460.5 MB, free: 412 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4114, allocations: 0 / 460.5 MB, free: 412 kB / 330.7 MB Notification: Performance of Transformations before backend: time 4.6e-05/0.4114, allocations: 20 kB / 460.5 MB, free: 392 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001878/0.4133, allocations: 0.983 MB / 461.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4133, allocations: 8.031 kB / 461.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.4135, allocations: 98.83 kB / 461.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.4144, allocations: 0.5235 MB / 462.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.4144, allocations: 20 kB / 462.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.4145, allocations: 47.98 kB / 462.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007964/0.4153, allocations: 454.7 kB / 462.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009972/0.4164, allocations: 0.5985 MB / 463.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.4164, allocations: 3.938 kB / 463.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.4165, allocations: 4 kB / 463.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.4165, allocations: 19.95 kB / 463.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.4202, allocations: 2.505 MB / 465.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.4211, allocations: 0.4886 MB / 466.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.4214, allocations: 250.8 kB / 466.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.369e-05/0.4215, allocations: 20.53 kB / 466.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005989/0.4221, allocations: 374.5 kB / 466.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.066e-06/0.4221, allocations: 4 kB / 466.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.001072/0.4232, allocations: 0.5607 MB / 467.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.4233, allocations: 122.8 kB / 467.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.4237, allocations: 382.9 kB / 467.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.4238, allocations: 29.7 kB / 467.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.424, allocations: 342.1 kB / 468.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.4242, allocations: 182.1 kB / 468.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.4242, allocations: 0 / 468.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4244, allocations: 378.8 kB / 468.8 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.4247, allocations: 172.5 kB / 469 MB, free: 9.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.4251, allocations: 346 kB / 469.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.4254, allocations: 197 kB / 469.5 MB, free: 9.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4254, allocations: 11.89 kB / 469.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009916/0.4264, allocations: 0.6463 MB / 470.2 MB, free: 8.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007258/0.4271, allocations: 1.859 MB / 472 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4272, allocations: 19.89 kB / 472 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/0.4277, allocations: 142.6 kB / 472.2 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.4282, allocations: 119.5 kB / 472.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.4306, allocations: 2.232 MB / 474.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.4311, allocations: 71.55 kB / 474.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.4312, allocations: 33.92 kB / 474.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.4312, allocations: 4 kB / 474.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009059/0.4321, allocations: 0.5549 MB / 475.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4321, allocations: 8 kB / 475.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.4325, allocations: 145.8 kB / 475.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.4329, allocations: 127.8 kB / 475.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.4352, allocations: 2.226 MB / 477.7 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.4357, allocations: 55.66 kB / 477.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.4358, allocations: 27.12 kB / 477.8 MB, free: 1.676 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 (70): * Single equations (assignments): 68 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.436, allocations: 141.9 kB / 477.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4361, allocations: 75.09 kB / 478 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.4371, allocations: 0.5912 MB / 478.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4372, allocations: 4 kB / 478.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.4372, allocations: 4 kB / 478.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4372, allocations: 3.984 kB / 478.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.439, allocations: 1.323 MB / 479.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.439, allocations: 0 / 479.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.4394, allocations: 83.88 kB / 480 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003656/0.4398, allocations: 152.7 kB / 480.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.4399, allocations: 8 kB / 480.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.4422, allocations: 2.217 MB / 482.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.4422, allocations: 0 / 482.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.4436, allocations: 0.9609 MB / 483.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.4439, allocations: 192.2 kB / 483.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/0.444, allocations: 8 kB / 483.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.4445, allocations: 43.95 kB / 483.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.4446, allocations: 68.45 kB / 483.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.4447, allocations: 23.98 kB / 483.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003709/0.4451, allocations: 294.9 kB / 483.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4451, allocations: 0 / 483.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001214/0.4463, allocations: 330.9 kB / 484.3 MB, free: 11.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x) * 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 (50): * Single equations (assignments): 41 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/0.4465, allocations: 138.1 kB / 484.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.4485, allocations: 1.278 MB / 485.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4485, allocations: 0 / 485.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.4491, allocations: 459.9 kB / 486.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.4496, allocations: 94.16 kB / 486.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.4514, allocations: 0.9333 MB / 487.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.452, allocations: 0.9634 MB / 488.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004737/0.4524, allocations: 112.9 kB / 488.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.4526, allocations: 35.44 kB / 488.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.4526, allocations: 0 / 488.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of Templates: time 0.01702/0.4696, allocations: 10.16 MB / 498.4 MB, free: 13.14 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_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_R/SinglePhaseTwoLevel_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches