Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001866/0.001866, allocations: 182.8 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.581/1.581, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001612/0.001613, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.549e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.08982, allocations: 44.51 MB / 349.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3229/0.4127, allocations: 82.64 MB / 432.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.4131, allocations: 88.8 kB / 432.2 MB, free: 9.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02442/0.4375, allocations: 10.61 MB / 442.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4375, allocations: 0 / 442.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.776e-05/0.4376, allocations: 16 kB / 442.8 MB, free: 3.73 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001262/0.4389, allocations: 0.8546 MB / 443.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4389, allocations: 16.03 kB / 443.7 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.4391, allocations: 83.02 kB / 443.8 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.4398, allocations: 494.5 kB / 444.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.4399, allocations: 49.62 kB / 444.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.44, allocations: 64.56 kB / 444.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.441, allocations: 0.655 MB / 445 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.441, allocations: 0 / 445 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.4411, allocations: 25.69 kB / 445 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.4411, allocations: 12 kB / 445.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.4418, allocations: 482.7 kB / 445.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/0.4449, allocations: 2.581 MB / 448.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.446, allocations: 0.5688 MB / 448.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.4465, allocations: 310.9 kB / 449 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.4466, allocations: 8.422 kB / 449 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.4471, allocations: 324.2 kB / 449.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.026e-06/0.4471, allocations: 0 / 449.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.0008625/0.448, allocations: 0.5111 MB / 449.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.4481, allocations: 111.4 kB / 449.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.4486, allocations: 427.8 kB / 450.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.4487, allocations: 45.45 kB / 450.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.4489, allocations: 304.7 kB / 450.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.449, allocations: 168.5 kB / 450.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.4491, allocations: 7.688 kB / 450.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4493, allocations: 369.6 kB / 451.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.4496, allocations: 178.2 kB / 451.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.4499, allocations: 329.9 kB / 451.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.4502, allocations: 191.4 kB / 451.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4503, allocations: 0 / 451.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001004/0.4513, allocations: 0.6392 MB / 452.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007028/0.452, allocations: 1.57 MB / 454.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.452, allocations: 4 kB / 454.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/0.4525, allocations: 151.4 kB / 454.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.4528, allocations: 87.2 kB / 454.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.4554, allocations: 2.317 MB / 456.7 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.4559, allocations: 90.41 kB / 456.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.4559, allocations: 19.62 kB / 456.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.4559, allocations: 4 kB / 456.8 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008321/0.4568, allocations: 0.5536 MB / 457.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4568, allocations: 4 kB / 457.3 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.4571, allocations: 147.8 kB / 457.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.4574, allocations: 79.72 kB / 457.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.4599, allocations: 2.319 MB / 459.9 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.4603, allocations: 73.12 kB / 459.9 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4603, allocations: 22.75 kB / 460 MB, free: 5.289 MB / 314.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.0001728/0.4605, allocations: 155 kB / 460.1 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.4606, allocations: 55.34 kB / 460.2 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.4608, allocations: 71.11 kB / 460.2 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4608, allocations: 12 kB / 460.3 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4608, allocations: 0 / 460.3 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4608, allocations: 3.984 kB / 460.3 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.4627, allocations: 1.311 MB / 461.6 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4627, allocations: 0 / 461.6 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.4629, allocations: 47.94 kB / 461.6 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.4633, allocations: 141.4 kB / 461.8 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.4634, allocations: 18.61 kB / 461.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.4658, allocations: 2.31 MB / 464.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4658, allocations: 0 / 464.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.4671, allocations: 0.87 MB / 465 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.4673, allocations: 183.9 kB / 465.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.4674, allocations: 11.88 kB / 465.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.4677, allocations: 47.7 kB / 465.2 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.4679, allocations: 63.92 kB / 465.3 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.468, allocations: 19.92 kB / 465.3 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004165/0.4684, allocations: 320.7 kB / 465.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4684, allocations: 0 / 465.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001176/0.4696, allocations: 326.8 kB / 465.9 MB, free: 440 kB / 314.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.0002505/0.4698, allocations: 143.5 kB / 466 MB, free: 296 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.4718, allocations: 1.142 MB / 467.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4718, allocations: 0 / 467.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.4724, allocations: 431.1 kB / 467.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.4729, allocations: 97.95 kB / 467.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.4747, allocations: 0.8802 MB / 468.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.4752, allocations: 0.9422 MB / 469.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.4756, allocations: 108.9 kB / 469.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.4757, allocations: 35.44 kB / 469.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4757, allocations: 0 / 469.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Templates: time 0.01749/0.4932, allocations: 10.43 MB / 480.1 MB, free: 2.707 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1)