Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001084/0.001084, allocations: 182.7 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.571/1.571, 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.001713/0.001713, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.822e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09058, allocations: 44.5 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4286, allocations: 79.35 MB / 428.8 MB, free: 9.957 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4289, allocations: 78.77 kB / 428.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.4504, allocations: 9.165 MB / 438.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4505, allocations: 0 / 438.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.4505, allocations: 11.56 kB / 438.1 MB, free: 6.297 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001048/0.4516, allocations: 0.678 MB / 438.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4516, allocations: 11.84 kB / 438.8 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.4517, allocations: 50.5 kB / 438.8 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.4522, allocations: 373.3 kB / 439.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.4523, allocations: 32.56 kB / 439.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.4524, allocations: 42.44 kB / 439.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.4531, allocations: 424.2 kB / 439.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4531, allocations: 3.906 kB / 439.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.4532, allocations: 22.08 kB / 439.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4532, allocations: 7.688 kB / 439.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.4537, allocations: 290 kB / 440 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.4557, allocations: 1.541 MB / 441.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.4562, allocations: 235.8 kB / 441.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.4563, allocations: 89.09 kB / 441.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.4564, allocations: 14.88 kB / 441.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.4567, allocations: 219.3 kB / 442.1 MB, free: 4.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.4567, allocations: 0 / 442.1 MB, free: 4.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.000558/0.4573, allocations: 295.8 kB / 442.3 MB, free: 3.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.4573, allocations: 118.6 kB / 442.5 MB, free: 3.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.4576, allocations: 296.3 kB / 442.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.4577, allocations: 39.31 kB / 442.8 MB, free: 3.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4578, allocations: 247 kB / 443 MB, free: 3.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.4579, allocations: 83.3 kB / 443.1 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/0.4579, allocations: 10.88 kB / 443.1 MB, free: 3.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.458, allocations: 347 kB / 443.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.4581, allocations: 97.23 kB / 443.6 MB, free: 2.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.4583, allocations: 254.7 kB / 443.8 MB, free: 2.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.4585, allocations: 121.8 kB / 443.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4585, allocations: 4 kB / 443.9 MB, free: 2.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005046/0.459, allocations: 409.1 kB / 444.3 MB, free: 2.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003583/0.4594, allocations: 1.651 MB / 446 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4594, allocations: 7.938 kB / 446 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.4596, allocations: 55.7 kB / 446 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4599, allocations: 59.91 kB / 446.1 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.4613, allocations: 1.493 MB / 447.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.4617, allocations: 78.77 kB / 447.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4617, allocations: 19.38 kB / 447.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.4617, allocations: 4 kB / 447.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005317/0.4623, allocations: 334 kB / 448 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.4623, allocations: 4 kB / 448 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/0.4624, allocations: 50.58 kB / 448.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.4626, allocations: 58.67 kB / 448.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.4641, allocations: 1.505 MB / 449.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.4645, allocations: 59.08 kB / 449.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.4645, allocations: 19.69 kB / 449.7 MB, free: 12.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.4647, allocations: 138.6 kB / 449.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.4648, allocations: 35.53 kB / 449.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.4649, allocations: 38.33 kB / 449.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.465, allocations: 4 kB / 449.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.465, allocations: 4 kB / 449.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.465, allocations: 0 / 449.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.4664, allocations: 0.8156 MB / 450.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4664, allocations: 3.953 kB / 450.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.4665, allocations: 30.8 kB / 450.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/0.4667, allocations: 42.53 kB / 450.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.4667, allocations: 15.17 kB / 450.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.4683, allocations: 1.406 MB / 452.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4684, allocations: 0 / 452.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.4691, allocations: 499.3 kB / 452.7 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4693, allocations: 144.6 kB / 452.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.4694, allocations: 7.562 kB / 452.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.4696, allocations: 35.34 kB / 452.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.4697, allocations: 27.33 kB / 452.9 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4698, allocations: 15.44 kB / 452.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.4701, allocations: 227.4 kB / 453.2 MB, free: 9.566 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4701, allocations: 0 / 453.2 MB, free: 9.566 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007497/0.4708, allocations: 195.2 kB / 453.4 MB, free: 9.395 MB / 314.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002065/0.471, allocations: 128.7 kB / 453.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4721, allocations: 0.6916 MB / 454.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4721, allocations: 0 / 454.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.4724, allocations: 234.4 kB / 454.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4727, allocations: 48.58 kB / 454.5 MB, free: 8.445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.4739, allocations: 0.5633 MB / 455 MB, free: 7.938 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.4743, allocations: 0.8464 MB / 455.9 MB, free: 7.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002684/0.4746, allocations: 79.17 kB / 455.9 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.4747, allocations: 27.38 kB / 456 MB, free: 6.965 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.4747, allocations: 0 / 456 MB, free: 6.965 MB / 314.7 MB Notification: Performance of Templates: time 0.009604/0.4843, allocations: 4.955 MB / 460.9 MB, free: 2.031 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1)