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.001668/0.001668, allocations: 204 kB / 18.11 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 226.5 MB / 245.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007732/0.0007732, allocations: 101 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003753, allocations: 4 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09805/0.3284, allocations: 88.67 MB / 498.1 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.3286, allocations: 92.44 kB / 498.2 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03601/0.3647, allocations: 13.37 MB / 0.4995 GB, free: 5.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3647, allocations: 0 / 0.4995 GB, free: 5.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.947e-05/0.3648, allocations: 20 kB / 0.4995 GB, free: 5.297 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002276/0.3671, allocations: 1.104 MB / 0.5006 GB, free: 4.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3671, allocations: 12.03 kB / 0.5006 GB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006527/0.3678, allocations: 159.8 kB / 0.5008 GB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009423/0.3687, allocations: 0.5792 MB / 0.5014 GB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.3688, allocations: 58.38 kB / 0.5014 GB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.3689, allocations: 72.38 kB / 0.5015 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.3703, allocations: 0.7985 MB / 0.5023 GB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.3703, allocations: 192 / 0.5023 GB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/0.3704, allocations: 35.88 kB / 0.5023 GB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.3704, allocations: 16 kB / 0.5023 GB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.3717, allocations: 0.6246 MB / 0.5029 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1726/0.5443, allocations: 2.771 MB / 0.5056 GB, free: 89.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.5457, allocations: 0.587 MB / 0.5062 GB, free: 89.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.5464, allocations: 335.3 kB / 0.5065 GB, free: 89.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.5465, allocations: 9.625 kB / 0.5065 GB, free: 89.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008708/0.5474, allocations: 473.8 kB / 0.507 GB, free: 89.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 4.128e-06/0.5474, allocations: 0 / 0.507 GB, free: 89.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=69): time 0.003237/0.5506, allocations: 1.259 MB / 0.5082 GB, free: 89.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.5507, allocations: 120.8 kB / 0.5083 GB, free: 89.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.5516, allocations: 0.5615 MB / 0.5089 GB, free: 88.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.564e-05/0.5517, allocations: 44.77 kB / 0.5089 GB, free: 88.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.552, allocations: 351.7 kB / 0.5093 GB, free: 88.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.5522, allocations: 216.8 kB / 0.5095 GB, free: 88.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.5523, allocations: 16.41 kB / 0.5095 GB, free: 88.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5524, allocations: 380.4 kB / 0.5098 GB, free: 88.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.553, allocations: 254.5 kB / 0.5101 GB, free: 88.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.5537, allocations: 436.1 kB / 0.5105 GB, free: 88.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.5549, allocations: 0.6848 MB / 0.5112 GB, free: 87.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.5549, allocations: 1.344 kB / 0.5112 GB, free: 87.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00148/0.5564, allocations: 0.8774 MB / 0.512 GB, free: 87.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.5565, allocations: 262.8 kB / 0.5123 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5565, allocations: 3.938 kB / 0.5123 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.557, allocations: 147.8 kB / 0.5124 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.5574, allocations: 137.6 kB / 0.5125 GB, free: 87.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.5596, allocations: 2.285 MB / 0.5148 GB, free: 85.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.5601, allocations: 90.5 kB / 0.5149 GB, free: 85.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.5602, allocations: 34.48 kB / 0.5149 GB, free: 85.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.5602, allocations: 6.344 kB / 0.5149 GB, free: 85.81 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/0.5614, allocations: 0.7804 MB / 0.5157 GB, free: 85.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.5614, allocations: 5.812 kB / 0.5157 GB, free: 85.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.5617, allocations: 145.5 kB / 0.5158 GB, free: 85.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.5622, allocations: 123 kB / 0.5159 GB, free: 85.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.564, allocations: 2.296 MB / 0.5182 GB, free: 83.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.5646, allocations: 77.58 kB / 0.5182 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.5646, allocations: 27.5 kB / 0.5183 GB, free: 83.56 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 () * 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.0003624/0.565, allocations: 317.3 kB / 0.5186 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5651, allocations: 81.39 kB / 0.5187 GB, free: 83.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.5664, allocations: 0.7788 MB / 0.5194 GB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5664, allocations: 8.219 kB / 0.5194 GB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.5664, allocations: 0 / 0.5194 GB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5665, allocations: 3.516 kB / 0.5194 GB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.5685, allocations: 1.605 MB / 0.521 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5686, allocations: 0 / 0.521 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.5689, allocations: 98.34 kB / 0.5211 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.5693, allocations: 153.2 kB / 0.5212 GB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.5693, allocations: 14.5 kB / 0.5212 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.5713, allocations: 2.276 MB / 0.5235 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5713, allocations: 4.453 kB / 0.5235 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.5731, allocations: 1.192 MB / 0.5246 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.5734, allocations: 223.5 kB / 0.5248 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.5735, allocations: 13.75 kB / 0.5249 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.5739, allocations: 55.73 kB / 0.5249 GB, free: 79.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.5741, allocations: 72.22 kB / 0.525 GB, free: 79.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.5741, allocations: 26.16 kB / 0.525 GB, free: 79.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003693/0.5745, allocations: 395.9 kB / 0.5254 GB, free: 79.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5745, allocations: 0 / 0.5254 GB, free: 79.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001123/0.5756, allocations: 373.3 kB / 0.5257 GB, free: 79.2 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_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) * 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.000226/0.5759, allocations: 156.8 kB / 0.5259 GB, free: 79.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.5783, allocations: 1.524 MB / 0.5274 GB, free: 78.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5783, allocations: 0 / 0.5274 GB, free: 78.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007604/0.5791, allocations: 0.5336 MB / 0.5279 GB, free: 78.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.5798, allocations: 123.7 kB / 0.528 GB, free: 78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.5822, allocations: 1.724 MB / 0.5297 GB, free: 76.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.5825, allocations: 0.9528 MB / 0.5306 GB, free: 75.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.583, allocations: 103.3 kB / 0.5307 GB, free: 75.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.5831, allocations: 50.67 kB / 0.5308 GB, free: 75.85 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5831, allocations: 0 / 0.5308 GB, free: 75.85 MB / 378.7 MB Notification: Performance of Templates: time 0.01533/0.5984, allocations: 10.71 MB / 0.5412 GB, free: 67.75 MB / 378.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/jenkins1/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