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_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.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 178.6 kB / 8.697 MB, free: 380 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.468/1.468, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.0007868/0.0007868, allocations: 78.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.953e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0816/0.08164, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.3983, allocations: 86.95 MB / 450 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.3985, allocations: 91.8 kB / 450.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03281/0.4314, allocations: 12.84 MB / 463 MB, free: 14.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4314, allocations: 0 / 463 MB, free: 14.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.875e-05/0.4315, allocations: 12 kB / 463 MB, free: 14.04 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00144/0.4329, allocations: 0.839 MB / 463.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.433, allocations: 8.031 kB / 463.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.4331, allocations: 86.95 kB / 463.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.4339, allocations: 477.1 kB / 464.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.4339, allocations: 23.94 kB / 464.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/0.434, allocations: 39.98 kB / 464.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006991/0.4347, allocations: 391.1 kB / 464.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/0.4356, allocations: 0.5291 MB / 465.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.4356, allocations: 3.906 kB / 465.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.4357, allocations: 3.75 kB / 465.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.4357, allocations: 19.95 kB / 465.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.4388, allocations: 2.165 MB / 467.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.4396, allocations: 436.9 kB / 468 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.44, allocations: 221.8 kB / 468.2 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.4401, allocations: 4.469 kB / 468.2 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.4405, allocations: 297.6 kB / 468.5 MB, free: 9.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.655e-06/0.4405, allocations: 0 / 468.5 MB, free: 9.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006655/0.4412, allocations: 387 kB / 468.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.4413, allocations: 143.8 kB / 469 MB, free: 8.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.4417, allocations: 353.2 kB / 469.3 MB, free: 8.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.4417, allocations: 37.38 kB / 469.4 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.4419, allocations: 315 kB / 469.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.442, allocations: 131.8 kB / 469.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.4421, allocations: 0 / 469.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4422, allocations: 362.5 kB / 470.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.4424, allocations: 134.4 kB / 470.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.4427, allocations: 290.5 kB / 470.6 MB, free: 7.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.443, allocations: 160.8 kB / 470.7 MB, free: 7.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.443, allocations: 8 kB / 470.8 MB, free: 7.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007113/0.4437, allocations: 495.7 kB / 471.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006938/0.4444, allocations: 1.66 MB / 472.9 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4444, allocations: 4 kB / 472.9 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.4447, allocations: 92.02 kB / 473 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.4451, allocations: 91.08 kB / 473.1 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.4468, allocations: 1.683 MB / 474.8 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.4472, allocations: 79.64 kB / 474.8 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.4473, allocations: 26.94 kB / 474.9 MB, free: 3.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.4473, allocations: 4 kB / 474.9 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006267/0.4479, allocations: 418.5 kB / 475.3 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4479, allocations: 4 kB / 475.3 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.4481, allocations: 76.27 kB / 475.4 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.4484, allocations: 90.45 kB / 475.5 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.4499, allocations: 1.692 MB / 477.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.4502, allocations: 63.7 kB / 477.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.4503, allocations: 19.69 kB / 477.2 MB, free: 1.363 MB / 346.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 (61): * Single equations (assignments): 60 * 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.0001677/0.4505, allocations: 134 kB / 477.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.4505, allocations: 47.44 kB / 477.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.4507, allocations: 55.58 kB / 477.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4507, allocations: 4 kB / 477.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4507, allocations: 0 / 477.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4507, allocations: 3.953 kB / 477.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.4522, allocations: 1.122 MB / 478.6 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4522, allocations: 0 / 478.6 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.4525, allocations: 55.23 kB / 478.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.4526, allocations: 71.69 kB / 478.7 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.4527, allocations: 7.422 kB / 478.7 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.454, allocations: 1.588 MB / 480.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4541, allocations: 0 / 480.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009579/0.455, allocations: 0.7167 MB / 481 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.4552, allocations: 160.9 kB / 481.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.4553, allocations: 15.41 kB / 481.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.4556, allocations: 35.97 kB / 481.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.4558, allocations: 52.25 kB / 481.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.4558, allocations: 14.98 kB / 481.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002767/0.4561, allocations: 270.3 kB / 481.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4561, allocations: 0 / 481.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000884/0.457, allocations: 259.1 kB / 481.8 MB, free: 13.34 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 (39): * Single equations (assignments): 33 * 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.0001857/0.4572, allocations: 124.9 kB / 481.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.4583, allocations: 0.8577 MB / 482.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4583, allocations: 80 / 482.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.4587, allocations: 325.9 kB / 483.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4591, allocations: 67.7 kB / 483.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.4606, allocations: 0.8019 MB / 484 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.4611, allocations: 0.9249 MB / 484.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.4615, allocations: 104.3 kB / 485 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.4616, allocations: 31.44 kB / 485 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4617, allocations: 0 / 485 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.01333/0.475, allocations: 6.953 MB / 492 MB, free: 3.484 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_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_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches