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.0008982/0.0008983, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.292/1.292, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0006968/0.0006968, allocations: 86.36 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002819, allocations: 8 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1912, allocations: 47.59 MB / 377.1 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08847/0.2798, allocations: 85.92 MB / 463 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.28, allocations: 95.94 kB / 463.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03488/0.3149, allocations: 12.71 MB / 475.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3149, allocations: 0 / 475.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.659e-05/0.315, allocations: 16 kB / 475.8 MB, free: 13.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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002034/0.317, allocations: 1.085 MB / 476.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3171, allocations: 8.031 kB / 476.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.3173, allocations: 103.7 kB / 477 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/0.3183, allocations: 0.5522 MB / 477.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.3183, allocations: 50.38 kB / 477.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3184, allocations: 80.27 kB / 477.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.3198, allocations: 0.7868 MB / 478.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.3199, allocations: 192 / 478.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.3199, allocations: 31.94 kB / 478.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.32, allocations: 16 kB / 478.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3213, allocations: 0.6129 MB / 479.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/0.3252, allocations: 2.733 MB / 481.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.3264, allocations: 0.5873 MB / 482.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006064/0.3271, allocations: 330.4 kB / 482.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/0.3271, allocations: 16.53 kB / 482.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008475/0.328, allocations: 473.7 kB / 483.2 MB, free: 6.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 2.324e-06/0.328, allocations: 0 / 483.2 MB, free: 6.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=69): time 0.003141/0.3311, allocations: 1.265 MB / 484.5 MB, free: 4.723 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.3312, allocations: 115.4 kB / 484.6 MB, free: 4.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007029/0.332, allocations: 0.5342 MB / 485.1 MB, free: 4.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/0.332, allocations: 41.7 kB / 485.2 MB, free: 3.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.3323, allocations: 340.5 kB / 485.5 MB, free: 3.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.3325, allocations: 209 kB / 485.7 MB, free: 3.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.3326, allocations: 16 kB / 485.7 MB, free: 3.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3327, allocations: 386.7 kB / 486.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.3333, allocations: 253.8 kB / 486.4 MB, free: 2.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006444/0.334, allocations: 434.2 kB / 486.8 MB, free: 2.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3352, allocations: 0.6817 MB / 487.5 MB, free: 1.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.3353, allocations: 4 kB / 487.5 MB, free: 1.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001652/0.3369, allocations: 0.8795 MB / 488.4 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.3371, allocations: 246.1 kB / 488.6 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3371, allocations: 4 kB / 488.6 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/0.3375, allocations: 148.7 kB / 488.7 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.3381, allocations: 135.7 kB / 488.9 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.3407, allocations: 2.286 MB / 491.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.3413, allocations: 99.38 kB / 491.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.3413, allocations: 31.94 kB / 491.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.3413, allocations: 6.656 kB / 491.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00145/0.3428, allocations: 0.7772 MB / 492.1 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.3428, allocations: 4 kB / 492.1 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.3432, allocations: 141 kB / 492.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.3437, allocations: 127.8 kB / 492.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.3463, allocations: 2.289 MB / 494.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.3468, allocations: 83.55 kB / 494.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.3468, allocations: 31.98 kB / 494.7 MB, free: 9.918 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.000414/0.3472, allocations: 308.9 kB / 495 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.3474, allocations: 75.09 kB / 495.1 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.3489, allocations: 0.7801 MB / 495.9 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3489, allocations: 11.98 kB / 495.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.3489, allocations: 4 kB / 495.9 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.349, allocations: 3.984 kB / 495.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/0.3515, allocations: 1.592 MB / 497.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3516, allocations: 11.94 kB / 497.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.352, allocations: 87.88 kB / 497.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.3524, allocations: 144.7 kB / 497.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.3525, allocations: 15.98 kB / 497.8 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.3551, allocations: 2.275 MB / 0.4883 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3551, allocations: 0 / 0.4883 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.3572, allocations: 1.206 MB / 0.4895 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.3575, allocations: 208.1 kB / 0.4897 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.3576, allocations: 19.98 kB / 0.4897 GB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.3581, allocations: 51.97 kB / 0.4898 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.3582, allocations: 68.45 kB / 0.4898 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.3583, allocations: 27.92 kB / 0.4899 GB, free: 2.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00043/0.3587, allocations: 370.8 kB / 0.4902 GB, free: 2.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3587, allocations: 0 / 0.4902 GB, free: 2.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001176/0.3599, allocations: 363.1 kB / 0.4906 GB, free: 2.066 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.0001994/0.3601, allocations: 145.4 kB / 0.4907 GB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002504/0.3626, allocations: 1.511 MB / 0.4922 GB, free: 364 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3627, allocations: 4.312 kB / 0.4922 GB, free: 360 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1364/0.499, allocations: 0.5274 MB / 0.4927 GB, free: 105.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.5, allocations: 111.9 kB / 0.4928 GB, free: 105.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.503, allocations: 1.684 MB / 0.4944 GB, free: 105.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.5035, allocations: 0.9502 MB / 0.4954 GB, free: 104.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004359/0.5039, allocations: 98.88 kB / 0.4955 GB, free: 104.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.504, allocations: 45.73 kB / 0.4955 GB, free: 104.4 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5041, allocations: 1.125 kB / 0.4955 GB, free: 104.4 MB / 378.7 MB Notification: Performance of Templates: time 0.01605/0.5201, allocations: 10.57 MB / 0.5058 GB, free: 103.6 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/jenkins1/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