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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") [: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.001647/0.001647, allocations: 190.8 kB / 8.139 MB, free: 2.195 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.189/1.189, allocations: 194.2 MB / 202.8 MB, free: 8.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.001899/0.001899, allocations: 113.5 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.732e-06/6.853e-06, allocations: 0 / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07412/0.07414, allocations: 44.49 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.2713, allocations: 80.81 MB / 422.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.2716, allocations: 85.77 kB / 423 MB, free: 14.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02843/0.3001, allocations: 11.73 MB / 434.7 MB, free: 4.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.056e-05/0.3001, allocations: 12 kB / 434.7 MB, free: 4.641 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001147/0.3013, allocations: 0.8149 MB / 435.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3013, allocations: 8.031 kB / 435.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3014, allocations: 75.06 kB / 435.6 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.3021, allocations: 471.3 kB / 436.1 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.3021, allocations: 27.98 kB / 436.1 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.3022, allocations: 36 kB / 436.1 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006492/0.3028, allocations: 381.5 kB / 436.5 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.3036, allocations: 0.512 MB / 437 MB, free: 2.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3036, allocations: 5.406 kB / 437 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.3037, allocations: 3.906 kB / 437 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3037, allocations: 16 kB / 437.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.3065, allocations: 2.084 MB / 439.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.307, allocations: 329.5 kB / 439.5 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.3074, allocations: 230.3 kB / 439.7 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.3074, allocations: 4.328 kB / 439.7 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/0.3078, allocations: 263.5 kB / 439.9 MB, free: 252 kB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.3078, allocations: 0 / 439.9 MB, free: 252 kB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006267/0.3084, allocations: 365.5 kB / 440.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.3085, allocations: 140.5 kB / 440.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.3089, allocations: 346.7 kB / 440.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.309, allocations: 33.64 kB / 440.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3091, allocations: 258.6 kB / 441.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3093, allocations: 124.8 kB / 441.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.3093, allocations: 6 kB / 441.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3094, allocations: 361.4 kB / 441.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.3097, allocations: 134.4 kB / 441.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.31, allocations: 288.6 kB / 442 MB, free: 14.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.3103, allocations: 159.3 kB / 442.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3103, allocations: 4 kB / 442.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007765/0.3111, allocations: 489 kB / 442.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005911/0.3117, allocations: 1.654 MB / 444.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3117, allocations: 4 kB / 444.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.312, allocations: 91.69 kB / 444.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.3124, allocations: 83.78 kB / 444.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.3141, allocations: 1.655 MB / 446.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.3146, allocations: 80.58 kB / 446.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.3146, allocations: 19.81 kB / 446.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.3147, allocations: 4.781 kB / 446.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006542/0.3153, allocations: 410.9 kB / 446.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3153, allocations: 8 kB / 446.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.3156, allocations: 90.09 kB / 446.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.3159, allocations: 80.05 kB / 446.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.3175, allocations: 1.66 MB / 448.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.3179, allocations: 59.72 kB / 448.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.3179, allocations: 25.88 kB / 448.5 MB, free: 8.309 MB / 330.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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.3181, allocations: 135.3 kB / 448.6 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.3182, allocations: 47.47 kB / 448.7 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3183, allocations: 52 kB / 448.7 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3183, allocations: 4 kB / 448.7 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3183, allocations: 4 kB / 448.7 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3184, allocations: 3.984 kB / 448.7 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.3199, allocations: 1.082 MB / 449.8 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3199, allocations: 3.938 kB / 449.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.3201, allocations: 43.95 kB / 449.9 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.3204, allocations: 86.5 kB / 450 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.3204, allocations: 11.89 kB / 450 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.322, allocations: 1.629 MB / 451.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.322, allocations: 11.94 kB / 451.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000913/0.323, allocations: 0.6749 MB / 452.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.3232, allocations: 161.5 kB / 452.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.3233, allocations: 11.48 kB / 452.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.3236, allocations: 39.97 kB / 452.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.3237, allocations: 31.02 kB / 452.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.3238, allocations: 15.42 kB / 452.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002738/0.324, allocations: 256.8 kB / 452.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008103/0.3249, allocations: 246.6 kB / 453 MB, free: 4.332 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001691/0.325, allocations: 125.4 kB / 453.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3263, allocations: 0.8336 MB / 454 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3263, allocations: 0.8906 kB / 454 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.3267, allocations: 319.7 kB / 454.3 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3272, allocations: 65.25 kB / 454.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3287, allocations: 0.7388 MB / 455.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/0.3293, allocations: 0.9474 MB / 456 MB, free: 1.594 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3293, allocations: 3.938 kB / 456 MB, free: 1.59 MB / 330.7 MB Notification: Performance of Templates: time 0.01527/0.3446, allocations: 8.543 MB / 464.6 MB, free: 9.102 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1)