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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.001763/0.001763, allocations: 189.8 kB / 8.135 MB, free: 2.199 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.09/1.09, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.001739/0.001739, allocations: 121.1 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.081e-06, allocations: 0 / 297.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06976/0.06978, allocations: 44.5 MB / 342.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.2603, allocations: 82.29 MB / 424.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.2605, allocations: 88.88 kB / 424.5 MB, free: 13 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03398/0.2945, allocations: 13.58 MB / 438 MB, free: 1.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.687e-05/0.2946, allocations: 16 kB / 438 MB, free: 1.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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001722/0.2964, allocations: 0.9382 MB / 439 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2964, allocations: 8.031 kB / 439 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.2966, allocations: 90.97 kB / 439.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008222/0.2975, allocations: 0.507 MB / 439.6 MB, free: 344 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.2975, allocations: 24 kB / 439.6 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.82e-05/0.2976, allocations: 40 kB / 439.7 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008618/0.2985, allocations: 480 kB / 440.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.2996, allocations: 0.6242 MB / 440.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.2996, allocations: 3.906 kB / 440.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.2997, allocations: 4 kB / 440.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.2997, allocations: 16 kB / 440.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.3034, allocations: 2.536 MB / 443.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3044, allocations: 0.5632 MB / 443.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.3051, allocations: 397.4 kB / 444.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.3052, allocations: 10.47 kB / 444.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.3057, allocations: 331.6 kB / 444.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=61): time 2.294e-06/0.3057, allocations: 0 / 444.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.001065/0.3068, allocations: 0.5352 MB / 445.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.3068, allocations: 118.6 kB / 445.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.3072, allocations: 351.1 kB / 445.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.3073, allocations: 33.52 kB / 445.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3075, allocations: 267.6 kB / 445.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.3076, allocations: 179.6 kB / 446.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.3077, allocations: 0 / 446.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3078, allocations: 367.1 kB / 446.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.3081, allocations: 179.8 kB / 446.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.3085, allocations: 338.1 kB / 446.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.3089, allocations: 195.8 kB / 447.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3089, allocations: 0 / 447.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001012/0.3099, allocations: 0.627 MB / 447.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005137/0.3105, allocations: 1.57 MB / 449.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3105, allocations: 4 kB / 449.3 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004992/0.311, allocations: 160.7 kB / 449.5 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.3115, allocations: 114.7 kB / 449.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.3146, allocations: 3.29 MB / 452.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.3151, allocations: 75.56 kB / 452.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.3151, allocations: 19.67 kB / 453 MB, free: 4.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.3152, allocations: 8.719 kB / 453 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000887/0.3161, allocations: 0.5399 MB / 453.5 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3161, allocations: 4.062 kB / 453.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.3165, allocations: 167.3 kB / 453.7 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.317, allocations: 103.5 kB / 453.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.32, allocations: 3.288 MB / 457.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.3206, allocations: 59.72 kB / 457.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.3206, allocations: 19.56 kB / 457.1 MB, free: 0.8828 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 (67): * Single equations (assignments): 65 * 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.0002324/0.3209, allocations: 152.1 kB / 457.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.321, allocations: 55.28 kB / 457.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.3211, allocations: 61.12 kB / 457.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3212, allocations: 12 kB / 457.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3212, allocations: 0 / 457.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.3212, allocations: 3.984 kB / 457.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.3233, allocations: 1.266 MB / 458.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3233, allocations: 0 / 458.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.3237, allocations: 82.88 kB / 458.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.3242, allocations: 152.5 kB / 458.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.3242, allocations: 3.25 kB / 458.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/0.3274, allocations: 3.266 MB / 462.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.3274, allocations: 3.906 kB / 462.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001364/0.3288, allocations: 0.8938 MB / 463.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.3292, allocations: 189.3 kB / 463.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3293, allocations: 2.75 kB / 463.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.3297, allocations: 44.66 kB / 463.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.3299, allocations: 53.66 kB / 463.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.3299, allocations: 19.31 kB / 463.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003489/0.3303, allocations: 259.8 kB / 463.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001209/0.3315, allocations: 316.4 kB / 463.9 MB, free: 10.94 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 (45): * Single equations (assignments): 38 * 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.0001958/0.3317, allocations: 128.2 kB / 464.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.3337, allocations: 1.252 MB / 465.3 MB, free: 9.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3337, allocations: 0 / 465.3 MB, free: 9.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.3344, allocations: 491.5 kB / 465.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.3349, allocations: 78.48 kB / 465.9 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.3374, allocations: 1.01 MB / 466.9 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006764/0.3381, allocations: 0.9878 MB / 467.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3381, allocations: 0 / 467.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of Templates: time 0.02082/0.3589, allocations: 11.83 MB / 479.7 MB, free: 11.64 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1)