Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 174.3 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008678, allocations: 93.86 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.809e-05, allocations: 4 kB / 337.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 50.41 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3323/0.4369, allocations: 86.15 MB / 473.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4372, allocations: 79.95 kB / 473.7 MB, free: 8.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03413/0.4713, allocations: 12.85 MB / 486.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4714, allocations: 0 / 486.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.656e-05/0.4715, allocations: 19.98 kB / 486.6 MB, free: 11.73 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.00196/0.4734, allocations: 0.9886 MB / 487.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4735, allocations: 8.031 kB / 487.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.4737, allocations: 106.7 kB / 487.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007992/0.4745, allocations: 0.5317 MB / 488.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.4745, allocations: 27.98 kB / 488.2 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.443e-05/0.4746, allocations: 48 kB / 488.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008516/0.4755, allocations: 463.9 kB / 488.7 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4765, allocations: 0.6341 MB / 489.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4766, allocations: 0 / 489.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.4766, allocations: 3.984 kB / 489.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.4767, allocations: 20 kB / 489.4 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/0.4808, allocations: 2.617 MB / 492 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.4818, allocations: 496.6 kB / 492.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.4822, allocations: 270.5 kB / 492.8 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.953e-05/0.4822, allocations: 12.55 kB / 492.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.4829, allocations: 392.6 kB / 493.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 3.256e-06/0.4829, allocations: 0 / 493.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=69): time 0.001238/0.4842, allocations: 0.5578 MB / 493.7 MB, free: 4.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.4843, allocations: 123.4 kB / 493.8 MB, free: 4.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/0.4848, allocations: 385.3 kB / 494.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.4848, allocations: 29.7 kB / 494.2 MB, free: 3.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.4851, allocations: 352.2 kB / 494.6 MB, free: 3.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.4853, allocations: 197.1 kB / 494.8 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.4853, allocations: 4 kB / 494.8 MB, free: 3.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4855, allocations: 374.8 kB / 495.1 MB, free: 2.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.4858, allocations: 177.5 kB / 495.3 MB, free: 2.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.4863, allocations: 354.3 kB / 495.7 MB, free: 2.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.4866, allocations: 210.1 kB / 495.9 MB, free: 2.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.4867, allocations: 4 kB / 495.9 MB, free: 2.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001066/0.4877, allocations: 0.6589 MB / 496.5 MB, free: 1.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008121/0.4885, allocations: 1.858 MB / 498.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4886, allocations: 4 kB / 498.4 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.489, allocations: 144.6 kB / 498.5 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.4896, allocations: 135.8 kB / 498.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.4921, allocations: 2.204 MB / 0.4891 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.4927, allocations: 71.5 kB / 0.4892 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.4928, allocations: 28 kB / 0.4892 GB, free: 12.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.4928, allocations: 4 kB / 0.4892 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009863/0.4938, allocations: 0.5683 MB / 0.4898 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4938, allocations: 8 kB / 0.4898 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.4941, allocations: 141 kB / 0.4899 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.4946, allocations: 136.2 kB / 0.4901 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.4971, allocations: 2.209 MB / 0.4922 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.4976, allocations: 63.56 kB / 0.4923 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.4977, allocations: 28 kB / 0.4923 GB, free: 9.391 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.0002443/0.4979, allocations: 142 kB / 0.4924 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.498, allocations: 71.14 kB / 0.4925 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.4991, allocations: 0.5964 MB / 0.4931 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.4991, allocations: 8 kB / 0.4931 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.4992, allocations: 0 / 0.4931 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4992, allocations: 4.078 kB / 0.4931 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.5011, allocations: 1.339 MB / 0.4944 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.5011, allocations: 3.984 kB / 0.4944 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.5016, allocations: 91.88 kB / 0.4945 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/0.5019, allocations: 136.6 kB / 0.4946 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.502, allocations: 19.98 kB / 0.4946 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.5043, allocations: 2.184 MB / 0.4968 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.5044, allocations: 7.953 kB / 0.4968 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.5058, allocations: 0.9687 MB / 0.4977 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.506, allocations: 204.2 kB / 0.4979 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.5061, allocations: 4 kB / 0.4979 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.5065, allocations: 43.95 kB / 0.498 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.5067, allocations: 72.45 kB / 0.498 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.5068, allocations: 19.95 kB / 0.4981 GB, free: 3.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003242/0.5071, allocations: 291 kB / 0.4983 GB, free: 2.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5071, allocations: 0 / 0.4983 GB, free: 2.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001211/0.5083, allocations: 342.8 kB / 0.4987 GB, free: 2.645 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) * 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.0002128/0.5085, allocations: 147.6 kB / 0.4988 GB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.5104, allocations: 1.271 MB / 0.5 GB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5104, allocations: 0 / 0.5 GB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.511, allocations: 464.5 kB / 0.5005 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.5115, allocations: 76.84 kB / 0.5006 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.5134, allocations: 1.009 MB / 0.5015 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.514, allocations: 0.9673 MB / 0.5025 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004653/0.5145, allocations: 112.7 kB / 0.5026 GB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5146, allocations: 47.42 kB / 0.5026 GB, free: 14.45 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5146, allocations: 3.938 kB / 0.5026 GB, free: 14.45 MB / 394.7 MB Notification: Performance of Templates: time 0.01684/0.5315, allocations: 9.998 MB / 0.5124 GB, free: 4.57 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches