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.HalfControlledBridge2Pulse.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.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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002205/0.002205, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.982/1.982, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001087/0.001087, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.121e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09478, allocations: 47.57 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.5144, allocations: 87.64 MB / 456.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5148, allocations: 83.8 kB / 456.8 MB, free: 5.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04529/0.5601, allocations: 10.9 MB / 467.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5602, allocations: 4 kB / 467.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.265e-05/0.5602, allocations: 16 kB / 467.7 MB, free: 12.36 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002358/0.5626, allocations: 0.864 MB / 468.6 MB, free: 11.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.5627, allocations: 16.03 kB / 468.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.563, allocations: 79.06 kB / 468.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.5641, allocations: 493.4 kB / 469.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.5642, allocations: 52.31 kB / 469.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.5644, allocations: 71.89 kB / 469.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.5662, allocations: 0.6514 MB / 470 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.5663, allocations: 4 kB / 470 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.5664, allocations: 27.98 kB / 470 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.5664, allocations: 16 kB / 470 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.5678, allocations: 481.1 kB / 470.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006075/0.5739, allocations: 2.596 MB / 473.1 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.5757, allocations: 0.5571 MB / 473.6 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009004/0.5767, allocations: 310.4 kB / 473.9 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.848e-05/0.5767, allocations: 12.44 kB / 473.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00082/0.5776, allocations: 325.8 kB / 474.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.807e-06/0.5776, allocations: 0 / 474.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.001538/0.5791, allocations: 0.5148 MB / 474.8 MB, free: 5.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.5793, allocations: 120 kB / 474.9 MB, free: 5.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008538/0.5801, allocations: 427.7 kB / 475.3 MB, free: 4.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.5803, allocations: 41.7 kB / 475.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.5806, allocations: 350.8 kB / 475.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.5808, allocations: 165.8 kB / 475.9 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.5809, allocations: 8 kB / 475.9 MB, free: 4.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.581, allocations: 334.8 kB / 476.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.5815, allocations: 177.5 kB / 476.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.5822, allocations: 329.4 kB / 476.7 MB, free: 3.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.5828, allocations: 191.2 kB / 476.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5828, allocations: 4 kB / 476.9 MB, free: 2.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001589/0.5844, allocations: 0.6047 MB / 477.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006022/0.585, allocations: 1.574 MB / 479.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.585, allocations: 4 kB / 479.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/0.5858, allocations: 148.7 kB / 479.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.5865, allocations: 87.83 kB / 479.3 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.5907, allocations: 2.316 MB / 481.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008978/0.5916, allocations: 87.53 kB / 481.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.5917, allocations: 24 kB / 481.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5917, allocations: 4 kB / 481.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001519/0.5933, allocations: 0.5566 MB / 482.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5933, allocations: 8 kB / 482.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/0.5939, allocations: 144.9 kB / 482.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.5945, allocations: 76.25 kB / 482.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/0.5986, allocations: 2.317 MB / 484.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.5993, allocations: 67.56 kB / 484.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.5994, allocations: 28 kB / 484.9 MB, free: 10.54 MB / 362.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,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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0002726/0.5997, allocations: 148 kB / 485.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.5999, allocations: 55.34 kB / 485.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.6001, allocations: 65.36 kB / 485.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6001, allocations: 4 kB / 485.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6002, allocations: 8 kB / 485.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.6002, allocations: 7.938 kB / 485.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.6033, allocations: 1.309 MB / 486.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6034, allocations: 0 / 486.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.6038, allocations: 51.94 kB / 486.5 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.6045, allocations: 144.8 kB / 486.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.6045, allocations: 12 kB / 486.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/0.6086, allocations: 2.314 MB / 489 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6087, allocations: 0 / 489 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.6109, allocations: 0.8727 MB / 489.9 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.6114, allocations: 180.4 kB / 490.1 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.6115, allocations: 15.95 kB / 490.1 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.6121, allocations: 43.91 kB / 490.1 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.6124, allocations: 60.34 kB / 490.2 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.6124, allocations: 20 kB / 490.2 MB, free: 4.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006226/0.6131, allocations: 325.6 kB / 490.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6131, allocations: 0 / 490.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001475/0.6146, allocations: 335 kB / 490.8 MB, free: 4.352 MB / 362.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,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_p2.off,rectifier.thyristor_p1.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.0002678/0.6149, allocations: 125.6 kB / 491 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.6177, allocations: 1.124 MB / 492.1 MB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.6178, allocations: 3.938 kB / 492.1 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6188, allocations: 441.8 kB / 492.5 MB, free: 2.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.6197, allocations: 99.56 kB / 492.6 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.6226, allocations: 0.8962 MB / 493.5 MB, free: 1.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.6232, allocations: 0.9429 MB / 494.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.6235, allocations: 39.44 kB / 494.5 MB, free: 0.582 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6235, allocations: 3.938 kB / 494.5 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of Templates: time 0.02321/0.6467, allocations: 10.5 MB / 0.4932 GB, free: 6.062 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_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/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches