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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001119/0.001119, allocations: 184.3 kB / 13.65 MB, free: 1.668 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.488/1.488, allocations: 194.3 MB / 208.4 MB, free: 6.672 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.001592/0.001592, allocations: 120.7 kB / 253.5 MB, free: 9.535 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.916e-05, allocations: 4 kB / 305 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0774/0.07744, allocations: 44.51 MB / 349.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2979/0.3754, allocations: 82.34 MB / 431.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.3757, allocations: 84.05 kB / 431.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02969/0.4054, allocations: 13.44 MB / 445.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4054, allocations: 0 / 445.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.65e-05/0.4055, allocations: 16 kB / 445.3 MB, free: 1.688 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001176/0.4067, allocations: 0.873 MB / 446.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.4067, allocations: 15.97 kB / 446.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.4068, allocations: 94.36 kB / 446.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.4074, allocations: 492.1 kB / 446.8 MB, free: 268 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.4075, allocations: 56.86 kB / 446.9 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.4076, allocations: 70.34 kB / 446.9 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/0.4086, allocations: 0.6855 MB / 447.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.4086, allocations: 4 kB / 447.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.4087, allocations: 31.19 kB / 447.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4087, allocations: 16 kB / 447.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.4095, allocations: 0.4905 MB / 448.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.4129, allocations: 2.644 MB / 450.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009229/0.4138, allocations: 0.5662 MB / 451.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/0.4145, allocations: 402.5 kB / 451.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.4146, allocations: 8.375 kB / 451.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004911/0.4151, allocations: 345.7 kB / 452.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 1.894e-06/0.4151, allocations: 4 kB / 452.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008587/0.416, allocations: 0.5344 MB / 452.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.4161, allocations: 111.4 kB / 452.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.4165, allocations: 426.5 kB / 453.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-05/0.4166, allocations: 43.45 kB / 453.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.4169, allocations: 316.4 kB / 453.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.417, allocations: 180.3 kB / 453.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.4171, allocations: 9.375 kB / 453.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4173, allocations: 377.3 kB / 454.1 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.4176, allocations: 189.5 kB / 454.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.418, allocations: 341 kB / 454.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.4183, allocations: 199.9 kB / 454.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4184, allocations: 4 kB / 454.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00105/0.4194, allocations: 0.6794 MB / 455.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006683/0.4201, allocations: 1.581 MB / 457 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4201, allocations: 4 kB / 457.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.4206, allocations: 167.9 kB / 457.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.4209, allocations: 94.94 kB / 457.3 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.4243, allocations: 3.588 MB / 460.9 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.4249, allocations: 90.17 kB / 461 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.4249, allocations: 23.94 kB / 461 MB, free: 4.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.4249, allocations: 4 kB / 461 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009286/0.4259, allocations: 0.615 MB / 461.6 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4259, allocations: 8.453 kB / 461.6 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.4263, allocations: 160.7 kB / 461.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.4266, allocations: 83.41 kB / 461.9 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.4297, allocations: 3.604 MB / 465.5 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.4302, allocations: 73.36 kB / 465.5 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.4302, allocations: 25.73 kB / 465.6 MB, free: 72 kB / 314.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 (65): * Single equations (assignments): 63 * 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.0002518/0.4305, allocations: 156.9 kB / 465.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4306, allocations: 55.34 kB / 465.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.4308, allocations: 70.75 kB / 465.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4308, allocations: 4 kB / 465.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4308, allocations: 3.953 kB / 465.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4308, allocations: 7.984 kB / 465.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.4329, allocations: 1.394 MB / 467.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4329, allocations: 64 / 467.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.4331, allocations: 54.66 kB / 467.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000384/0.4335, allocations: 156.7 kB / 467.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.4336, allocations: 14.36 kB / 467.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003578/0.4372, allocations: 3.509 MB / 471 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4372, allocations: 288 / 471 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.4386, allocations: 0.9376 MB / 471.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.4388, allocations: 188.9 kB / 472.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.4389, allocations: 17 kB / 472.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.4393, allocations: 42.72 kB / 472.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.4394, allocations: 76.25 kB / 472.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.4395, allocations: 15.44 kB / 472.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004348/0.4399, allocations: 324.1 kB / 472.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4399, allocations: 3.938 kB / 472.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001201/0.4411, allocations: 335.9 kB / 472.9 MB, free: 9.754 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 (41): * 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: 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.0002326/0.4414, allocations: 148.3 kB / 473.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.4433, allocations: 1.374 MB / 474.4 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4433, allocations: 0 / 474.4 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.444, allocations: 0.5402 MB / 475 MB, free: 7.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.4445, allocations: 103 kB / 475.1 MB, free: 7.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.4464, allocations: 0.9708 MB / 476 MB, free: 6.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.4469, allocations: 0.9475 MB / 477 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004122/0.4473, allocations: 108.8 kB / 477.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.4474, allocations: 35.44 kB / 477.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4474, allocations: 4 kB / 477.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of Templates: time 0.0171/0.4646, allocations: 10.8 MB / 487.9 MB, free: 10.65 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1)