Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") [: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.3+maint.om/package.mo): time 0.0009622/0.0009622, allocations: 194.1 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000825/0.000825, allocations: 94.2 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2816/0.2816, allocations: 48.75 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.19e-06, allocations: 0 / 424.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.09969, allocations: 60.25 MB / 485 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.277, allocations: 0.754 GB / 1.228 GB, free: 63.37 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.277, allocations: 83.95 kB / 1.228 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.359/2.637, allocations: 475.4 MB / 1.692 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001076/2.637, allocations: 41.98 kB / 1.692 GB, free: 90.62 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002155/2.639, allocations: 1.708 MB / 1.694 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/2.639, allocations: 12.25 kB / 1.694 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/2.64, allocations: 296.3 kB / 1.694 GB, free: 89.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/2.642, allocations: 1.436 MB / 1.695 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/2.642, allocations: 63.17 kB / 1.695 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/2.642, allocations: 51 kB / 1.695 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009962/2.643, allocations: 0.7278 MB / 1.696 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/2.644, allocations: 0.976 MB / 1.697 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/2.644, allocations: 3.875 kB / 1.697 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/2.644, allocations: 3.469 kB / 1.697 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/2.644, allocations: 40.69 kB / 1.697 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005369/2.65, allocations: 4.924 MB / 1.702 GB, free: 87.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/2.65, allocations: 221 kB / 1.702 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/2.65, allocations: 123.2 kB / 1.702 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/2.65, allocations: 8.578 kB / 1.702 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/2.65, allocations: 44.81 kB / 1.702 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=38): time 1.834e-06/2.65, allocations: 0 / 1.702 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.001704/2.652, allocations: 1.45 MB / 1.704 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/2.652, allocations: 80.64 kB / 1.704 GB, free: 86.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/2.655, allocations: 2.572 MB / 1.706 GB, free: 85.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/2.655, allocations: 29.58 kB / 1.706 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/2.655, allocations: 0.5707 MB / 1.707 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/2.655, allocations: 139.9 kB / 1.707 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/2.655, allocations: 0 / 1.707 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.322e-05/2.655, allocations: 335.1 kB / 1.707 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/2.655, allocations: 190.4 kB / 1.708 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/2.656, allocations: 380 kB / 1.708 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/2.656, allocations: 250.4 kB / 1.708 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/2.656, allocations: 7.156 kB / 1.708 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009091/2.657, allocations: 0.7427 MB / 1.709 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/2.657, allocations: 6.312 kB / 1.709 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/2.657, allocations: 7.156 kB / 1.709 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/2.657, allocations: 11.28 kB / 1.709 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009687/2.658, allocations: 218.5 kB / 1.709 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004577/2.658, allocations: 1.219 MB / 1.71 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/2.659, allocations: 21.75 kB / 1.71 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/2.659, allocations: 32.66 kB / 1.71 GB, free: 83.77 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: GTunit.ZLPout_ISO:VARIABLE(unit = "W" ) "zero_loss power output, referred to ISO conditions " type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/2.659, allocations: 132.4 kB / 1.71 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/2.659, allocations: 184.3 kB / 1.711 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/2.66, allocations: 484.8 kB / 1.711 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/2.66, allocations: 3.594 kB / 1.711 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/2.66, allocations: 0 / 1.711 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/2.66, allocations: 15.2 kB / 1.711 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/2.663, allocations: 1.871 MB / 1.713 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/2.663, allocations: 11.61 kB / 1.713 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/2.663, allocations: 123.5 kB / 1.713 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/2.663, allocations: 7.844 kB / 1.713 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/2.663, allocations: 8.812 kB / 1.713 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003746/2.664, allocations: 1.209 MB / 1.714 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/2.664, allocations: 0 / 1.714 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007472/2.665, allocations: 0.7268 MB / 1.715 GB, free: 81.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006338/2.665, allocations: 453.6 kB / 1.715 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/2.665, allocations: 2.75 kB / 1.715 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/2.666, allocations: 27.06 kB / 1.715 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/2.666, allocations: 28.44 kB / 1.715 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/2.666, allocations: 26.84 kB / 1.716 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002059/2.668, allocations: 1.965 MB / 1.717 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00139/2.67, allocations: 388.7 kB / 1.718 GB, free: 81.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002203/2.672, allocations: 1.305 MB / 1.719 GB, free: 81.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009401/2.673, allocations: 435.2 kB / 1.719 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/2.673, allocations: 0.7344 kB / 1.719 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/2.673, allocations: 155 kB / 1.72 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/2.675, allocations: 257 kB / 1.72 GB, free: 81.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/2.68, allocations: 2.944 MB / 1.723 GB, free: 80.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/2.681, allocations: 1.622 MB / 1.724 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/2.681, allocations: 3.531 kB / 1.724 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.03013/2.711, allocations: 20.72 MB / 1.745 GB, free: 79.24 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)