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.001301/0.001301, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01157/0.01157, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.836/1.836, 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.0006054/0.0006058, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3202, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.005155/0.3255, allocations: 3.226 MB / 330.3 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.3287, allocations: 1.12 MB / 331.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.3293, allocations: 10.78 kB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.3296, allocations: 65.95 kB / 331.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.3302, allocations: 93 kB / 331.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.3309, allocations: 191.4 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.332, allocations: 0.5437 MB / 332.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005808/0.3326, allocations: 251.8 kB / 332.5 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.333, allocations: 160.5 kB / 332.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.3334, allocations: 181.2 kB / 332.9 MB, free: 13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.3335, allocations: 17.53 kB / 332.9 MB, free: 13 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.3335, allocations: 22.81 kB / 332.9 MB, free: 13 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3337, allocations: 80.8 kB / 333 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.3339, allocations: 229.1 kB / 333.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.3346, allocations: 0.5634 MB / 333.8 MB, free: 12.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3346, allocations: 0 / 333.8 MB, free: 12.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3346, allocations: 0 / 333.8 MB, free: 12.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3346, allocations: 0 / 333.8 MB, free: 12.33 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.0015/0.3361, allocations: 0.7065 MB / 334.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3362, allocations: 13.97 kB / 334.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.3363, allocations: 51.19 kB / 334.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.3369, allocations: 377.9 kB / 334.9 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/0.337, allocations: 35.67 kB / 334.9 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/0.3371, allocations: 50.12 kB / 335 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008082/0.3379, allocations: 455.2 kB / 335.4 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3379, allocations: 7.984 kB / 335.4 MB, free: 10.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.338, allocations: 19.98 kB / 335.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.338, allocations: 8 kB / 335.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.3386, allocations: 319.8 kB / 335.8 MB, free: 10.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.3412, allocations: 1.591 MB / 337.4 MB, free: 8.816 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.3419, allocations: 274.8 kB / 337.6 MB, free: 8.539 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.3421, allocations: 116.8 kB / 337.8 MB, free: 8.422 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3421, allocations: 4 kB / 337.8 MB, free: 8.418 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.3426, allocations: 248.8 kB / 338 MB, free: 8.156 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.013e-06/0.3426, allocations: 0 / 338 MB, free: 8.156 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001361/0.344, allocations: 0.5497 MB / 338.6 MB, free: 7.578 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.3441, allocations: 110.8 kB / 338.7 MB, free: 7.445 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.3445, allocations: 328.5 kB / 339 MB, free: 7.117 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.3446, allocations: 41.69 kB / 339 MB, free: 7.07 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3448, allocations: 232.2 kB / 339.3 MB, free: 6.836 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.129e-05/0.3449, allocations: 90.75 kB / 339.3 MB, free: 6.746 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.345, allocations: 49.62 kB / 339.4 MB, free: 6.691 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3452, allocations: 346.8 kB / 339.7 MB, free: 6.344 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.3454, allocations: 120.8 kB / 339.8 MB, free: 6.227 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.3458, allocations: 266.6 kB / 340.1 MB, free: 5.898 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.3463, allocations: 361.4 kB / 340.5 MB, free: 5.488 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3463, allocations: 0 / 340.5 MB, free: 5.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007932/0.3471, allocations: 450.9 kB / 340.9 MB, free: 5.039 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.3473, allocations: 212.5 kB / 341.1 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3473, allocations: 4 kB / 341.1 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.3476, allocations: 44.83 kB / 341.2 MB, free: 4.719 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3478, allocations: 67.84 kB / 341.2 MB, free: 4.652 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.3496, allocations: 1.503 MB / 342.7 MB, free: 3.008 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.3499, allocations: 59.73 kB / 342.8 MB, free: 2.949 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.35, allocations: 12 kB / 342.8 MB, free: 2.938 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.35, allocations: 4 kB / 342.8 MB, free: 2.934 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006541/0.3507, allocations: 376.6 kB / 343.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3507, allocations: 4 kB / 343.2 MB, free: 2.559 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.3508, allocations: 36.84 kB / 343.2 MB, free: 2.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.351, allocations: 67.84 kB / 343.3 MB, free: 2.453 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.3524, allocations: 1.495 MB / 344.8 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.3527, allocations: 51.92 kB / 344.8 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.3528, allocations: 19.94 kB / 344.8 MB, free: 0.7539 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.0004054/0.3532, allocations: 283.2 kB / 345.1 MB, free: 480 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.3532, allocations: 35.62 kB / 345.1 MB, free: 444 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.3533, allocations: 39.95 kB / 345.2 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3533, allocations: 4 kB / 345.2 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3534, allocations: 4 kB / 345.2 MB, free: 396 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3534, allocations: 0 / 345.2 MB, free: 396 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.3549, allocations: 0.9026 MB / 346.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3549, allocations: 4 kB / 346.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.3551, allocations: 31.92 kB / 346.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/0.3553, allocations: 44.77 kB / 346.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.3553, allocations: 8 kB / 346.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.3567, allocations: 1.425 MB / 347.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3567, allocations: 0 / 347.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3578, allocations: 0.5889 MB / 348.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.358, allocations: 136.7 kB / 348.3 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.358, allocations: 8 kB / 348.3 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3583, allocations: 23.98 kB / 348.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3584, allocations: 35.89 kB / 348.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3584, allocations: 19.98 kB / 348.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003062/0.3588, allocations: 223.1 kB / 348.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3588, allocations: 0 / 348.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009095/0.3597, allocations: 195.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.0002102/0.3599, allocations: 119 kB / 348.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.3612, allocations: 0.7286 MB / 349.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3612, allocations: 0 / 349.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.3617, allocations: 282.7 kB / 349.9 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.0005357/0.3622, allocations: 57.92 kB / 350 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3641, allocations: 1.024 MB / 351 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.3648, allocations: 0.8309 MB / 351.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002871/0.3651, allocations: 75.22 kB / 351.9 MB, free: 9.301 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.3652, allocations: 27.44 kB / 352 MB, free: 9.273 MB / 286.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3652, allocations: 0 / 352 MB, free: 9.273 MB / 286.1 MB Notification: Performance of Templates: time 0.01137/0.3766, allocations: 4.836 MB / 356.8 MB, free: 4.438 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)