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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") [: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.001596/0.001596, allocations: 189.9 kB / 8.135 MB, free: 2.219 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.131/1.131, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.002147/0.002147, allocations: 124.5 kB / 247.7 MB, free: 6.242 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.085e-05, allocations: 4 kB / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07774, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.2977, allocations: 81.58 MB / 423.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.298, allocations: 91.06 kB / 423.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03097/0.329, allocations: 12.46 MB / 436.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.363e-05/0.3291, allocations: 16 kB / 436.2 MB, free: 3.57 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001311/0.3304, allocations: 0.8791 MB / 437.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3304, allocations: 12.03 kB / 437.1 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.3306, allocations: 79.56 kB / 437.2 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.3312, allocations: 489.4 kB / 437.7 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.3312, allocations: 24 kB / 437.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.3313, allocations: 36 kB / 437.7 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006779/0.332, allocations: 416.9 kB / 438.1 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.3328, allocations: 0.5434 MB / 438.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3329, allocations: 0 / 438.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.3329, allocations: 7.672 kB / 438.7 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3329, allocations: 16 kB / 438.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.3358, allocations: 2.193 MB / 440.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/0.3368, allocations: 470 kB / 441.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.3373, allocations: 259.9 kB / 441.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/0.3374, allocations: 12.36 kB / 441.6 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.3378, allocations: 276 kB / 441.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.783e-06/0.3378, allocations: 0 / 441.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0007579/0.3385, allocations: 414.2 kB / 442.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.3386, allocations: 140.9 kB / 442.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.339, allocations: 341.3 kB / 442.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.339, allocations: 33.69 kB / 442.8 MB, free: 14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3392, allocations: 262.8 kB / 443.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.3393, allocations: 139.4 kB / 443.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.3394, allocations: 3.562 kB / 443.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3395, allocations: 362.3 kB / 443.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.3397, allocations: 149.4 kB / 443.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.3401, allocations: 300.8 kB / 444 MB, free: 12.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.3403, allocations: 173.2 kB / 444.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3403, allocations: 0 / 444.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007789/0.3411, allocations: 0.4969 MB / 444.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005371/0.3417, allocations: 1.657 MB / 446.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3417, allocations: 4 kB / 446.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.342, allocations: 76.02 kB / 446.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.3424, allocations: 107.8 kB / 446.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.3439, allocations: 1.555 MB / 448 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.3443, allocations: 79.48 kB / 448.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.3444, allocations: 19.94 kB / 448.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/0.3444, allocations: 4 kB / 448.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006707/0.3451, allocations: 428.6 kB / 448.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3451, allocations: 4 kB / 448.6 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/0.3453, allocations: 79.83 kB / 448.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3457, allocations: 108.3 kB / 448.8 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.3471, allocations: 1.555 MB / 450.3 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.3475, allocations: 59.72 kB / 450.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.3475, allocations: 23.86 kB / 450.4 MB, free: 6.867 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 (63): * Single equations (assignments): 62 * 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.0001593/0.3477, allocations: 147.8 kB / 450.5 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3478, allocations: 51.34 kB / 450.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.3479, allocations: 51.97 kB / 450.6 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.348, allocations: 4 kB / 450.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.348, allocations: 3.984 kB / 450.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.348, allocations: 4 kB / 450.6 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3497, allocations: 1.163 MB / 451.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3498, allocations: 0 / 451.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.3501, allocations: 79.17 kB / 451.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.3504, allocations: 71.38 kB / 452 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.3505, allocations: 7.984 kB / 452 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.3518, allocations: 1.532 MB / 453.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3518, allocations: 0.9375 kB / 453.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009849/0.3528, allocations: 0.7453 MB / 454.2 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.353, allocations: 167.7 kB / 454.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.3531, allocations: 4 kB / 454.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.3535, allocations: 47.95 kB / 454.5 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3536, allocations: 50.34 kB / 454.5 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.3537, allocations: 15.42 kB / 454.5 MB, free: 3.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002672/0.3539, allocations: 250.5 kB / 454.8 MB, free: 3.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008478/0.3548, allocations: 263.1 kB / 455 MB, free: 2.805 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: 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 (43): * Single equations (assignments): 37 * 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.000215/0.355, allocations: 121.8 kB / 455.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3563, allocations: 0.8643 MB / 456 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3563, allocations: 3.938 kB / 456 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.3567, allocations: 321.4 kB / 456.3 MB, free: 1.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.3572, allocations: 67.05 kB / 456.4 MB, free: 1.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3591, allocations: 0.8744 MB / 457.3 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/0.3597, allocations: 0.9645 MB / 458.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3597, allocations: 0 / 458.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of Templates: time 0.01589/0.3756, allocations: 8.843 MB / 467.1 MB, free: 7.113 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1)