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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 86.77 kB / 16.31 MB, free: 6.449 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.001227/0.001227, allocations: 183.2 kB / 17.21 MB, free: 6.316 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.764/1.764, allocations: 205.4 MB / 223.4 MB, free: 5.273 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.0005119/0.0005123, allocations: 16 kB / 280.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3085, allocations: 47.59 MB / 327.8 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.004022/0.3126, allocations: 3.072 MB / 330.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3149, allocations: 1.088 MB / 331.9 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.3152, allocations: 11.72 kB / 331.9 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.3154, allocations: 57.45 kB / 332 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.3158, allocations: 97.05 kB / 332.1 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.3163, allocations: 152.1 kB / 332.2 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.3169, allocations: 0.5098 MB / 332.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.3174, allocations: 221 kB / 332.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.3176, allocations: 152.3 kB / 333.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.3179, allocations: 171.2 kB / 333.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.3179, allocations: 18.94 kB / 333.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.318, allocations: 21.03 kB / 333.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3181, allocations: 72.78 kB / 333.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3182, allocations: 109.5 kB / 333.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.3187, allocations: 467.7 kB / 333.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3187, allocations: 0 / 333.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3188, allocations: 1.094 kB / 333.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3188, allocations: 0 / 333.9 MB, free: 12.79 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.001326/0.3201, allocations: 0.7192 MB / 334.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3202, allocations: 8.219 kB / 334.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3203, allocations: 54.86 kB / 334.7 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.3208, allocations: 372.9 kB / 335.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.3209, allocations: 34.38 kB / 335.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.321, allocations: 44.33 kB / 335.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.3218, allocations: 442.3 kB / 335.6 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3218, allocations: 4 kB / 335.6 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.3219, allocations: 19.98 kB / 335.6 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3219, allocations: 12 kB / 335.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.3225, allocations: 319.8 kB / 335.9 MB, free: 11.15 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.3249, allocations: 1.591 MB / 337.5 MB, free: 9.457 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.3254, allocations: 258.8 kB / 337.8 MB, free: 9.195 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.3256, allocations: 124.8 kB / 337.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.3256, allocations: 0 / 337.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.326, allocations: 248.9 kB / 338.1 MB, free: 8.809 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.3261, allocations: 0 / 338.1 MB, free: 8.809 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001193/0.3273, allocations: 0.5458 MB / 338.7 MB, free: 8.234 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.3273, allocations: 106.8 kB / 338.8 MB, free: 8.105 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.3277, allocations: 324.5 kB / 339.1 MB, free: 7.785 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.3278, allocations: 41.7 kB / 339.2 MB, free: 7.738 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.328, allocations: 240 kB / 339.4 MB, free: 7.496 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.328, allocations: 94.75 kB / 339.5 MB, free: 7.402 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.3281, allocations: 4 kB / 339.5 MB, free: 7.398 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3282, allocations: 346.8 kB / 339.8 MB, free: 7.051 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.3284, allocations: 124.8 kB / 339.9 MB, free: 6.93 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.3288, allocations: 263.1 kB / 340.2 MB, free: 6.605 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.329, allocations: 141.1 kB / 340.3 MB, free: 6.469 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.329, allocations: 0 / 340.3 MB, free: 6.469 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007119/0.3298, allocations: 430.8 kB / 340.8 MB, free: 6.039 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.3299, allocations: 213 kB / 341 MB, free: 5.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3299, allocations: 11.98 kB / 341 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.3302, allocations: 52.78 kB / 341 MB, free: 5.703 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.3304, allocations: 59.91 kB / 341.1 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.3317, allocations: 1.499 MB / 342.6 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.332, allocations: 63.5 kB / 342.7 MB, free: 3.949 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.3321, allocations: 16.06 kB / 342.7 MB, free: 3.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.3321, allocations: 8 kB / 342.7 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005805/0.3327, allocations: 357.1 kB / 343 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3327, allocations: 7.953 kB / 343 MB, free: 3.566 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.3328, allocations: 52.77 kB / 343.1 MB, free: 3.512 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.333, allocations: 55.91 kB / 343.1 MB, free: 3.457 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.3342, allocations: 1.491 MB / 344.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.3345, allocations: 47.73 kB / 344.7 MB, free: 1.789 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3345, allocations: 19.94 kB / 344.7 MB, free: 1.77 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.0003411/0.3349, allocations: 283.4 kB / 345 MB, free: 1.484 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.3349, allocations: 35.62 kB / 345 MB, free: 1.449 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.335, allocations: 39.95 kB / 345 MB, free: 1.406 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3351, allocations: 0 / 345 MB, free: 1.406 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3351, allocations: 0 / 345 MB, free: 1.406 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3351, allocations: 7.984 kB / 345.1 MB, free: 1.398 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.3365, allocations: 0.8987 MB / 346 MB, free: 444 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3365, allocations: 4.062 kB / 346 MB, free: 440 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.3366, allocations: 31.92 kB / 346 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.3368, allocations: 44.89 kB / 346 MB, free: 360 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.3368, allocations: 15.94 kB / 346 MB, free: 344 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.3379, allocations: 1.409 MB / 347.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3379, allocations: 3.938 kB / 347.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.3388, allocations: 0.5812 MB / 348 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.339, allocations: 144.6 kB / 348.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.339, allocations: 8 kB / 348.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3393, allocations: 35.97 kB / 348.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.3394, allocations: 27.95 kB / 348.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3394, allocations: 15.98 kB / 348.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.3396, allocations: 219.1 kB / 348.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3396, allocations: 0 / 348.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007665/0.3404, allocations: 191.4 kB / 348.7 MB, free: 13.53 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.0001723/0.3406, allocations: 131.3 kB / 348.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.3418, allocations: 0.7211 MB / 349.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3418, allocations: 0.625 kB / 349.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.3422, allocations: 282.8 kB / 349.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.3426, allocations: 61.02 kB / 349.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3442, allocations: 0.9811 MB / 350.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.3446, allocations: 0.8348 MB / 351.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.3449, allocations: 71.42 kB / 351.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.3449, allocations: 35.36 kB / 351.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3449, allocations: 0 / 351.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Templates: time 0.009254/0.3542, allocations: 4.671 MB / 356.4 MB, free: 5.652 MB / 286.1 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)