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.0009457/0.0009457, allocations: 179.3 kB / 16.38 MB, free: 5.762 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.15/1.15, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001532/0.001532, allocations: 113.9 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08716/0.08749, allocations: 44.49 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3173/0.4048, allocations: 82.73 MB / 437.8 MB, free: 6.906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4052, allocations: 85.52 kB / 437.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0243/0.4295, allocations: 10.61 MB / 448.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.4295, allocations: 0 / 448.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.306e-05/0.4296, allocations: 16 kB / 448.5 MB, free: 14.04 MB / 330.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.001546/0.4311, allocations: 0.9328 MB / 449.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4312, allocations: 12.03 kB / 449.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.4313, allocations: 83.02 kB / 449.5 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.432, allocations: 499.6 kB / 450 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/0.4321, allocations: 58.17 kB / 450.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/0.4323, allocations: 60.94 kB / 450.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.4334, allocations: 0.6863 MB / 450.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.4334, allocations: 0 / 450.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.4335, allocations: 23.75 kB / 450.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.4335, allocations: 16 kB / 450.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/0.4344, allocations: 0.5196 MB / 451.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.4379, allocations: 2.585 MB / 454 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.439, allocations: 0.5701 MB / 454.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.4391, allocations: 12.42 kB / 454.6 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005668/0.4396, allocations: 343 kB / 454.9 MB, free: 8.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=55): time 2.565e-06/0.4396, allocations: 0 / 454.9 MB, free: 8.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.00236/0.442, allocations: 0.9885 MB / 455.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.4421, allocations: 115.4 kB / 456 MB, free: 6.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.4427, allocations: 433.1 kB / 456.4 MB, free: 6.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.4427, allocations: 49.69 kB / 456.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.443, allocations: 308.4 kB / 456.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.4431, allocations: 157.7 kB / 456.9 MB, free: 6.012 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.4431, allocations: 16 kB / 456.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4433, allocations: 362.8 kB / 457.3 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.4437, allocations: 197.2 kB / 457.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.4441, allocations: 360.1 kB / 457.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.4445, allocations: 210.1 kB / 458 MB, free: 4.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4445, allocations: 4 kB / 458 MB, free: 4.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001073/0.4456, allocations: 0.6906 MB / 458.7 MB, free: 4.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006231/0.4462, allocations: 1.572 MB / 460.3 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4462, allocations: 6.188 kB / 460.3 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.4467, allocations: 144.8 kB / 460.5 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.447, allocations: 87.83 kB / 460.5 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.4497, allocations: 2.375 MB / 462.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.4502, allocations: 83.5 kB / 463 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.4503, allocations: 24 kB / 463 MB, free: 15.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4503, allocations: 4 kB / 463 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009154/0.4512, allocations: 0.5762 MB / 463.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4512, allocations: 4.75 kB / 463.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.4516, allocations: 160.8 kB / 463.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.4518, allocations: 77.25 kB / 463.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.4544, allocations: 2.373 MB / 466.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.4548, allocations: 71.61 kB / 466.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.4549, allocations: 24 kB / 466.3 MB, free: 12.16 MB / 346.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 () * Number of clocked 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.0004675/0.4553, allocations: 310.6 kB / 466.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.4554, allocations: 55.34 kB / 466.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.4556, allocations: 69.45 kB / 466.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4556, allocations: 12.08 kB / 466.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4556, allocations: 0 / 466.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4556, allocations: 4 kB / 466.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.4575, allocations: 1.331 MB / 468.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4575, allocations: 5.594 kB / 468.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.4577, allocations: 43.92 kB / 468.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.4581, allocations: 144.7 kB / 468.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.4582, allocations: 15.98 kB / 468.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.4607, allocations: 2.354 MB / 470.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.4607, allocations: 3.953 kB / 470.6 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.462, allocations: 0.8936 MB / 471.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.4622, allocations: 180.3 kB / 471.7 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.4623, allocations: 15.98 kB / 471.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.4626, allocations: 43.92 kB / 471.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.4628, allocations: 64.47 kB / 471.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.4628, allocations: 16 kB / 471.8 MB, free: 6.379 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004108/0.4632, allocations: 334.9 kB / 472.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.283e-06/0.4632, allocations: 0 / 472.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001029/0.4643, allocations: 331.1 kB / 472.5 MB, free: 5.73 MB / 346.7 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.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) * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002085/0.4645, allocations: 138.3 kB / 472.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.4663, allocations: 1.192 MB / 473.8 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4664, allocations: 1.406 kB / 473.8 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.467, allocations: 443.6 kB / 474.3 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.4675, allocations: 99.08 kB / 474.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.47, allocations: 1.422 MB / 475.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.4705, allocations: 0.9389 MB / 476.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.4708, allocations: 84.8 kB / 476.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/0.4709, allocations: 39.44 kB / 476.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4709, allocations: 0 / 476.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of Templates: time 0.01583/0.4867, allocations: 9.777 MB / 486.6 MB, free: 7.578 MB / 362.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)