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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001672/0.001672, allocations: 189.9 kB / 8.132 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.293/1.293, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001793/0.001793, allocations: 116.8 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.553e-06, allocations: 0 / 297.6 MB, free: 7.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08042/0.08044, allocations: 44.48 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.2915, allocations: 81.6 MB / 423.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.2918, allocations: 86 kB / 423.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03113/0.3229, allocations: 13.07 MB / 436.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.704e-05/0.323, allocations: 12 kB / 436.8 MB, free: 3.008 MB / 314.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.001404/0.3244, allocations: 0.8849 MB / 437.7 MB, free: 2.113 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.3245, allocations: 11.97 kB / 437.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.3246, allocations: 90.22 kB / 437.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.3253, allocations: 0.5002 MB / 438.3 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.3254, allocations: 20 kB / 438.3 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.3255, allocations: 40 kB / 438.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007921/0.3263, allocations: 463.5 kB / 438.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008734/0.3272, allocations: 0.5933 MB / 439.4 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.3272, allocations: 7.844 kB / 439.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.3273, allocations: 7.312 kB / 439.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3273, allocations: 16 kB / 439.5 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.3309, allocations: 2.506 MB / 442 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.3317, allocations: 449.3 kB / 442.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/0.3323, allocations: 348.2 kB / 442.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.3323, allocations: 11.97 kB / 442.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.3328, allocations: 306.7 kB / 443.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 2.445e-06/0.3328, allocations: 0 / 443.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.001007/0.3338, allocations: 0.5128 MB / 443.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3339, allocations: 111.3 kB / 443.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.3343, allocations: 365.8 kB / 444 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.3344, allocations: 37.02 kB / 444.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3345, allocations: 260.8 kB / 444.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.3347, allocations: 166.2 kB / 444.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.3347, allocations: 0 / 444.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3348, allocations: 363.8 kB / 444.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.3351, allocations: 179.3 kB / 445 MB, free: 12.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.3355, allocations: 328.4 kB / 445.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.3359, allocations: 197.9 kB / 445.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3359, allocations: 8 kB / 445.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009675/0.3369, allocations: 0.6037 MB / 446.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000503/0.3374, allocations: 1.57 MB / 447.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3374, allocations: 4 kB / 447.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005106/0.3379, allocations: 165.2 kB / 447.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.3383, allocations: 98.64 kB / 448 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.3414, allocations: 3.3 MB / 451.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.342, allocations: 75.56 kB / 451.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.342, allocations: 23.94 kB / 451.4 MB, free: 6.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.342, allocations: 5.094 kB / 451.4 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008425/0.3429, allocations: 0.5239 MB / 451.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.3429, allocations: 4 kB / 451.9 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/0.3433, allocations: 164.2 kB / 452.1 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.3437, allocations: 87.64 kB / 452.2 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.3467, allocations: 3.292 MB / 455.4 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.3472, allocations: 59.72 kB / 455.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.3472, allocations: 24.16 kB / 455.5 MB, free: 2.418 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 (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.0002392/0.3475, allocations: 137.6 kB / 455.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.349e-05/0.3476, allocations: 55.34 kB / 455.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.3477, allocations: 60.64 kB / 455.8 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.3477, allocations: 11.94 kB / 455.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3477, allocations: 4 kB / 455.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.3478, allocations: 11.91 kB / 455.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.3497, allocations: 1.249 MB / 457 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.3497, allocations: 0 / 457 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.35, allocations: 51.59 kB / 457.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.3504, allocations: 148.9 kB / 457.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.3504, allocations: 4 kB / 457.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.3535, allocations: 3.259 MB / 460.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3535, allocations: 4.062 kB / 460.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001305/0.3548, allocations: 0.8712 MB / 461.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.355, allocations: 185.1 kB / 461.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.3551, allocations: 3.5 kB / 461.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.3555, allocations: 35.97 kB / 461.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3557, allocations: 43.42 kB / 461.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3557, allocations: 23.48 kB / 461.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003131/0.356, allocations: 271.2 kB / 461.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001069/0.3571, allocations: 295.5 kB / 462.2 MB, free: 12.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p2.off,rectifier.thyristor_p1.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.0002534/0.3574, allocations: 125 kB / 462.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.3593, allocations: 1.22 MB / 463.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3593, allocations: 8.188 kB / 463.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.3599, allocations: 478.7 kB / 464 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.3604, allocations: 69.27 kB / 464.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3626, allocations: 0.9494 MB / 465.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005983/0.3632, allocations: 0.9777 MB / 466 MB, free: 9.113 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3632, allocations: 0 / 466 MB, free: 9.113 MB / 346.7 MB Notification: Performance of Templates: time 0.01983/0.383, allocations: 11.38 MB / 477.4 MB, free: 13.79 MB / 362.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)