Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [: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.001011/0.001011, allocations: 189.6 kB / 8.138 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.108/1.108, allocations: 194.2 MB / 202.8 MB, free: 8.812 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.001741/0.001741, allocations: 120.9 kB / 247.7 MB, free: 6.27 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.075e-06, allocations: 4 kB / 297.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.07919, allocations: 44.48 MB / 342.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.2861, allocations: 74.01 MB / 416.1 MB, free: 21.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.2864, allocations: 66.59 kB / 416.1 MB, free: 21.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01763/0.304, allocations: 6.731 MB / 422.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.3041, allocations: 12 kB / 422.9 MB, free: 15.53 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001208/0.3053, allocations: 0.7309 MB / 423.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3054, allocations: 8.031 kB / 423.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.3056, allocations: 51.98 kB / 423.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.3061, allocations: 326.3 kB / 424 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.3062, allocations: 12 kB / 424 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.3062, allocations: 24.22 kB / 424 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000516/0.3068, allocations: 257 kB / 424.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.3073, allocations: 349.6 kB / 424.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3074, allocations: 7.844 kB / 424.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.3074, allocations: 3.984 kB / 424.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3074, allocations: 12 kB / 424.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.3095, allocations: 1.569 MB / 426.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.3099, allocations: 268.2 kB / 426.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.3102, allocations: 171.4 kB / 426.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3102, allocations: 4.281 kB / 426.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.3105, allocations: 243.6 kB / 426.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.465e-06/0.3105, allocations: 0 / 426.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008314/0.3114, allocations: 411.4 kB / 427.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.3114, allocations: 213.6 kB / 427.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.3117, allocations: 250.5 kB / 427.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3117, allocations: 29.2 kB / 427.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.3118, allocations: 180.9 kB / 427.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.3119, allocations: 116.6 kB / 428 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.3119, allocations: 3.938 kB / 428.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.312, allocations: 344.8 kB / 428.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3121, allocations: 99.69 kB / 428.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.3123, allocations: 170.6 kB / 428.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3126, allocations: 112.4 kB / 428.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3126, allocations: 0 / 428.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005976/0.3132, allocations: 398.8 kB / 429.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3132, allocations: 8 kB / 429.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3132, allocations: 0 / 429.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/0.3137, allocations: 153.6 kB / 429.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3139, allocations: 39.72 kB / 429.3 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.3171, allocations: 5.33 MB / 434.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.3175, allocations: 49.41 kB / 434.7 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.3175, allocations: 15.19 kB / 434.7 MB, free: 4.277 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.3177, allocations: 155.4 kB / 434.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.3177, allocations: 35.62 kB / 434.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.643e-05/0.3178, allocations: 42.11 kB / 435 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3178, allocations: 3.984 kB / 435 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3178, allocations: 7.906 kB / 435 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3178, allocations: 0 / 435 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.3182, allocations: 383.1 kB / 435.4 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3182, allocations: 4 kB / 435.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.3183, allocations: 27.67 kB / 435.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003751/0.3187, allocations: 145.5 kB / 435.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.3188, allocations: 9.109 kB / 435.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.3224, allocations: 5.317 MB / 440.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3224, allocations: 0 / 440.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008336/0.3233, allocations: 454.2 kB / 441.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.3235, allocations: 148.8 kB / 441.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.3236, allocations: 7.562 kB / 441.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.3239, allocations: 31.98 kB / 441.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.324, allocations: 31.75 kB / 441.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.324, allocations: 11 kB / 441.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001823/0.3242, allocations: 192 kB / 441.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005312/0.3247, allocations: 143.7 kB / 441.8 MB, free: 13.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.325, allocations: 137.2 kB / 442 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009917/0.326, allocations: 0.751 MB / 442.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.326, allocations: 4.125 kB / 442.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005555/0.3266, allocations: 0.5914 MB / 443.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3269, allocations: 48.06 kB / 443.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3282, allocations: 0.5215 MB / 443.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.3287, allocations: 0.8429 MB / 444.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3287, allocations: 0 / 444.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of Templates: time 0.01281/0.3415, allocations: 6.644 MB / 451.4 MB, free: 3.848 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1)