Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001819/0.001819, allocations: 182.8 kB / 13.64 MB, free: 1.676 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.429/1.429, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001614/0.001615, allocations: 108.8 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.663e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.07974, allocations: 44.5 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3106/0.3904, allocations: 83.04 MB / 432.5 MB, free: 9.047 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.3907, allocations: 85.5 kB / 432.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03093/0.4216, allocations: 13.94 MB / 446.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4216, allocations: 0 / 446.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.52e-05/0.4217, allocations: 16 kB / 446.5 MB, free: 0.5391 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001438/0.4231, allocations: 0.9278 MB / 447.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4232, allocations: 8.031 kB / 447.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.4233, allocations: 94.91 kB / 447.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/0.4241, allocations: 0.4945 MB / 448.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.4241, allocations: 57.23 kB / 448.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-05/0.4242, allocations: 73.09 kB / 448.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.4254, allocations: 0.7122 MB / 448.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.4254, allocations: 4 kB / 448.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.4255, allocations: 25.75 kB / 448.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.4255, allocations: 20 kB / 448.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008451/0.4264, allocations: 0.5004 MB / 449.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.4299, allocations: 2.685 MB / 452.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.431, allocations: 0.6223 MB / 452.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007866/0.4318, allocations: 434.6 kB / 453.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.4319, allocations: 12.55 kB / 453.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005872/0.4325, allocations: 376.9 kB / 453.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 3.737e-06/0.4325, allocations: 4 kB / 453.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.001015/0.4335, allocations: 0.567 MB / 454.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.4336, allocations: 115.4 kB / 454.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.4341, allocations: 420.8 kB / 454.7 MB, free: 9.992 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.4341, allocations: 48.06 kB / 454.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.4344, allocations: 312.7 kB / 455 MB, free: 9.727 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.4345, allocations: 187.8 kB / 455.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.4346, allocations: 12.31 kB / 455.2 MB, free: 9.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4348, allocations: 370 kB / 455.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.4351, allocations: 189.9 kB / 455.7 MB, free: 9.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.4355, allocations: 357.7 kB / 456.1 MB, free: 8.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.4359, allocations: 208.2 kB / 456.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4359, allocations: 0 / 456.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001142/0.437, allocations: 0.7015 MB / 457 MB, free: 8.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006727/0.4377, allocations: 1.577 MB / 458.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4377, allocations: 4 kB / 458.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.4382, allocations: 159.1 kB / 458.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.4387, allocations: 107.4 kB / 458.8 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.4421, allocations: 3.588 MB / 462.4 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.4426, allocations: 88.92 kB / 462.5 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.4427, allocations: 27.06 kB / 462.5 MB, free: 2.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.4427, allocations: 4 kB / 462.5 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/0.4437, allocations: 0.6289 MB / 463.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4437, allocations: 8 kB / 463.2 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004003/0.4441, allocations: 166 kB / 463.3 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.4445, allocations: 99.48 kB / 463.4 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/0.4479, allocations: 3.584 MB / 467 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.4485, allocations: 77.75 kB / 467.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.4485, allocations: 23.81 kB / 467.1 MB, free: 14.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,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_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.4488, allocations: 157.5 kB / 467.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4489, allocations: 71.19 kB / 467.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.4491, allocations: 69.59 kB / 467.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.4491, allocations: 8 kB / 467.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4491, allocations: 0 / 467.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4492, allocations: 7.984 kB / 467.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.4513, allocations: 1.429 MB / 468.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4513, allocations: 0 / 468.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.4516, allocations: 75.3 kB / 468.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003886/0.452, allocations: 151.8 kB / 469.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.4521, allocations: 19.17 kB / 469.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/0.4556, allocations: 3.518 MB / 472.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4556, allocations: 3.953 kB / 472.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.4571, allocations: 0.9581 MB / 473.6 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.4574, allocations: 187.4 kB / 473.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.4575, allocations: 12.62 kB / 473.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.4579, allocations: 64.7 kB / 473.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.4581, allocations: 84.44 kB / 473.9 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.4581, allocations: 19.98 kB / 473.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000383/0.4585, allocations: 313.6 kB / 474.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4585, allocations: 0 / 474.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001193/0.4597, allocations: 355 kB / 474.6 MB, free: 8.117 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002128/0.4599, allocations: 138.1 kB / 474.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.4619, allocations: 1.403 MB / 476.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4619, allocations: 0 / 476.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.4626, allocations: 0.5558 MB / 476.7 MB, free: 5.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.4631, allocations: 96.72 kB / 476.8 MB, free: 5.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.4652, allocations: 1.04 MB / 477.8 MB, free: 4.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.4657, allocations: 0.9554 MB / 478.8 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004114/0.4661, allocations: 116.8 kB / 478.9 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.4662, allocations: 39.44 kB / 478.9 MB, free: 3.633 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4663, allocations: 0 / 478.9 MB, free: 3.633 MB / 330.7 MB Notification: Performance of Templates: time 0.01755/0.4838, allocations: 11.1 MB / 490 MB, free: 8.527 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1)