Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") [: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.001552/0.001552, allocations: 188 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.064/1.064, allocations: 194.2 MB / 202.8 MB, free: 8.68 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.001778/0.001778, allocations: 116.3 kB / 247.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.724e-06, allocations: 0 / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08011/0.08013, allocations: 44.49 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2204/0.3005, allocations: 81.9 MB / 424 MB, free: 13.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3008, allocations: 84.39 kB / 424.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02567/0.3265, allocations: 10.25 MB / 434.3 MB, free: 5.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.865e-05/0.3266, allocations: 29.14 kB / 434.3 MB, free: 5.105 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001695/0.3283, allocations: 0.8635 MB / 435.2 MB, free: 4.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3284, allocations: 8.031 kB / 435.2 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.3286, allocations: 79.06 kB / 435.3 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.3295, allocations: 497.9 kB / 435.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.3295, allocations: 27.92 kB / 435.8 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.3296, allocations: 40 kB / 435.8 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008012/0.3305, allocations: 445.8 kB / 436.3 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.3314, allocations: 0.5726 MB / 436.8 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.3314, allocations: 8 kB / 436.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.3315, allocations: 0 / 436.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3315, allocations: 19.91 kB / 436.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.335, allocations: 2.437 MB / 439.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.3357, allocations: 440.9 kB / 439.7 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.336, allocations: 240 kB / 440 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.3361, allocations: 12.42 kB / 440 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.3365, allocations: 292.5 kB / 440.3 MB, free: 204 kB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 2.174e-06/0.3365, allocations: 0 / 440.3 MB, free: 204 kB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.0008718/0.3374, allocations: 467 kB / 440.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.3375, allocations: 115.1 kB / 440.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.3379, allocations: 362.5 kB / 441.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.338, allocations: 33.27 kB / 441.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3382, allocations: 261.3 kB / 441.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3383, allocations: 155.2 kB / 441.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.3383, allocations: 0 / 441.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3385, allocations: 358 kB / 442 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.3388, allocations: 167 kB / 442.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.3392, allocations: 310.8 kB / 442.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.3395, allocations: 188.6 kB / 442.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3395, allocations: 3.906 kB / 442.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009578/0.3405, allocations: 0.571 MB / 443.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006147/0.3411, allocations: 1.564 MB / 444.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3412, allocations: 8 kB / 444.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.3417, allocations: 142.9 kB / 444.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.342, allocations: 87.8 kB / 445 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.3445, allocations: 2.06 MB / 447.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.345, allocations: 79.64 kB / 447.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.3451, allocations: 27.25 kB / 447.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.525e-06/0.3451, allocations: 4 kB / 447.2 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008301/0.346, allocations: 490.1 kB / 447.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.346, allocations: 8 kB / 447.7 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.3464, allocations: 151.1 kB / 447.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3467, allocations: 79.2 kB / 447.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.3491, allocations: 2.056 MB / 449.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.3495, allocations: 63.5 kB / 450 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.3495, allocations: 28.25 kB / 450 MB, free: 7.586 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (59): * Single equations (assignments): 58 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.3497, allocations: 129.2 kB / 450.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.3498, allocations: 51.34 kB / 450.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.3499, allocations: 58.12 kB / 450.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3499, allocations: 4 kB / 450.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.35, allocations: 4 kB / 450.3 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.35, allocations: 11.83 kB / 450.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.3517, allocations: 1.161 MB / 451.4 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3517, allocations: 0 / 451.4 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.3519, allocations: 46.98 kB / 451.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.3523, allocations: 149.6 kB / 451.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.3524, allocations: 11.97 kB / 451.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.3547, allocations: 2.036 MB / 453.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3547, allocations: 4.062 kB / 453.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001181/0.3559, allocations: 0.8006 MB / 454.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.3561, allocations: 175.3 kB / 454.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.3562, allocations: 3.984 kB / 454.7 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.3566, allocations: 39.91 kB / 454.7 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3567, allocations: 48 kB / 454.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.3568, allocations: 12 kB / 454.8 MB, free: 3.684 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002891/0.357, allocations: 267.5 kB / 455 MB, free: 3.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009058/0.358, allocations: 291 kB / 455.3 MB, free: 3.199 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.3582, allocations: 126.2 kB / 455.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.3598, allocations: 0.9937 MB / 456.4 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.3598, allocations: 4 kB / 456.4 MB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.3603, allocations: 363.6 kB / 456.8 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.3608, allocations: 80.97 kB / 456.9 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.3629, allocations: 0.8668 MB / 457.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/0.3635, allocations: 0.9649 MB / 458.7 MB, free: 196 kB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3635, allocations: 4 kB / 458.7 MB, free: 192 kB / 330.7 MB Notification: Performance of Templates: time 0.01835/0.3819, allocations: 10.93 MB / 469.6 MB, free: 5.301 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1)