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.001266/0.001266, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01296/0.01296, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005046/0.0005048, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3591, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.00399/0.3631, allocations: 3.227 MB / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.366, allocations: 1.112 MB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.3663, allocations: 10.97 kB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3665, allocations: 61.73 kB / 331.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.3669, allocations: 97.08 kB / 331.6 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.3674, allocations: 191.4 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006684/0.368, allocations: 0.5473 MB / 332.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005044/0.3686, allocations: 256.3 kB / 332.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.3688, allocations: 160.9 kB / 332.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.3691, allocations: 180 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.3692, allocations: 18 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.3693, allocations: 19.25 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3694, allocations: 77.05 kB / 333 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.3697, allocations: 236 kB / 333.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.3703, allocations: 0.5555 MB / 333.8 MB, free: 12.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3703, allocations: 4 kB / 333.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3703, allocations: 0 / 333.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.3704, allocations: 0.9375 kB / 333.8 MB, free: 12.32 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.001492/0.3719, allocations: 0.7064 MB / 334.5 MB, free: 11.72 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3719, allocations: 10.03 kB / 334.5 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.372, allocations: 50.16 kB / 334.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.3727, allocations: 390.9 kB / 334.9 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.3728, allocations: 30.97 kB / 335 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3729, allocations: 42.47 kB / 335 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.3739, allocations: 463.2 kB / 335.4 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.3739, allocations: 4 kB / 335.4 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.374, allocations: 16 kB / 335.5 MB, free: 10.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.374, allocations: 12 kB / 335.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.3747, allocations: 319.8 kB / 335.8 MB, free: 10.51 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.3774, allocations: 1.587 MB / 337.4 MB, free: 8.824 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.378, allocations: 270.8 kB / 337.6 MB, free: 8.551 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.3782, allocations: 108.8 kB / 337.7 MB, free: 8.441 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3782, allocations: 8 kB / 337.8 MB, free: 8.434 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.3787, allocations: 252.8 kB / 338 MB, free: 8.168 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.3787, allocations: 4 kB / 338 MB, free: 8.164 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.00129/0.38, allocations: 0.5497 MB / 338.6 MB, free: 7.586 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/0.3801, allocations: 110.8 kB / 338.7 MB, free: 7.453 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.3805, allocations: 324.5 kB / 339 MB, free: 7.129 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.3806, allocations: 41.64 kB / 339 MB, free: 7.082 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3808, allocations: 232.2 kB / 339.2 MB, free: 6.848 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.3809, allocations: 98.67 kB / 339.3 MB, free: 6.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.381, allocations: 45.7 kB / 339.4 MB, free: 6.699 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3812, allocations: 346.8 kB / 339.7 MB, free: 6.352 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.3814, allocations: 120.8 kB / 339.8 MB, free: 6.234 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.3818, allocations: 262.6 kB / 340.1 MB, free: 5.91 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.3824, allocations: 365.4 kB / 340.5 MB, free: 5.496 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3824, allocations: 0 / 340.5 MB, free: 5.496 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007742/0.3832, allocations: 450.4 kB / 340.9 MB, free: 5.047 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.3834, allocations: 209 kB / 341.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3834, allocations: 7.984 kB / 341.1 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.3836, allocations: 48.88 kB / 341.2 MB, free: 4.723 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.3839, allocations: 63.84 kB / 341.2 MB, free: 4.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.3854, allocations: 1.495 MB / 342.7 MB, free: 3.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.3857, allocations: 55.66 kB / 342.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.3857, allocations: 20.19 kB / 342.8 MB, free: 2.949 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.722e-06/0.3858, allocations: 4 kB / 342.8 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006588/0.3864, allocations: 373 kB / 343.2 MB, free: 2.578 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3864, allocations: 4 kB / 343.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.3866, allocations: 44.83 kB / 343.2 MB, free: 2.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3868, allocations: 67.84 kB / 343.3 MB, free: 2.461 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.3881, allocations: 1.491 MB / 344.8 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.3884, allocations: 43.88 kB / 344.8 MB, free: 0.793 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.3884, allocations: 16.06 kB / 344.8 MB, free: 0.7773 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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,idealthyristor.off,$PRE.idealthyristor.off,pulse2.fire_p,pulse2.twoPulse.fire_n[1],pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003775/0.3888, allocations: 287.1 kB / 345.1 MB, free: 500 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.3889, allocations: 35.62 kB / 345.1 MB, free: 464 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.3889, allocations: 40.08 kB / 345.2 MB, free: 424 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.389, allocations: 4 kB / 345.2 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.389, allocations: 4 kB / 345.2 MB, free: 416 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.389, allocations: 3.984 kB / 345.2 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.3905, allocations: 0.9106 MB / 346.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3906, allocations: 4 kB / 346.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.3907, allocations: 27.98 kB / 346.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.3909, allocations: 44.77 kB / 346.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.3909, allocations: 19.86 kB / 346.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.3924, allocations: 1.413 MB / 347.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.3924, allocations: 4 kB / 347.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3935, allocations: 0.5889 MB / 348.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.3937, allocations: 132.7 kB / 348.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.3937, allocations: 8 kB / 348.3 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.394, allocations: 31.97 kB / 348.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3941, allocations: 35.98 kB / 348.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.3941, allocations: 12 kB / 348.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.3944, allocations: 223 kB / 348.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3944, allocations: 0 / 348.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008597/0.3953, allocations: 203.2 kB / 348.8 MB, free: 12.51 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.3955, allocations: 118.9 kB / 348.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3968, allocations: 0.7214 MB / 349.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3969, allocations: 4 kB / 349.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.3973, allocations: 286.8 kB / 350 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.3979, allocations: 49.06 kB / 350 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3997, allocations: 1.028 MB / 351 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.4004, allocations: 0.8347 MB / 351.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.4007, allocations: 75.41 kB / 351.9 MB, free: 9.301 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4008, allocations: 27.44 kB / 352 MB, free: 9.273 MB / 286.1 MB Notification: Performance of SimCode: time 2.255e-06/0.4008, allocations: 0 / 352 MB, free: 9.273 MB / 286.1 MB Notification: Performance of Templates: time 0.01306/0.4139, allocations: 4.836 MB / 356.8 MB, free: 4.438 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)