Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009483/0.0009483, allocations: 203.9 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 245.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007457/0.0007457, allocations: 104.2 kB / 297.4 MB, free: 6.855 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002095/0.0002095, allocations: 4 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1801, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09139/0.2715, allocations: 89.81 MB / 498.5 MB, free: 1.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.2718, allocations: 89.69 kB / 498.6 MB, free: 1.684 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02815/0.3, allocations: 11.59 MB / 0.4982 GB, free: 6.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3, allocations: 0 / 0.4982 GB, free: 6.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.685e-05/0.3, allocations: 16 kB / 0.4982 GB, free: 6.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001523/0.3016, allocations: 0.9662 MB / 0.4992 GB, free: 4.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3016, allocations: 8.031 kB / 0.4992 GB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.3019, allocations: 99.89 kB / 0.4993 GB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.3026, allocations: 0.5067 MB / 0.4998 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.3026, allocations: 53.69 kB / 0.4998 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.3027, allocations: 64.38 kB / 0.4999 GB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.3039, allocations: 0.7307 MB / 0.5006 GB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3039, allocations: 192 / 0.5006 GB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.304, allocations: 27.94 kB / 0.5006 GB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.304, allocations: 20 kB / 0.5006 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.305, allocations: 0.5517 MB / 0.5012 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.3085, allocations: 2.69 MB / 0.5038 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1457/0.4543, allocations: 0.5342 MB / 0.5043 GB, free: 91.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/0.4549, allocations: 332.1 kB / 0.5046 GB, free: 91.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.455, allocations: 6.625 kB / 0.5046 GB, free: 91.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/0.4556, allocations: 364.1 kB / 0.505 GB, free: 91.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/0.4557, allocations: 0 / 0.505 GB, free: 91.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002593/0.4583, allocations: 1.026 MB / 0.506 GB, free: 91.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4583, allocations: 145.4 kB / 0.5061 GB, free: 91.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.459, allocations: 0.5066 MB / 0.5066 GB, free: 91.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.459, allocations: 43.53 kB / 0.5067 GB, free: 91.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.4592, allocations: 326.9 kB / 0.507 GB, free: 91.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.4594, allocations: 167.5 kB / 0.5071 GB, free: 91.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4594, allocations: 14.19 kB / 0.5072 GB, free: 91.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.4595, allocations: 370.5 kB / 0.5075 GB, free: 90.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.4599, allocations: 208.2 kB / 0.5077 GB, free: 90.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.4604, allocations: 368.2 kB / 0.5081 GB, free: 90.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.4611, allocations: 0.5104 MB / 0.5086 GB, free: 90.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4611, allocations: 1.312 kB / 0.5086 GB, free: 90.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001372/0.4625, allocations: 0.711 MB / 0.5093 GB, free: 90.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.4626, allocations: 210.2 kB / 0.5095 GB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.4626, allocations: 5.844 kB / 0.5095 GB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/0.4631, allocations: 155.1 kB / 0.5096 GB, free: 90.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.4635, allocations: 89.83 kB / 0.5097 GB, free: 90.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.4657, allocations: 2.338 MB / 0.512 GB, free: 88.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.4661, allocations: 93.59 kB / 0.5121 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.4662, allocations: 21.94 kB / 0.5121 GB, free: 88.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.553e-06/0.4662, allocations: 10.64 kB / 0.5121 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008558/0.467, allocations: 0.5977 MB / 0.5127 GB, free: 88.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4671, allocations: 7.812 kB / 0.5127 GB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.4674, allocations: 146.5 kB / 0.5128 GB, free: 88.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.4677, allocations: 83.81 kB / 0.5129 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.4697, allocations: 2.329 MB / 0.5152 GB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.4701, allocations: 73.8 kB / 0.5153 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.4701, allocations: 30.56 kB / 0.5153 GB, free: 86.35 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: 27 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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,rectifier.diode_n1.off,rectifier.diode_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 () * Number of clocked 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.0003474/0.4705, allocations: 319.1 kB / 0.5156 GB, free: 86.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.4705, allocations: 61.64 kB / 0.5156 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.4706, allocations: 64.53 kB / 0.5157 GB, free: 86.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4707, allocations: 7.484 kB / 0.5157 GB, free: 86.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4707, allocations: 3.844 kB / 0.5157 GB, free: 86.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4707, allocations: 6.938 kB / 0.5157 GB, free: 86.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.4723, allocations: 1.41 MB / 0.5171 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4724, allocations: 0 / 0.5171 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.4725, allocations: 42.61 kB / 0.5171 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/0.4729, allocations: 156 kB / 0.5173 GB, free: 85.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.4729, allocations: 11.91 kB / 0.5173 GB, free: 85.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.4749, allocations: 2.315 MB / 0.5196 GB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4749, allocations: 3.938 kB / 0.5196 GB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.4761, allocations: 0.9439 MB / 0.5205 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.4763, allocations: 191.2 kB / 0.5207 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.4764, allocations: 13.78 kB / 0.5207 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.4767, allocations: 45.84 kB / 0.5207 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4768, allocations: 66.16 kB / 0.5208 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.4769, allocations: 21.05 kB / 0.5208 GB, free: 82.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000362/0.4772, allocations: 356.4 kB / 0.5211 GB, free: 82.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4772, allocations: 0 / 0.5211 GB, free: 82.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008995/0.4781, allocations: 342 kB / 0.5215 GB, free: 82.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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_p2.off,rectifier.thyristor_p1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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.0001533/0.4783, allocations: 143.1 kB / 0.5216 GB, free: 82.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.4799, allocations: 1.213 MB / 0.5228 GB, free: 81.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4799, allocations: 3.438 kB / 0.5228 GB, free: 81.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.4804, allocations: 477.4 kB / 0.5233 GB, free: 81.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.481, allocations: 115.1 kB / 0.5234 GB, free: 81.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.4828, allocations: 1.514 MB / 0.5248 GB, free: 80.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.4831, allocations: 0.9419 MB / 0.5258 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.4832, allocations: 43.78 kB / 0.5258 GB, free: 79.73 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4832, allocations: 0 / 0.5258 GB, free: 79.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01065/0.4939, allocations: 11.38 MB / 0.5369 GB, free: 72.1 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches