Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001615/0.001615, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.987/1.987, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001128/0.001128, allocations: 92.38 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3334, allocations: 47.56 MB / 374.5 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.4753, allocations: 87.47 MB / 462 MB, free: 9.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.4757, allocations: 91.94 kB / 462.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05579/0.5315, allocations: 12.99 MB / 475.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5315, allocations: 0 / 475.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.641e-05/0.5316, allocations: 12 kB / 475.1 MB, free: 12.13 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002516/0.5341, allocations: 0.9032 MB / 476 MB, free: 11.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5342, allocations: 12.03 kB / 476 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.5345, allocations: 83.02 kB / 476.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5356, allocations: 482 kB / 476.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.5357, allocations: 45.31 kB / 476.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.5358, allocations: 59.98 kB / 476.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.5376, allocations: 0.634 MB / 477.3 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.5377, allocations: 11.89 kB / 477.3 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/0.5378, allocations: 24 kB / 477.3 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.5378, allocations: 16 kB / 477.4 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.5394, allocations: 492.9 kB / 477.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005559/0.545, allocations: 2.291 MB / 480.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.5466, allocations: 480.1 kB / 480.6 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.5467, allocations: 7.938 kB / 480.6 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008102/0.5475, allocations: 304.2 kB / 480.9 MB, free: 6.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.687e-06/0.5476, allocations: 7.938 kB / 480.9 MB, free: 6.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.002837/0.5504, allocations: 0.7286 MB / 481.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.5506, allocations: 118.8 kB / 481.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5516, allocations: 428.9 kB / 482.2 MB, free: 4.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.02e-05/0.5517, allocations: 41.7 kB / 482.2 MB, free: 4.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.552, allocations: 343.4 kB / 482.6 MB, free: 4.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.5522, allocations: 138.1 kB / 482.7 MB, free: 4.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.5523, allocations: 8 kB / 482.7 MB, free: 4.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5525, allocations: 342.8 kB / 483 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.5531, allocations: 177 kB / 483.2 MB, free: 3.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/0.5539, allocations: 331.2 kB / 483.5 MB, free: 3.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/0.5546, allocations: 196.7 kB / 483.7 MB, free: 3.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/0.5546, allocations: 0 / 483.7 MB, free: 3.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001713/0.5563, allocations: 0.571 MB / 484.3 MB, free: 2.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000699/0.557, allocations: 1.568 MB / 485.9 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.5571, allocations: 8 kB / 485.9 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/0.5575, allocations: 84.75 kB / 486 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.5582, allocations: 91.83 kB / 486 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.561, allocations: 1.803 MB / 487.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.5619, allocations: 87.61 kB / 487.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.562, allocations: 20 kB / 488 MB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.562, allocations: 4 kB / 488 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00151/0.5635, allocations: 0.4993 MB / 488.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5636, allocations: 8 kB / 488.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.5639, allocations: 80.81 kB / 488.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.5645, allocations: 75.84 kB / 488.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.5671, allocations: 1.785 MB / 490.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.5677, allocations: 71.66 kB / 490.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.5678, allocations: 24.5 kB / 490.5 MB, free: 11.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005727/0.5684, allocations: 305.5 kB / 490.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.5686, allocations: 55.3 kB / 490.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.5688, allocations: 61.09 kB / 490.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5688, allocations: 11.94 kB / 490.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5688, allocations: 0 / 490.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5688, allocations: 0 / 490.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.5717, allocations: 1.167 MB / 492.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5717, allocations: 0 / 492.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.5722, allocations: 47.91 kB / 492.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.5726, allocations: 72.81 kB / 492.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.5726, allocations: 8 kB / 492.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.5753, allocations: 1.799 MB / 494 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5753, allocations: 0 / 494 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.5775, allocations: 0.7548 MB / 494.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.5778, allocations: 168.5 kB / 494.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.578, allocations: 19.94 kB / 494.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/0.5786, allocations: 35.97 kB / 495 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.5788, allocations: 51.92 kB / 495 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.5788, allocations: 23.98 kB / 495.1 MB, free: 7.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006893/0.5795, allocations: 323.1 kB / 495.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5796, allocations: 0 / 495.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001372/0.5809, allocations: 291.2 kB / 495.7 MB, free: 6.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000273/0.5812, allocations: 137.4 kB / 495.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.5839, allocations: 0.9726 MB / 496.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.584, allocations: 4.125 kB / 496.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.5848, allocations: 370.2 kB / 497.1 MB, free: 5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.5856, allocations: 88.17 kB / 497.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.5888, allocations: 1.391 MB / 498.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.5895, allocations: 0.9144 MB / 499.5 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.5898, allocations: 47.36 kB / 499.6 MB, free: 2.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5898, allocations: 0 / 499.6 MB, free: 2.5 MB / 378.7 MB Notification: Performance of Templates: time 0.2883/0.8781, allocations: 9.568 MB / 0.4972 GB, free: 104.2 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches