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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.001128/0.001128, allocations: 190.2 kB / 8.137 MB, free: 2.215 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.138/1.138, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.001761/0.001761, allocations: 117.2 kB / 247.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.38e-06/5.41e-06, allocations: 0 / 297.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.07129, allocations: 44.5 MB / 342.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.2665, allocations: 81.84 MB / 423.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.2667, allocations: 80.08 kB / 424 MB, free: 13.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03265/0.2994, allocations: 13.36 MB / 437.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.071e-05/0.2995, allocations: 16 kB / 437.4 MB, free: 2.273 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001442/0.3009, allocations: 0.899 MB / 438.3 MB, free: 1.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.301, allocations: 12.03 kB / 438.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.3012, allocations: 94.86 kB / 438.4 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.3019, allocations: 0.4955 MB / 438.9 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.302, allocations: 24 kB / 438.9 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.664e-05/0.3021, allocations: 46.75 kB / 438.9 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008327/0.3029, allocations: 468.8 kB / 439.4 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009699/0.3039, allocations: 0.6174 MB / 440 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.3039, allocations: 0 / 440 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.304, allocations: 8 kB / 440 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.304, allocations: 16 kB / 440 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.308, allocations: 2.561 MB / 442.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.3087, allocations: 443.8 kB / 443 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.3094, allocations: 381.3 kB / 443.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.3095, allocations: 8.438 kB / 443.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.3099, allocations: 311.8 kB / 443.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=58): time 2.795e-06/0.3099, allocations: 0 / 443.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.001067/0.311, allocations: 0.5209 MB / 444.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.3111, allocations: 115.2 kB / 444.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.3115, allocations: 361 kB / 444.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.3116, allocations: 33.52 kB / 444.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.3118, allocations: 278.7 kB / 445 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.3119, allocations: 168.6 kB / 445.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.3119, allocations: 4 kB / 445.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3121, allocations: 361.9 kB / 445.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.3124, allocations: 177.8 kB / 445.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.3128, allocations: 332.1 kB / 446 MB, free: 11.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.3131, allocations: 194 kB / 446.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3131, allocations: 0 / 446.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009954/0.3141, allocations: 0.6141 MB / 446.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005855/0.3147, allocations: 1.569 MB / 448.4 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3147, allocations: 7.938 kB / 448.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/0.3153, allocations: 161 kB / 448.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.3157, allocations: 99.12 kB / 448.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.3189, allocations: 3.296 MB / 452 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.3194, allocations: 83.45 kB / 452 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.3195, allocations: 26.88 kB / 452.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.3195, allocations: 4.781 kB / 452.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008746/0.3204, allocations: 0.5283 MB / 452.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3204, allocations: 12.08 kB / 452.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/0.3209, allocations: 158.8 kB / 452.8 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.3212, allocations: 99.19 kB / 452.9 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.3244, allocations: 3.291 MB / 456.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.3248, allocations: 55.66 kB / 456.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.3249, allocations: 23.88 kB / 456.2 MB, free: 1.547 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 (66): * Single equations (assignments): 64 * 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.0001882/0.3251, allocations: 144.3 kB / 456.4 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.3252, allocations: 51.34 kB / 456.4 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.3253, allocations: 59.7 kB / 456.5 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3254, allocations: 11.94 kB / 456.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3254, allocations: 0 / 456.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3254, allocations: 3.984 kB / 456.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.3273, allocations: 1.263 MB / 457.8 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3273, allocations: 7.906 kB / 457.8 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.3276, allocations: 55.97 kB / 457.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/0.328, allocations: 145.1 kB / 458 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.3281, allocations: 11.61 kB / 458 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.3313, allocations: 3.254 MB / 461.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3313, allocations: 0 / 461.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001299/0.3326, allocations: 0.8791 MB / 462.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.3329, allocations: 181.2 kB / 462.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.333, allocations: 9.781 kB / 462.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.3334, allocations: 32.97 kB / 462.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3336, allocations: 52.55 kB / 462.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.3336, allocations: 19.48 kB / 462.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003723/0.334, allocations: 268.7 kB / 462.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00116/0.3352, allocations: 310.9 kB / 463 MB, free: 11.66 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_p1.off,rectifier.thyristor_p2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * 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.000198/0.3354, allocations: 116.7 kB / 463.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.3373, allocations: 1.231 MB / 464.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3373, allocations: 1.375 kB / 464.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.338, allocations: 483.5 kB / 464.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.3385, allocations: 74.25 kB / 464.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.341, allocations: 0.9744 MB / 465.8 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/0.3417, allocations: 0.9822 MB / 466.8 MB, free: 8.195 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3417, allocations: 0 / 466.8 MB, free: 8.195 MB / 346.7 MB Notification: Performance of Templates: time 0.02029/0.362, allocations: 11.46 MB / 478.3 MB, free: 12.79 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1)