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.001046/0.001045, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00104/0.00104, allocations: 177.3 kB / 15.95 MB, free: 216 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.811/1.811, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004662/0.0004663, allocations: 15.98 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.309, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.006088/0.3152, allocations: 2.974 MB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.3195, allocations: 1.105 MB / 330.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008569/0.3204, allocations: 12 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.321, allocations: 65.97 kB / 330.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007894/0.3219, allocations: 152.5 kB / 330.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.3228, allocations: 186 kB / 331 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.3235, allocations: 353.2 kB / 331.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/0.3241, allocations: 210.1 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.3245, allocations: 151.7 kB / 331.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.3248, allocations: 174.8 kB / 331.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.3249, allocations: 17.88 kB / 331.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.325, allocations: 18.31 kB / 331.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3251, allocations: 72.77 kB / 331.9 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.3253, allocations: 105.6 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007915/0.3261, allocations: 469.9 kB / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3262, allocations: 0 / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3262, allocations: 0.9375 kB / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3262, allocations: 0 / 332.5 MB, free: 12.86 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.001918/0.3281, allocations: 0.7263 MB / 333.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.3282, allocations: 9.5 kB / 333.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.3284, allocations: 50.81 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008561/0.3292, allocations: 371.7 kB / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/0.3293, allocations: 35.22 kB / 333.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3295, allocations: 40.44 kB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3308, allocations: 450.9 kB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.3309, allocations: 0 / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/0.331, allocations: 16.44 kB / 334.2 MB, free: 11.56 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.331, allocations: 8.781 kB / 334.2 MB, free: 11.56 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3322, allocations: 323.8 kB / 334.5 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.3365, allocations: 1.591 MB / 336.1 MB, free: 9.664 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/0.3374, allocations: 270.8 kB / 336.3 MB, free: 9.391 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.3375, allocations: 8 kB / 336.4 MB, free: 9.383 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/0.3382, allocations: 244.9 kB / 336.6 MB, free: 9.125 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 3.226e-06/0.3383, allocations: 0 / 336.6 MB, free: 9.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.002174/0.3405, allocations: 0.5419 MB / 337.1 MB, free: 8.555 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.3406, allocations: 110.8 kB / 337.2 MB, free: 8.422 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.3413, allocations: 320.5 kB / 337.6 MB, free: 8.105 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.3414, allocations: 37.7 kB / 337.6 MB, free: 8.062 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.3417, allocations: 240.1 kB / 337.8 MB, free: 7.82 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.3419, allocations: 90.73 kB / 337.9 MB, free: 7.73 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.342, allocations: 8 kB / 337.9 MB, free: 7.723 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.3422, allocations: 350.8 kB / 338.3 MB, free: 7.371 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.3427, allocations: 112.8 kB / 338.4 MB, free: 7.262 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.3433, allocations: 267.1 kB / 338.6 MB, free: 6.934 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.3439, allocations: 141.1 kB / 338.8 MB, free: 6.797 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3439, allocations: 0 / 338.8 MB, free: 6.797 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001489/0.3454, allocations: 434.8 kB / 339.2 MB, free: 6.363 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.3467, allocations: 1.663 MB / 340.9 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.3467, allocations: 4 kB / 340.9 MB, free: 4.566 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003231/0.347, allocations: 52.83 kB / 340.9 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.3475, allocations: 67.84 kB / 341 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.3499, allocations: 1.495 MB / 342.5 MB, free: 2.816 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.3505, allocations: 59.58 kB / 342.5 MB, free: 2.758 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.3505, allocations: 12 kB / 342.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3506, allocations: 7.953 kB / 342.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/0.3519, allocations: 368.6 kB / 342.9 MB, free: 2.375 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.3519, allocations: 4.656 kB / 342.9 MB, free: 2.371 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.3521, allocations: 48.84 kB / 343 MB, free: 2.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.3526, allocations: 63.84 kB / 343 MB, free: 2.258 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.3548, allocations: 1.507 MB / 344.5 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.3553, allocations: 43.73 kB / 344.6 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.3554, allocations: 19.94 kB / 344.6 MB, free: 0.5586 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.0005586/0.356, allocations: 283.2 kB / 344.9 MB, free: 280 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3561, allocations: 35.62 kB / 344.9 MB, free: 244 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.3563, allocations: 39.95 kB / 345 MB, free: 200 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3563, allocations: 4 kB / 345 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3563, allocations: 128 / 345 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3563, allocations: 3.984 kB / 345 MB, free: 192 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.3592, allocations: 0.9065 MB / 345.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3592, allocations: 0 / 345.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.3595, allocations: 32.05 kB / 345.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/0.3598, allocations: 44.78 kB / 345.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.3598, allocations: 8 kB / 346 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.3619, allocations: 1.425 MB / 347.4 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3619, allocations: 3.938 kB / 347.4 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.3637, allocations: 0.6041 MB / 348 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.3641, allocations: 140.5 kB / 348.1 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3642, allocations: 15.94 kB / 348.1 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.3646, allocations: 31.97 kB / 348.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.3649, allocations: 35.91 kB / 348.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.3649, allocations: 15.98 kB / 348.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004819/0.3654, allocations: 219.1 kB / 348.4 MB, free: 12.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.3654, allocations: 0 / 348.4 MB, free: 12.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001506/0.367, allocations: 187.4 kB / 348.6 MB, free: 12.27 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.0002742/0.3673, allocations: 123.1 kB / 348.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.3694, allocations: 0.7251 MB / 349.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3694, allocations: 0 / 349.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.3702, allocations: 283.2 kB / 349.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.3709, allocations: 52.98 kB / 349.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.3739, allocations: 0.9772 MB / 350.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/0.3747, allocations: 0.8464 MB / 351.6 MB, free: 9.168 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0005165/0.3752, allocations: 75.48 kB / 351.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.3754, allocations: 31.44 kB / 351.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3754, allocations: 0 / 351.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of Templates: time 0.01881/0.3942, allocations: 4.671 MB / 356.4 MB, free: 4.391 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: