Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 94.62 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.228e-05, allocations: 3.984 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.332, allocations: 47.56 MB / 362.4 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.4772, allocations: 86.88 MB / 449.2 MB, free: 15.41 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004523/0.4777, allocations: 91.03 kB / 449.3 MB, free: 15.32 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07892/0.5567, allocations: 13.48 MB / 462.8 MB, free: 1.855 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5567, allocations: 4 kB / 462.8 MB, free: 1.852 MB / 347.1 MB Notification: Performance of Transformations before backend: time 6.702e-05/0.5568, allocations: 20 kB / 462.8 MB, free: 1.832 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002309/0.5591, allocations: 0.8559 MB / 463.7 MB, free: 0.918 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5592, allocations: 15.95 kB / 463.7 MB, free: 0.9023 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.5594, allocations: 83.06 kB / 463.8 MB, free: 0.8203 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.5606, allocations: 496.1 kB / 464.3 MB, free: 300 kB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.5607, allocations: 31.98 kB / 464.3 MB, free: 268 kB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.5608, allocations: 36 kB / 464.3 MB, free: 232 kB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/0.5622, allocations: 450.5 kB / 464.8 MB, free: 15.79 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5638, allocations: 0.5746 MB / 465.3 MB, free: 15.19 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.5638, allocations: 7.938 kB / 465.4 MB, free: 15.18 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.5639, allocations: 8 kB / 465.4 MB, free: 15.17 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.564, allocations: 12.66 kB / 465.4 MB, free: 15.16 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.5699, allocations: 2.475 MB / 467.8 MB, free: 12.59 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.5716, allocations: 0.5341 MB / 468.4 MB, free: 12.04 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.5722, allocations: 243 kB / 468.6 MB, free: 11.8 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.5723, allocations: 16.42 kB / 468.6 MB, free: 11.78 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000791/0.5731, allocations: 329.2 kB / 469 MB, free: 11.44 MB / 363.1 MB Notification: Performance of pre-optimization done (n=55): time 2.915e-06/0.5731, allocations: 0 / 469 MB, free: 11.44 MB / 363.1 MB Notification: Performance of matching and sorting (n=55): time 0.001433/0.5746, allocations: 475.4 kB / 469.4 MB, free: 10.97 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.5747, allocations: 115.4 kB / 469.5 MB, free: 10.83 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.5754, allocations: 365.1 kB / 469.9 MB, free: 10.47 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-05/0.5755, allocations: 33.69 kB / 469.9 MB, free: 10.43 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.5758, allocations: 350.7 kB / 470.3 MB, free: 10.09 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.5761, allocations: 157.7 kB / 470.4 MB, free: 9.93 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.5761, allocations: 4 kB / 470.4 MB, free: 9.926 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5763, allocations: 334.8 kB / 470.7 MB, free: 9.59 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.5768, allocations: 165.5 kB / 470.9 MB, free: 9.43 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/0.5774, allocations: 323.9 kB / 471.2 MB, free: 9.047 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.578, allocations: 186.1 kB / 471.4 MB, free: 8.867 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.578, allocations: 0 / 471.4 MB, free: 8.867 MB / 363.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001514/0.5795, allocations: 0.5543 MB / 472 MB, free: 8.305 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007667/0.5803, allocations: 1.576 MB / 473.5 MB, free: 6.605 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.5803, allocations: 11.94 kB / 473.6 MB, free: 6.594 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/0.5811, allocations: 148.7 kB / 473.7 MB, free: 6.445 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.5818, allocations: 91.83 kB / 473.8 MB, free: 6.355 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.5861, allocations: 2.275 MB / 476.1 MB, free: 3.965 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.587, allocations: 83.48 kB / 476.1 MB, free: 3.883 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.5871, allocations: 24 kB / 476.2 MB, free: 3.859 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.5871, allocations: 0 / 476.2 MB, free: 3.859 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/0.5885, allocations: 0.4983 MB / 476.7 MB, free: 3.359 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5885, allocations: 8.062 kB / 476.7 MB, free: 3.352 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.5891, allocations: 144.7 kB / 476.8 MB, free: 3.207 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.5897, allocations: 79.84 kB / 476.9 MB, free: 3.129 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.5938, allocations: 2.256 MB / 479.1 MB, free: 0.7656 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.5944, allocations: 51.7 kB / 479.2 MB, free: 0.7148 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.5945, allocations: 20 kB / 479.2 MB, free: 0.6953 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002784/0.5948, allocations: 158.2 kB / 479.4 MB, free: 0.5352 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.5949, allocations: 51.34 kB / 479.4 MB, free: 496 kB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.5952, allocations: 57.02 kB / 479.5 MB, free: 436 kB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.5952, allocations: 4 kB / 479.5 MB, free: 432 kB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.5952, allocations: 3.984 kB / 479.5 MB, free: 428 kB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5952, allocations: 0 / 479.5 MB, free: 428 kB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.5981, allocations: 1.202 MB / 480.7 MB, free: 15.16 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.5982, allocations: 4 kB / 480.7 MB, free: 15.16 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.5986, allocations: 43.91 kB / 480.7 MB, free: 15.12 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006474/0.5993, allocations: 132.8 kB / 480.9 MB, free: 14.98 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.5993, allocations: 3.984 kB / 480.9 MB, free: 14.98 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.6032, allocations: 2.157 MB / 483 MB, free: 12.71 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.6033, allocations: 7.938 kB / 483 MB, free: 12.7 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.6055, allocations: 0.8351 MB / 483.9 MB, free: 11.85 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.6058, allocations: 172.4 kB / 484 MB, free: 11.66 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.606, allocations: 7.984 kB / 484 MB, free: 11.65 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/0.6066, allocations: 31.97 kB / 484.1 MB, free: 11.62 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.6069, allocations: 80.41 kB / 484.2 MB, free: 11.54 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.6069, allocations: 19.98 kB / 484.2 MB, free: 11.52 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0004998/0.6074, allocations: 270.9 kB / 484.4 MB, free: 11.26 MB / 379.1 MB Notification: Performance of sort global known variables: time 6.392e-06/0.6075, allocations: 0 / 484.4 MB, free: 11.26 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001513/0.609, allocations: 299 kB / 484.7 MB, free: 10.96 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002916/0.6093, allocations: 127.7 kB / 484.9 MB, free: 10.83 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.612, allocations: 1.066 MB / 485.9 MB, free: 9.75 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6121, allocations: 4 kB / 485.9 MB, free: 9.746 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.613, allocations: 416.3 kB / 486.3 MB, free: 9.332 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.6139, allocations: 84.3 kB / 486.4 MB, free: 9.254 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.6167, allocations: 0.8667 MB / 487.3 MB, free: 8.352 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/0.6175, allocations: 0.9386 MB / 488.2 MB, free: 7.379 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.6177, allocations: 43.42 kB / 488.3 MB, free: 7.336 MB / 379.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6178, allocations: 4 kB / 488.3 MB, free: 7.332 MB / 379.1 MB Notification: Performance of Templates: time 0.02235/0.6401, allocations: 10.18 MB / 498.4 MB, free: 13.17 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches