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.001144/0.001145, allocations: 95.5 kB / 16.3 MB, free: 6.461 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.0009665/0.0009665, allocations: 184 kB / 17.2 MB, free: 6.34 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.755/1.755, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.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.0005429/0.0005429, allocations: 16 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 47.58 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.004465/0.1364, allocations: 2.976 MB / 330.7 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1386, allocations: 1.104 MB / 331.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.1389, allocations: 11.94 kB / 331.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.1394, allocations: 67.53 kB / 331.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1398, allocations: 155.4 kB / 332 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.1403, allocations: 175.6 kB / 332.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.1408, allocations: 351.8 kB / 332.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.1412, allocations: 213.9 kB / 332.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.1415, allocations: 155.3 kB / 332.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1417, allocations: 171.1 kB / 333.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.1418, allocations: 20 kB / 333.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.104e-05/0.1418, allocations: 16 kB / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.1419, allocations: 79.72 kB / 333.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.142, allocations: 105.5 kB / 333.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.1425, allocations: 466.9 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1425, allocations: 0 / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1425, allocations: 4 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1425, allocations: 0 / 333.7 MB, free: 14.02 MB / 286.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.001376/0.1439, allocations: 0.7139 MB / 334.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1439, allocations: 12.03 kB / 334.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.1441, allocations: 51.34 kB / 334.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.1447, allocations: 371.2 kB / 334.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.1447, allocations: 36.98 kB / 334.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.1448, allocations: 43.91 kB / 335 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.1456, allocations: 446.9 kB / 335.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.1456, allocations: 7.984 kB / 335.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.1457, allocations: 16 kB / 335.4 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1457, allocations: 8 kB / 335.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006027/0.1463, allocations: 319.8 kB / 335.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.1489, allocations: 1.587 MB / 337.3 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.1494, allocations: 278.7 kB / 337.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.1495, allocations: 3.984 kB / 337.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.1499, allocations: 248.9 kB / 337.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.1499, allocations: 0 / 337.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.00133/0.1513, allocations: 0.5379 MB / 338.4 MB, free: 9.113 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.1514, allocations: 110.8 kB / 338.5 MB, free: 8.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.1518, allocations: 328.5 kB / 338.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.1518, allocations: 37.7 kB / 338.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.152, allocations: 236.1 kB / 339.1 MB, free: 8.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.1521, allocations: 90.8 kB / 339.2 MB, free: 8.285 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.1521, allocations: 8 kB / 339.2 MB, free: 8.277 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1523, allocations: 342.8 kB / 339.5 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1525, allocations: 120.8 kB / 339.6 MB, free: 7.816 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.1529, allocations: 271.1 kB / 339.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.1531, allocations: 137.1 kB / 340 MB, free: 7.352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1531, allocations: 4 kB / 340 MB, free: 7.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006932/0.1538, allocations: 427.3 kB / 340.4 MB, free: 6.922 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007104/0.1546, allocations: 1.667 MB / 342.1 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1546, allocations: 7.984 kB / 342.1 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.1548, allocations: 44.88 kB / 342.2 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.1551, allocations: 67.84 kB / 342.2 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.1564, allocations: 1.502 MB / 343.7 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.1566, allocations: 59.59 kB / 343.8 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.1567, allocations: 24.06 kB / 343.8 MB, free: 3.285 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.535e-06/0.1567, allocations: 7.953 kB / 343.8 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005627/0.1573, allocations: 357.1 kB / 344.2 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1573, allocations: 8 kB / 344.2 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/0.1574, allocations: 48.83 kB / 344.2 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1576, allocations: 59.84 kB / 344.3 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1588, allocations: 1.503 MB / 345.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.159, allocations: 47.67 kB / 345.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1591, allocations: 20 kB / 345.9 MB, free: 1.109 MB / 286.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.0002672/0.1593, allocations: 283.2 kB / 346.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.1594, allocations: 31.62 kB / 346.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.973e-05/0.1595, allocations: 39.95 kB / 346.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1595, allocations: 4 kB / 346.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1595, allocations: 128 / 346.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1595, allocations: 4 kB / 346.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.1609, allocations: 0.9104 MB / 347.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1609, allocations: 4 kB / 347.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1611, allocations: 27.92 kB / 347.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.1612, allocations: 48.78 kB / 347.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.1613, allocations: 8 kB / 347.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.1625, allocations: 1.425 MB / 348.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1625, allocations: 3.938 kB / 348.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009898/0.1635, allocations: 0.5963 MB / 349.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.1636, allocations: 144.6 kB / 349.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.1637, allocations: 15.94 kB / 349.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.164, allocations: 31.97 kB / 349.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.1641, allocations: 35.91 kB / 349.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1641, allocations: 8 kB / 349.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.1644, allocations: 227.1 kB / 349.7 MB, free: 13 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1644, allocations: 0 / 349.7 MB, free: 13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007334/0.1651, allocations: 191.4 kB / 349.9 MB, free: 12.82 MB / 302.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.0001766/0.1653, allocations: 115.3 kB / 350 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1665, allocations: 0.7332 MB / 350.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.1665, allocations: 4 kB / 350.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.167, allocations: 274.8 kB / 351 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1674, allocations: 49.06 kB / 351 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.169, allocations: 0.9695 MB / 352 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.1696, allocations: 0.8464 MB / 352.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.1698, allocations: 75.41 kB / 352.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.1699, allocations: 27.44 kB / 353 MB, free: 9.629 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1699, allocations: 0 / 353 MB, free: 9.629 MB / 302.1 MB Notification: Performance of Templates: time 0.009707/0.1796, allocations: 4.686 MB / 357.6 MB, free: 4.949 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: