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.001313/0.001313, allocations: 100.1 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.001472/0.001472, 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.759/1.759, 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.0005251/0.0005252, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3133, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.003623/0.3169, allocations: 3.012 MB / 329.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.3192, allocations: 1.105 MB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.3196, allocations: 16.28 kB / 330.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.32, allocations: 72.89 kB / 330.7 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.3204, allocations: 149.1 kB / 330.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.3209, allocations: 182.7 kB / 331 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006055/0.3215, allocations: 366.6 kB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.322, allocations: 209.3 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003574/0.3224, allocations: 161.4 kB / 331.7 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.3227, allocations: 175.8 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.791e-05/0.3228, allocations: 19.19 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.3229, allocations: 22.16 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.323, allocations: 81.5 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.3232, allocations: 108.7 kB / 332.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.3237, allocations: 467.8 kB / 332.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3238, allocations: 0 / 332.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3238, allocations: 1.031 kB / 332.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3238, allocations: 0 / 332.6 MB, free: 12.81 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.001494/0.3253, allocations: 0.7354 MB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3253, allocations: 8.812 kB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.3255, allocations: 54.75 kB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.3261, allocations: 381.7 kB / 333.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.3261, allocations: 30.94 kB / 333.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/0.3262, allocations: 48.06 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.3271, allocations: 470.4 kB / 334.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3272, allocations: 3.938 kB / 334.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.3272, allocations: 20.67 kB / 334.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.3273, allocations: 13.34 kB / 334.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.328, allocations: 358.4 kB / 334.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.3307, allocations: 1.603 MB / 336.3 MB, free: 9.484 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008753/0.3316, allocations: 363.4 kB / 336.6 MB, free: 9.121 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.3316, allocations: 4.234 kB / 336.6 MB, free: 9.117 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005469/0.3321, allocations: 273 kB / 336.9 MB, free: 8.832 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 3.476e-06/0.3322, allocations: 0 / 336.9 MB, free: 8.832 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001492/0.3337, allocations: 0.5927 MB / 337.5 MB, free: 8.211 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.3338, allocations: 114.8 kB / 337.6 MB, free: 8.074 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.3342, allocations: 308.5 kB / 337.9 MB, free: 7.766 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.3342, allocations: 41.64 kB / 337.9 MB, free: 7.719 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.3344, allocations: 240.1 kB / 338.2 MB, free: 7.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.3345, allocations: 98.7 kB / 338.3 MB, free: 7.383 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.3345, allocations: 4 kB / 338.3 MB, free: 7.379 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3347, allocations: 346.8 kB / 338.6 MB, free: 7.031 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.335, allocations: 140.8 kB / 338.8 MB, free: 6.895 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.3354, allocations: 282.8 kB / 339 MB, free: 6.551 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.3357, allocations: 159.9 kB / 339.2 MB, free: 6.395 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3357, allocations: 0 / 339.2 MB, free: 6.395 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008511/0.3366, allocations: 478 kB / 339.7 MB, free: 5.918 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006533/0.3373, allocations: 1.659 MB / 341.3 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3373, allocations: 8 kB / 341.3 MB, free: 4.121 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.3375, allocations: 52.83 kB / 341.4 MB, free: 4.066 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.3378, allocations: 71.83 kB / 341.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.3394, allocations: 1.51 MB / 342.9 MB, free: 2.348 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.3398, allocations: 63.72 kB / 343 MB, free: 2.285 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.3399, allocations: 23.89 kB / 343 MB, free: 2.262 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.3399, allocations: 4 kB / 343 MB, free: 2.258 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007712/0.3407, allocations: 400.6 kB / 343.4 MB, free: 1.863 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3407, allocations: 4 kB / 343.4 MB, free: 1.859 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.3408, allocations: 49.31 kB / 343.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.3411, allocations: 75.83 kB / 343.6 MB, free: 1.734 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.3424, allocations: 1.495 MB / 345.1 MB, free: 104 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.3427, allocations: 59.66 kB / 345.1 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3427, allocations: 16.12 kB / 345.1 MB, free: 28 kB / 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.0003789/0.3431, allocations: 287.2 kB / 345.4 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.3432, allocations: 31.62 kB / 345.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.3433, allocations: 39.95 kB / 345.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3433, allocations: 4 kB / 345.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3433, allocations: 0 / 345.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3433, allocations: 3.984 kB / 345.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.3448, allocations: 0.9137 MB / 346.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3448, allocations: 0 / 346.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.345, allocations: 43.97 kB / 346.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.3452, allocations: 36.83 kB / 346.5 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3452, allocations: 8 kB / 346.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.3466, allocations: 1.429 MB / 347.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.3466, allocations: 3.953 kB / 347.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3477, allocations: 0.6208 MB / 348.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.3479, allocations: 136.6 kB / 348.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.348, allocations: 15.98 kB / 348.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.3482, allocations: 39.97 kB / 348.7 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.3483, allocations: 31.89 kB / 348.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.3484, allocations: 19.94 kB / 348.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.3486, allocations: 215.1 kB / 349 MB, free: 11.93 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3487, allocations: 0 / 349 MB, free: 11.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008613/0.3495, allocations: 187.4 kB / 349.2 MB, free: 11.74 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.0002026/0.3497, allocations: 119.2 kB / 349.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.3511, allocations: 0.7804 MB / 350.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3512, allocations: 0 / 350.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.3516, allocations: 291.5 kB / 350.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.352, allocations: 57.05 kB / 350.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3537, allocations: 0.9848 MB / 351.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.3542, allocations: 0.8509 MB / 352.2 MB, free: 8.574 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.3544, allocations: 75.2 kB / 352.3 MB, free: 8.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.3545, allocations: 27.44 kB / 352.3 MB, free: 8.473 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3545, allocations: 0 / 352.3 MB, free: 8.473 MB / 286.1 MB Notification: Performance of Templates: time 0.009937/0.3645, allocations: 4.787 MB / 357.1 MB, free: 3.688 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: