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") [: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.00127/0.00127, allocations: 186.4 kB / 8.132 MB, free: 2.086 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.097/1.097, allocations: 194.2 MB / 202.8 MB, free: 8.734 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.001708/0.001708, allocations: 111.1 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.634e-06, allocations: 4 kB / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09036, allocations: 44.48 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.3219, allocations: 81.38 MB / 423.4 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3222, allocations: 86.23 kB / 423.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03051/0.3527, allocations: 12.33 MB / 435.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.3528, allocations: 19.98 kB / 435.9 MB, free: 3.836 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001294/0.3541, allocations: 0.8459 MB / 436.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3541, allocations: 8.031 kB / 436.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.3543, allocations: 91.47 kB / 436.8 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006366/0.3549, allocations: 485.8 kB / 437.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.355, allocations: 20 kB / 437.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.355, allocations: 43.41 kB / 437.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006703/0.3557, allocations: 412.4 kB / 437.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009302/0.3567, allocations: 0.5334 MB / 438.3 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3567, allocations: 4 kB / 438.3 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.3568, allocations: 3.688 kB / 438.3 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3568, allocations: 18.06 kB / 438.3 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.3598, allocations: 2.194 MB / 440.5 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.3604, allocations: 350.2 kB / 440.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.3608, allocations: 238.6 kB / 441.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.3609, allocations: 8 kB / 441.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.3612, allocations: 260.4 kB / 441.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/0.3612, allocations: 4 kB / 441.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006888/0.3619, allocations: 384.8 kB / 441.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.362, allocations: 144.3 kB / 441.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.3626, allocations: 354.7 kB / 442.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.3626, allocations: 37.62 kB / 442.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.3628, allocations: 264.7 kB / 442.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.363, allocations: 134.1 kB / 442.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.363, allocations: 0 / 442.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3632, allocations: 368.5 kB / 443 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3634, allocations: 146.3 kB / 443.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.3638, allocations: 292.7 kB / 443.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.364, allocations: 162.2 kB / 443.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.364, allocations: 3.984 kB / 443.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007896/0.3648, allocations: 0.494 MB / 444.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004998/0.3653, allocations: 1.66 MB / 445.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3654, allocations: 4 kB / 445.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.3657, allocations: 73.64 kB / 445.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3661, allocations: 99.52 kB / 445.9 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.3675, allocations: 1.565 MB / 447.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.368, allocations: 73.41 kB / 447.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.368, allocations: 18.69 kB / 447.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.368, allocations: 9.562 kB / 447.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006763/0.3687, allocations: 422.3 kB / 448 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3687, allocations: 4 kB / 448 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.3689, allocations: 81.06 kB / 448.1 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.3693, allocations: 83.41 kB / 448.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3706, allocations: 1.569 MB / 449.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.371, allocations: 59.84 kB / 449.8 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.3711, allocations: 22.69 kB / 449.8 MB, free: 7.352 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 (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.0001592/0.3713, allocations: 131.5 kB / 449.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.3713, allocations: 51.34 kB / 450 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.3715, allocations: 54.45 kB / 450 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3715, allocations: 4 kB / 450.1 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3715, allocations: 0 / 450.1 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3715, allocations: 3.984 kB / 450.1 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.3731, allocations: 1.121 MB / 451.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3731, allocations: 5.781 kB / 451.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.3734, allocations: 54.56 kB / 451.2 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/0.3737, allocations: 73.25 kB / 451.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.3737, allocations: 4 kB / 451.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.3751, allocations: 1.535 MB / 452.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3751, allocations: 0 / 452.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009478/0.3761, allocations: 0.7103 MB / 453.6 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.3763, allocations: 162.3 kB / 453.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/0.3764, allocations: 4 kB / 453.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.3767, allocations: 35.97 kB / 453.8 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3769, allocations: 46.78 kB / 453.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.3769, allocations: 15.3 kB / 453.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002722/0.3772, allocations: 263.6 kB / 454.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008505/0.378, allocations: 266.6 kB / 454.3 MB, free: 3.367 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 (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.0001806/0.3782, allocations: 121.1 kB / 454.5 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.3794, allocations: 0.842 MB / 455.3 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3794, allocations: 256 / 455.3 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.3798, allocations: 312.2 kB / 455.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3802, allocations: 55.16 kB / 455.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3821, allocations: 0.8442 MB / 456.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/0.3827, allocations: 0.959 MB / 457.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3827, allocations: 0 / 457.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of Templates: time 0.01614/0.3988, allocations: 8.555 MB / 466 MB, free: 8.031 MB / 346.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)