Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.476/1.476, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008002/0.0008003, allocations: 98.56 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.689e-05, allocations: 8 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08044/0.08048, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.41, allocations: 87.83 MB / 457.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4103, allocations: 82.33 kB / 458 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03539/0.4457, allocations: 13.36 MB / 471.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4457, allocations: 0 / 471.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.906e-05/0.4458, allocations: 27.94 kB / 471.3 MB, free: 9.504 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00154/0.4474, allocations: 0.873 MB / 472.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4474, allocations: 12.03 kB / 472.2 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.4476, allocations: 87.36 kB / 472.3 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.4484, allocations: 486 kB / 472.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.4485, allocations: 53.3 kB / 472.8 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.4486, allocations: 67.84 kB / 472.9 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.4497, allocations: 0.6263 MB / 473.5 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4497, allocations: 4 kB / 473.5 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.4498, allocations: 24 kB / 473.6 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.4498, allocations: 12 kB / 473.6 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.4506, allocations: 453.1 kB / 474 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.4544, allocations: 2.333 MB / 476.3 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.4555, allocations: 0.5079 MB / 476.9 MB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.4561, allocations: 257.5 kB / 477.1 MB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.4561, allocations: 4.922 kB / 477.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005655/0.4567, allocations: 332.5 kB / 477.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.487e-06/0.4567, allocations: 0 / 477.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008957/0.4576, allocations: 456.2 kB / 477.9 MB, free: 2.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.4577, allocations: 141 kB / 478 MB, free: 2.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.4583, allocations: 395 kB / 478.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.4584, allocations: 45.69 kB / 478.4 MB, free: 2.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.4587, allocations: 312.4 kB / 478.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.4588, allocations: 145.9 kB / 478.9 MB, free: 1.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.4589, allocations: 12 kB / 478.9 MB, free: 1.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4591, allocations: 374.7 kB / 479.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.4593, allocations: 157.1 kB / 479.4 MB, free: 1.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.4597, allocations: 312.6 kB / 479.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.46, allocations: 173.6 kB / 479.9 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.46, allocations: 0 / 479.9 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009611/0.461, allocations: 0.5584 MB / 480.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008109/0.4618, allocations: 1.657 MB / 482.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.4618, allocations: 4 kB / 482.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/0.4622, allocations: 96.72 kB / 482.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.4626, allocations: 107.8 kB / 482.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.4644, allocations: 1.726 MB / 484 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.465, allocations: 87.55 kB / 484.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.4651, allocations: 24 kB / 484.2 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.4651, allocations: 4 kB / 484.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008178/0.466, allocations: 491 kB / 484.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.466, allocations: 8 kB / 484.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.4662, allocations: 76.88 kB / 484.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.4665, allocations: 100.2 kB / 484.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.4682, allocations: 1.733 MB / 486.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.4686, allocations: 75.5 kB / 486.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.4687, allocations: 23.94 kB / 486.7 MB, free: 9.363 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.4689, allocations: 152.1 kB / 486.8 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.469, allocations: 63.23 kB / 486.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.4692, allocations: 57.23 kB / 486.9 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4692, allocations: 8 kB / 486.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4692, allocations: 3.984 kB / 486.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4692, allocations: 0 / 486.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.471, allocations: 1.3 MB / 488.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.471, allocations: 0 / 488.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.4713, allocations: 71.89 kB / 488.3 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/0.4716, allocations: 68.86 kB / 488.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.4716, allocations: 20.05 kB / 488.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.4731, allocations: 1.641 MB / 490 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4731, allocations: 0 / 490 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.4742, allocations: 0.7969 MB / 490.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.4745, allocations: 176.3 kB / 491 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.4745, allocations: 16 kB / 491 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.4749, allocations: 51.95 kB / 491.1 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.4751, allocations: 60.34 kB / 491.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.4751, allocations: 12 kB / 491.1 MB, free: 4.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003613/0.4755, allocations: 309.2 kB / 491.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.384e-06/0.4755, allocations: 0 / 491.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008866/0.4764, allocations: 291.1 kB / 491.7 MB, free: 4.043 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001877/0.4766, allocations: 134.1 kB / 491.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.478, allocations: 0.9578 MB / 492.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.478, allocations: 0 / 492.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.4784, allocations: 353 kB / 493.2 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.4789, allocations: 86.03 kB / 493.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4805, allocations: 0.8898 MB / 494.1 MB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.481, allocations: 0.9347 MB / 495.1 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.4815, allocations: 112.5 kB / 495.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.4816, allocations: 31.44 kB / 495.2 MB, free: 484 kB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4816, allocations: 0 / 495.2 MB, free: 484 kB / 362.7 MB Notification: Performance of Templates: time 0.01405/0.4956, allocations: 8.144 MB / 0.4915 GB, free: 8.32 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches