Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005197, allocations: 10.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3411, allocations: 47.6 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.00402/0.3452, allocations: 3.08 MB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.3476, allocations: 1.088 MB / 330.7 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.3478, allocations: 11.78 kB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.3481, allocations: 54.36 kB / 330.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.3485, allocations: 96.64 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.349, allocations: 151.4 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000728/0.3498, allocations: 0.5135 MB / 331.5 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.3503, allocations: 209.5 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.3507, allocations: 151.8 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.351, allocations: 176 kB / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.3511, allocations: 18.41 kB / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.3512, allocations: 17.88 kB / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3513, allocations: 72.88 kB / 332.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3515, allocations: 113.1 kB / 332.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006119/0.3521, allocations: 463.1 kB / 332.7 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3521, allocations: 5 kB / 332.7 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3521, allocations: 0 / 332.7 MB, free: 12.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.3521, allocations: 0 / 332.7 MB, free: 12.76 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001508/0.3537, allocations: 0.7158 MB / 333.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.3537, allocations: 13.27 kB / 333.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.3539, allocations: 49.31 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007006/0.3546, allocations: 374 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.3547, allocations: 34.55 kB / 333.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.3547, allocations: 43.41 kB / 333.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009323/0.3557, allocations: 445.7 kB / 334.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3557, allocations: 1.062 kB / 334.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.3558, allocations: 20.61 kB / 334.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3558, allocations: 12.88 kB / 334.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.3565, allocations: 322.1 kB / 334.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.3591, allocations: 1.583 MB / 336.3 MB, free: 9.5 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.3598, allocations: 266.8 kB / 336.5 MB, free: 9.23 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.36, allocations: 116.8 kB / 336.6 MB, free: 9.113 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.36, allocations: 4 kB / 336.6 MB, free: 9.109 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004729/0.3605, allocations: 248.9 kB / 336.9 MB, free: 8.848 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.3605, allocations: 7.938 kB / 336.9 MB, free: 8.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001245/0.3618, allocations: 0.5458 MB / 337.4 MB, free: 8.266 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3619, allocations: 110.8 kB / 337.6 MB, free: 8.133 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.3624, allocations: 320.5 kB / 337.9 MB, free: 7.816 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.3624, allocations: 41.7 kB / 337.9 MB, free: 7.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.3627, allocations: 240.1 kB / 338.1 MB, free: 7.527 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/0.3627, allocations: 86.75 kB / 338.2 MB, free: 7.441 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.3628, allocations: 8 kB / 338.2 MB, free: 7.434 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3629, allocations: 350.8 kB / 338.6 MB, free: 7.082 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.3632, allocations: 116.8 kB / 338.7 MB, free: 6.969 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.3635, allocations: 267.1 kB / 339 MB, free: 6.641 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.3638, allocations: 137.1 kB / 339.1 MB, free: 6.508 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3638, allocations: 0 / 339.1 MB, free: 6.508 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007546/0.3646, allocations: 442.8 kB / 339.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.3648, allocations: 216.8 kB / 339.7 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3648, allocations: 4 kB / 339.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.3651, allocations: 44.84 kB / 339.8 MB, free: 5.742 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3653, allocations: 67.84 kB / 339.8 MB, free: 5.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.3669, allocations: 1.491 MB / 341.3 MB, free: 4.051 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.3672, allocations: 63.56 kB / 341.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.3672, allocations: 12 kB / 341.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.3673, allocations: 4 kB / 341.4 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006545/0.3679, allocations: 365.1 kB / 341.8 MB, free: 3.613 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3679, allocations: 7.953 kB / 341.8 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.3681, allocations: 48.86 kB / 341.8 MB, free: 3.555 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.3683, allocations: 63.97 kB / 341.9 MB, free: 3.492 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.3697, allocations: 1.499 MB / 343.4 MB, free: 1.863 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.3699, allocations: 47.73 kB / 343.4 MB, free: 1.816 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.3699, allocations: 12 kB / 343.4 MB, free: 1.805 MB / 270.1 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.twoPulse.fire_n[1],pulse2.fire_p,$PRE.idealthyristor.off,idealthyristor.off) * Number of discrete states: 0 () * Number of clocked 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.0003026/0.3702, allocations: 287.2 kB / 343.7 MB, free: 1.516 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3703, allocations: 31.62 kB / 343.8 MB, free: 1.484 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.3704, allocations: 39.95 kB / 343.8 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3704, allocations: 3.984 kB / 343.8 MB, free: 1.438 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3704, allocations: 0 / 343.8 MB, free: 1.438 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3704, allocations: 4 kB / 343.8 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.3718, allocations: 0.9026 MB / 344.7 MB, free: 476 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3718, allocations: 4.125 kB / 344.7 MB, free: 472 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.372, allocations: 36.03 kB / 344.7 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001125/0.3721, allocations: 36.78 kB / 344.8 MB, free: 396 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.3722, allocations: 15.94 kB / 344.8 MB, free: 380 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.3733, allocations: 1.409 MB / 346.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3733, allocations: 0 / 346.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/0.3743, allocations: 0.5927 MB / 346.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.3745, allocations: 136.6 kB / 346.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.3745, allocations: 8.094 kB / 346.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3747, allocations: 39.91 kB / 347 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3748, allocations: 35.94 kB / 347 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.3749, allocations: 12.17 kB / 347 MB, free: 13.96 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.3751, allocations: 223.1 kB / 347.2 MB, free: 13.74 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3751, allocations: 0 / 347.2 MB, free: 13.74 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006859/0.3758, allocations: 183.4 kB / 347.4 MB, free: 13.56 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.twoPulse.fire_n[1],pulse2.fire_p,idealthyristor.off) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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.0001679/0.376, allocations: 127.2 kB / 347.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.3772, allocations: 0.7203 MB / 348.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3772, allocations: 1.375 kB / 348.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.3776, allocations: 282.9 kB / 348.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.3781, allocations: 60.95 kB / 348.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.3797, allocations: 0.9731 MB / 349.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.3802, allocations: 0.8387 MB / 350.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.3804, allocations: 71.39 kB / 350.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.3805, allocations: 35.44 kB / 350.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3805, allocations: 4 kB / 350.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Templates: time 0.01034/0.3909, allocations: 4.672 MB / 355.2 MB, free: 5.684 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1)