Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001066/0.001066, allocations: 182 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.453/1.453, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001614, allocations: 124.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.628e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07335/0.07339, allocations: 44.49 MB / 349.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3154/0.3888, allocations: 82.11 MB / 431.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.3891, allocations: 86.72 kB / 431.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02894/0.4181, allocations: 12.7 MB / 444.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4181, allocations: 0 / 444.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.21e-05/0.4182, allocations: 12 kB / 444.4 MB, free: 2.527 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001164/0.4194, allocations: 0.8482 MB / 445.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4194, allocations: 15.97 kB / 445.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.4195, allocations: 82.97 kB / 445.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.4201, allocations: 481.3 kB / 445.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.4202, allocations: 49.12 kB / 445.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/0.4202, allocations: 57.25 kB / 445.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008441/0.4211, allocations: 0.6243 MB / 446.5 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4211, allocations: 4.328 kB / 446.5 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.4212, allocations: 31.2 kB / 446.5 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4212, allocations: 12 kB / 446.6 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.4218, allocations: 436.9 kB / 447 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.425, allocations: 2.333 MB / 449.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.4258, allocations: 468.3 kB / 449.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/0.4263, allocations: 241.3 kB / 450 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.4263, allocations: 7.5 kB / 450 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.4268, allocations: 305.1 kB / 450.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.777e-06/0.4268, allocations: 0 / 450.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007615/0.4276, allocations: 437.6 kB / 450.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.4277, allocations: 144 kB / 450.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.4282, allocations: 409.9 kB / 451.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.4282, allocations: 43.58 kB / 451.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.4284, allocations: 309.9 kB / 451.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.4286, allocations: 145.4 kB / 451.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.4286, allocations: 15 kB / 451.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4288, allocations: 366.1 kB / 452.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.4291, allocations: 148.2 kB / 452.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.4295, allocations: 308.5 kB / 452.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.4298, allocations: 178 kB / 452.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4298, allocations: 0 / 452.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009714/0.4308, allocations: 0.5565 MB / 453.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007777/0.4316, allocations: 1.661 MB / 455 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4316, allocations: 4 kB / 455 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.4319, allocations: 77.2 kB / 455.1 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.4323, allocations: 98.33 kB / 455.2 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.4341, allocations: 1.736 MB / 456.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/0.4346, allocations: 86.36 kB / 457 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.4347, allocations: 27.69 kB / 457 MB, free: 7.496 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.4347, allocations: 7.953 kB / 457 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007495/0.4355, allocations: 478.2 kB / 457.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4355, allocations: 8.031 kB / 457.5 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.4357, allocations: 88.12 kB / 457.6 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.436, allocations: 82.97 kB / 457.7 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.4375, allocations: 1.728 MB / 459.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.4379, allocations: 70.22 kB / 459.5 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.438, allocations: 23.3 kB / 459.5 MB, free: 5.273 MB / 314.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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.4382, allocations: 160.4 kB / 459.6 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.4383, allocations: 55.34 kB / 459.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.4384, allocations: 58.92 kB / 459.7 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4384, allocations: 4 kB / 459.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4385, allocations: 8 kB / 459.8 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.4385, allocations: 3.984 kB / 459.8 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.4402, allocations: 1.257 MB / 461 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4402, allocations: 4 kB / 461 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.4404, allocations: 54.88 kB / 461.1 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.4406, allocations: 70.31 kB / 461.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.4407, allocations: 14.98 kB / 461.2 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.442, allocations: 1.642 MB / 462.8 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4421, allocations: 0 / 462.8 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.4431, allocations: 0.7473 MB / 463.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.4433, allocations: 171.1 kB / 463.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.4433, allocations: 15.42 kB / 463.7 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.4437, allocations: 39.72 kB / 463.8 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.4438, allocations: 54.11 kB / 463.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.4438, allocations: 15.86 kB / 463.8 MB, free: 1.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003438/0.4442, allocations: 309.9 kB / 464.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4442, allocations: 0 / 464.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008491/0.4451, allocations: 297.1 kB / 464.4 MB, free: 1 MB / 314.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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.4453, allocations: 138.6 kB / 464.6 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.4465, allocations: 0.9386 MB / 465.5 MB, free: 124 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4465, allocations: 192 / 465.5 MB, free: 124 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.447, allocations: 343.4 kB / 465.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.4474, allocations: 78.84 kB / 465.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.4489, allocations: 0.8635 MB / 466.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.4493, allocations: 0.9268 MB / 467.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.4497, allocations: 112.5 kB / 467.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.4498, allocations: 35.31 kB / 467.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4498, allocations: 0 / 467.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of Templates: time 0.01345/0.4633, allocations: 7.819 MB / 475.7 MB, free: 6.117 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1)