Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001178/0.001178, allocations: 84.38 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.001377/0.001377, 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.651/1.651, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0006417/0.0006417, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3612, allocations: 47.6 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.004062/0.3653, allocations: 3.072 MB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3678, allocations: 1.1 MB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.3682, allocations: 14.59 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.3684, allocations: 54.98 kB / 330.7 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.3688, allocations: 88.69 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.3693, allocations: 147.4 kB / 331 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006292/0.3699, allocations: 0.517 MB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.3703, allocations: 210.8 kB / 331.7 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.3706, allocations: 150.8 kB / 331.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.3709, allocations: 171.6 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.371, allocations: 18.84 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-05/0.3711, allocations: 17.5 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.3712, allocations: 73.34 kB / 332.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.3713, allocations: 108.5 kB / 332.2 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.3718, allocations: 464.4 kB / 332.7 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3719, allocations: 4 kB / 332.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3719, allocations: 0 / 332.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3719, allocations: 0 / 332.7 MB, free: 12.75 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.001428/0.3733, allocations: 0.7232 MB / 333.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.3734, allocations: 9.594 kB / 333.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.3735, allocations: 50.22 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.3741, allocations: 376.5 kB / 333.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.3742, allocations: 30.78 kB / 333.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.3742, allocations: 39.88 kB / 333.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.3751, allocations: 453.7 kB / 334.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3752, allocations: 1.062 kB / 334.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.3752, allocations: 16.12 kB / 334.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3753, allocations: 13.25 kB / 334.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006317/0.3759, allocations: 315 kB / 334.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.3783, allocations: 1.598 MB / 336.3 MB, free: 9.484 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/0.3791, allocations: 262.9 kB / 336.5 MB, free: 9.219 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.3793, allocations: 116.7 kB / 336.6 MB, free: 9.102 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.3793, allocations: 11.98 kB / 336.7 MB, free: 9.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/0.3799, allocations: 244.9 kB / 336.9 MB, free: 8.832 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/0.3799, allocations: 4 kB / 336.9 MB, free: 8.828 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001264/0.3812, allocations: 0.5419 MB / 337.4 MB, free: 8.258 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.3813, allocations: 110.8 kB / 337.6 MB, free: 8.125 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.3817, allocations: 320.5 kB / 337.9 MB, free: 7.809 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.3817, allocations: 37.7 kB / 337.9 MB, free: 7.766 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3819, allocations: 236.1 kB / 338.1 MB, free: 7.527 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.227e-05/0.382, allocations: 98.67 kB / 338.2 MB, free: 7.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.382, allocations: 12 kB / 338.2 MB, free: 7.418 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3822, allocations: 350.7 kB / 338.6 MB, free: 7.066 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.3825, allocations: 112.8 kB / 338.7 MB, free: 6.957 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.3829, allocations: 267.1 kB / 339 MB, free: 6.629 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.3832, allocations: 141.1 kB / 339.1 MB, free: 6.492 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3832, allocations: 0 / 339.1 MB, free: 6.492 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008447/0.384, allocations: 434.8 kB / 339.5 MB, free: 6.059 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.3843, allocations: 212.9 kB / 339.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.3843, allocations: 4 kB / 339.7 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.3846, allocations: 52.83 kB / 339.8 MB, free: 5.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.3848, allocations: 67.84 kB / 339.8 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.3867, allocations: 1.487 MB / 341.3 MB, free: 4.043 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.3871, allocations: 59.7 kB / 341.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.3871, allocations: 19.98 kB / 341.4 MB, free: 3.965 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.3871, allocations: 4 kB / 341.4 MB, free: 3.961 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006897/0.3878, allocations: 369.2 kB / 341.8 MB, free: 3.598 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3879, allocations: 11.98 kB / 341.8 MB, free: 3.586 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.388, allocations: 44.83 kB / 341.8 MB, free: 3.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.3882, allocations: 59.86 kB / 341.9 MB, free: 3.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.3898, allocations: 1.495 MB / 343.4 MB, free: 1.855 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.3902, allocations: 43.73 kB / 343.4 MB, free: 1.812 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3902, allocations: 16 kB / 343.4 MB, free: 1.797 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.0004047/0.3906, allocations: 283.3 kB / 343.7 MB, free: 1.512 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.3907, allocations: 31.62 kB / 343.7 MB, free: 1.48 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/0.3908, allocations: 43.95 kB / 343.8 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.3908, allocations: 4 kB / 343.8 MB, free: 1.43 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3908, allocations: 0 / 343.8 MB, free: 1.43 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3908, allocations: 3.984 kB / 343.8 MB, free: 1.426 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.3921, allocations: 0.9026 MB / 344.7 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3922, allocations: 3.938 kB / 344.7 MB, free: 464 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.3923, allocations: 28.05 kB / 344.7 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.3924, allocations: 44.91 kB / 344.8 MB, free: 388 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.3925, allocations: 11.95 kB / 344.8 MB, free: 376 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.3942, allocations: 1.417 MB / 346.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3942, allocations: 0 / 346.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3953, allocations: 0.5812 MB / 346.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.3955, allocations: 140.6 kB / 346.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.3956, allocations: 11.94 kB / 346.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.3958, allocations: 31.97 kB / 347 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.396, allocations: 35.95 kB / 347 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.396, allocations: 8 kB / 347 MB, free: 13.96 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.3963, allocations: 234.9 kB / 347.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3963, allocations: 0 / 347.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009244/0.3972, allocations: 183.4 kB / 347.4 MB, free: 13.55 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.0002075/0.3975, allocations: 127.2 kB / 347.5 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3988, allocations: 0.7216 MB / 348.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3988, allocations: 0 / 348.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.3993, allocations: 286.9 kB / 348.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.3998, allocations: 57.3 kB / 348.6 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.4017, allocations: 0.977 MB / 349.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.4022, allocations: 0.8387 MB / 350.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.4025, allocations: 63.23 kB / 350.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.4026, allocations: 31.42 kB / 350.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4026, allocations: 4 kB / 350.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Templates: time 0.01011/0.4127, allocations: 4.687 MB / 355.2 MB, free: 5.668 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1)