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_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2.2_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.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001073/0.001073, allocations: 179.5 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.179/1.179, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001597/0.001597, allocations: 107.2 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.000269, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07281/0.07309, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.3062, allocations: 79.63 MB / 434.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.3065, allocations: 87.48 kB / 434.8 MB, free: 10 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02002/0.3265, allocations: 9.291 MB / 444.1 MB, free: 2.234 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3266, allocations: 0 / 444.1 MB, free: 2.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.3266, allocations: 12 kB / 444.1 MB, free: 2.223 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009731/0.3276, allocations: 0.7383 MB / 444.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3276, allocations: 8.031 kB / 444.8 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.3277, allocations: 59.34 kB / 444.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.3281, allocations: 374.8 kB / 445.3 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.3282, allocations: 35.94 kB / 445.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.3282, allocations: 41.75 kB / 445.3 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.3289, allocations: 483.2 kB / 445.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3289, allocations: 0 / 445.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.329, allocations: 17.06 kB / 445.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.329, allocations: 8 kB / 445.8 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.3296, allocations: 376.4 kB / 446.2 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.3317, allocations: 1.579 MB / 447.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/0.3326, allocations: 408.4 kB / 448.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3326, allocations: 11.98 kB / 448.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.3331, allocations: 275.9 kB / 448.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.3331, allocations: 0 / 448.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001292/0.3344, allocations: 0.6265 MB / 449.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3345, allocations: 106.8 kB / 449.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.3347, allocations: 286.1 kB / 449.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.3348, allocations: 33.95 kB / 449.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3349, allocations: 244 kB / 449.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.335, allocations: 94.8 kB / 449.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.335, allocations: 8 kB / 449.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.3352, allocations: 342.8 kB / 450.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.3355, allocations: 148.8 kB / 450.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.3358, allocations: 284 kB / 450.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.3362, allocations: 160.4 kB / 450.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3362, allocations: 4 kB / 450.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008203/0.337, allocations: 495 kB / 451.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006021/0.3376, allocations: 1.668 MB / 452.9 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3376, allocations: 4 kB / 452.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.3378, allocations: 44.83 kB / 453 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.3381, allocations: 89.52 kB / 453 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.3394, allocations: 1.5 MB / 454.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.3397, allocations: 77.7 kB / 454.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.3397, allocations: 16 kB / 454.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.3398, allocations: 4 kB / 454.6 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000676/0.3404, allocations: 406.4 kB / 455 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3405, allocations: 4 kB / 455 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.3406, allocations: 44.83 kB / 455.1 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.3408, allocations: 74.34 kB / 455.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.3419, allocations: 1.502 MB / 456.7 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.3422, allocations: 63.72 kB / 456.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.3423, allocations: 20 kB / 456.7 MB, free: 5.785 MB / 330.7 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.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * 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.0002919/0.3426, allocations: 278.9 kB / 457 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.3426, allocations: 31.62 kB / 457 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.933e-05/0.3427, allocations: 43.95 kB / 457.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3427, allocations: 4 kB / 457.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3428, allocations: 0 / 457.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3428, allocations: 3.984 kB / 457.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3441, allocations: 0.9205 MB / 458 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3441, allocations: 0 / 458 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.3443, allocations: 48.14 kB / 458.1 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.3444, allocations: 40.81 kB / 458.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3444, allocations: 10.06 kB / 458.1 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3455, allocations: 1.424 MB / 459.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3455, allocations: 0 / 459.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3465, allocations: 0.6429 MB / 460.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3467, allocations: 136.7 kB / 460.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.3467, allocations: 8 kB / 460.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.347, allocations: 47.95 kB / 460.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.3471, allocations: 35.91 kB / 460.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3471, allocations: 11.98 kB / 460.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.3474, allocations: 215 kB / 460.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3474, allocations: 0 / 460.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007066/0.3481, allocations: 199.4 kB / 460.8 MB, free: 1.473 MB / 330.7 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.fire_n,idealthyristor.off,idealthyristor.fire) * 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.0001659/0.3482, allocations: 130.9 kB / 460.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.3495, allocations: 0.7956 MB / 461.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3495, allocations: 0 / 461.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.35, allocations: 299.4 kB / 462 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3503, allocations: 47.98 kB / 462.1 MB, free: 164 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3518, allocations: 0.9914 MB / 463.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3521, allocations: 0.8434 MB / 463.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.3524, allocations: 68.33 kB / 464 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.3524, allocations: 27.44 kB / 464 MB, free: 14.19 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3525, allocations: 0 / 464 MB, free: 14.19 MB / 346.7 MB Notification: Performance of Templates: time 0.008284/0.3607, allocations: 4.756 MB / 468.8 MB, free: 9.5 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1)