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_Characteristic.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_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001587/0.001588, allocations: 172.7 kB / 15.95 MB, free: 208 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.806/1.806, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.0005334/0.0005338, allocations: 8 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.359, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.004228/0.3633, allocations: 3.11 MB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.3657, allocations: 1.097 MB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.366, allocations: 12.28 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3662, allocations: 57.52 kB / 330.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.3666, allocations: 93.39 kB / 330.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.3671, allocations: 147.7 kB / 331 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006235/0.3677, allocations: 0.5359 MB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.3681, allocations: 212.8 kB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.3684, allocations: 157.4 kB / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.3687, allocations: 180.4 kB / 332.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.3687, allocations: 19.25 kB / 332.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.3688, allocations: 18.81 kB / 332.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3689, allocations: 80.02 kB / 332.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.369, allocations: 106.9 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.3696, allocations: 467.7 kB / 332.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3696, allocations: 1 kB / 332.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.3696, allocations: 0 / 332.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3696, allocations: 0 / 332.8 MB, free: 12.72 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001463/0.3711, allocations: 0.7482 MB / 333.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3711, allocations: 9.219 kB / 333.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.3713, allocations: 54.28 kB / 333.6 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.3719, allocations: 377.6 kB / 333.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/0.372, allocations: 34.5 kB / 334 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/0.3721, allocations: 40.72 kB / 334 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3731, allocations: 479.3 kB / 334.5 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3732, allocations: 7.922 kB / 334.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.3732, allocations: 19.98 kB / 334.5 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.3733, allocations: 8 kB / 334.5 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.374, allocations: 363.8 kB / 334.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.3764, allocations: 1.607 MB / 336.5 MB, free: 9.258 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.3773, allocations: 347.5 kB / 336.8 MB, free: 8.91 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.3776, allocations: 141.2 kB / 337 MB, free: 8.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.3776, allocations: 4.234 kB / 337 MB, free: 8.766 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.3781, allocations: 265 kB / 337.2 MB, free: 8.488 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.3781, allocations: 0 / 337.2 MB, free: 8.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001448/0.3796, allocations: 0.6004 MB / 337.8 MB, free: 7.859 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3797, allocations: 106.8 kB / 337.9 MB, free: 7.73 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.3801, allocations: 320.5 kB / 338.2 MB, free: 7.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.3802, allocations: 41.7 kB / 338.3 MB, free: 7.363 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.3804, allocations: 240.1 kB / 338.5 MB, free: 7.125 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3805, allocations: 90.7 kB / 338.6 MB, free: 7.035 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.3805, allocations: 12 kB / 338.6 MB, free: 7.023 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3807, allocations: 346.8 kB / 338.9 MB, free: 6.676 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.3811, allocations: 136.8 kB / 339.1 MB, free: 6.543 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.3815, allocations: 286.8 kB / 339.4 MB, free: 6.195 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.3819, allocations: 155.9 kB / 339.5 MB, free: 6.043 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.3819, allocations: 0 / 339.5 MB, free: 6.043 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001002/0.3829, allocations: 486 kB / 340 MB, free: 5.559 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.3831, allocations: 216.4 kB / 340.2 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3832, allocations: 8 kB / 340.2 MB, free: 5.277 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.3834, allocations: 44.84 kB / 340.2 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.3837, allocations: 79.83 kB / 340.3 MB, free: 5.152 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.3853, allocations: 1.499 MB / 341.8 MB, free: 3.516 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.3857, allocations: 59.66 kB / 341.9 MB, free: 3.457 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.3857, allocations: 20 kB / 341.9 MB, free: 3.438 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.3857, allocations: 4 kB / 341.9 MB, free: 3.434 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007901/0.3865, allocations: 412.7 kB / 342.3 MB, free: 3.027 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3865, allocations: 4 kB / 342.3 MB, free: 3.023 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.3867, allocations: 40.84 kB / 342.4 MB, free: 2.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3869, allocations: 75.83 kB / 342.4 MB, free: 2.906 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.3882, allocations: 1.487 MB / 343.9 MB, free: 1.281 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.3885, allocations: 59.72 kB / 344 MB, free: 1.223 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.3885, allocations: 20 kB / 344 MB, free: 1.203 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 (47): * Single equations (assignments): 46 * 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.0003335/0.3889, allocations: 283.2 kB / 344.3 MB, free: 0.918 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.3889, allocations: 35.61 kB / 344.3 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.389, allocations: 35.95 kB / 344.3 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.389, allocations: 8 kB / 344.3 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.389, allocations: 0 / 344.3 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3891, allocations: 3.984 kB / 344.4 MB, free: 0.832 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.3906, allocations: 0.9059 MB / 345.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.3906, allocations: 0 / 345.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.3908, allocations: 39.91 kB / 345.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.391, allocations: 40.83 kB / 345.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.391, allocations: 12.06 kB / 345.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.3923, allocations: 1.414 MB / 346.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3923, allocations: 0 / 346.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.3935, allocations: 0.6286 MB / 347.4 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.3937, allocations: 136.5 kB / 347.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.3937, allocations: 8 kB / 347.5 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.394, allocations: 39.95 kB / 347.6 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3941, allocations: 35.95 kB / 347.6 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.3941, allocations: 8 kB / 347.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.3944, allocations: 219.1 kB / 347.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3944, allocations: 3.938 kB / 347.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008582/0.3953, allocations: 199.3 kB / 348 MB, free: 12.93 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 22 * 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.0001735/0.3955, allocations: 111.2 kB / 348.1 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.397, allocations: 0.7763 MB / 348.9 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.397, allocations: 1 kB / 348.9 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.3975, allocations: 294.4 kB / 349.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.3979, allocations: 61.27 kB / 349.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3998, allocations: 1 MB / 350.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.4003, allocations: 0.8354 MB / 351.1 MB, free: 9.766 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.4006, allocations: 71.23 kB / 351.2 MB, free: 9.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.4007, allocations: 31.42 kB / 351.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4007, allocations: 0 / 351.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of Templates: time 0.01107/0.4118, allocations: 4.788 MB / 356 MB, free: 4.879 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1)