Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001912/0.001912, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.3 MB / 214.1 MB, free: 14.06 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001036, allocations: 87.91 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6904/0.6904, allocations: 48.76 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.822e-05, allocations: 0 / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1859, allocations: 60.26 MB / 485.5 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.5/2.686, allocations: 0.7173 GB / 1.192 GB, free: 106.9 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/2.686, allocations: 79.91 kB / 1.192 GB, free: 106.9 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8082/3.494, allocations: 201 MB / 1.388 GB, free: 112.8 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.753e-06/3.494, allocations: 0 / 1.388 GB, free: 112.8 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.818e-05/3.494, allocations: 17.66 kB / 1.388 GB, free: 112.8 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001736/3.496, allocations: 1.013 MB / 1.389 GB, free: 111.9 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/3.496, allocations: 11.66 kB / 1.389 GB, free: 111.9 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006728/3.497, allocations: 148.4 kB / 1.389 GB, free: 111.9 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/3.498, allocations: 0.6762 MB / 1.39 GB, free: 111.4 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/3.498, allocations: 21.3 kB / 1.39 GB, free: 111.4 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/3.498, allocations: 28.59 kB / 1.39 GB, free: 111.4 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006246/3.499, allocations: 410.1 kB / 1.39 GB, free: 111.2 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/3.5, allocations: 0.5069 MB / 1.391 GB, free: 110.9 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/3.5, allocations: 0 / 1.391 GB, free: 110.9 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/3.5, allocations: 0 / 1.391 GB, free: 110.9 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/3.5, allocations: 15.16 kB / 1.391 GB, free: 110.9 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/3.503, allocations: 2.204 MB / 1.393 GB, free: 109.2 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/3.503, allocations: 122.6 kB / 1.393 GB, free: 109.1 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/3.503, allocations: 45.8 kB / 1.393 GB, free: 109.1 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/3.504, allocations: 128.9 kB / 1.393 GB, free: 109 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/3.504, allocations: 38.47 kB / 1.393 GB, free: 108.9 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/3.504, allocations: 0 / 1.393 GB, free: 108.9 MB / 0.5108 GB Notification: Performance of matching and sorting (n=14): time 0.0004089/3.504, allocations: 187.7 kB / 1.393 GB, free: 108.8 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/3.504, allocations: 51.41 kB / 1.393 GB, free: 108.8 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/3.505, allocations: 0.9506 MB / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/3.505, allocations: 25.7 kB / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/3.505, allocations: 470.5 kB / 1.395 GB, free: 107.4 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/3.505, allocations: 63.19 kB / 1.395 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/3.505, allocations: 3.938 kB / 1.395 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/3.506, allocations: 322 kB / 1.395 GB, free: 107 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/3.506, allocations: 113.6 kB / 1.395 GB, free: 106.9 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/3.506, allocations: 232.8 kB / 1.395 GB, free: 106.6 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/3.506, allocations: 128.8 kB / 1.396 GB, free: 106.5 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/3.506, allocations: 0 / 1.396 GB, free: 106.5 MB / 0.5108 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005358/3.507, allocations: 418.9 kB / 1.396 GB, free: 106.1 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/3.507, allocations: 8 kB / 1.396 GB, free: 106.1 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/3.507, allocations: 11.92 kB / 1.396 GB, free: 106.1 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/3.507, allocations: 8.531 kB / 1.396 GB, free: 106 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/3.507, allocations: 103.8 kB / 1.396 GB, free: 105.9 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002738/3.507, allocations: 0.6055 MB / 1.397 GB, free: 105.3 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/3.508, allocations: 47.48 kB / 1.397 GB, free: 105.3 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/3.508, allocations: 20 kB / 1.397 GB, free: 105.2 MB / 0.5108 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001698/3.508, allocations: 131.4 kB / 1.397 GB, free: 105.1 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/3.508, allocations: 75.23 kB / 1.397 GB, free: 105 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/3.508, allocations: 218.6 kB / 1.397 GB, free: 104.8 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/3.509, allocations: 0 / 1.397 GB, free: 104.8 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/3.509, allocations: 4 kB / 1.397 GB, free: 104.8 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/3.509, allocations: 0 / 1.397 GB, free: 104.8 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/3.509, allocations: 0.5192 MB / 1.398 GB, free: 104.3 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/3.509, allocations: 0 / 1.398 GB, free: 104.3 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/3.509, allocations: 47.97 kB / 1.398 GB, free: 104.2 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/3.509, allocations: 4 kB / 1.398 GB, free: 104.2 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/3.509, allocations: 7.984 kB / 1.398 GB, free: 104.2 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002078/3.51, allocations: 0.5938 MB / 1.398 GB, free: 103.6 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/3.51, allocations: 0 / 1.398 GB, free: 103.6 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/3.51, allocations: 354.6 kB / 1.399 GB, free: 103.2 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/3.51, allocations: 196.2 kB / 1.399 GB, free: 103 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/3.51, allocations: 3.984 kB / 1.399 GB, free: 103 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/3.511, allocations: 19.92 kB / 1.399 GB, free: 103 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/3.511, allocations: 7.984 kB / 1.399 GB, free: 103 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/3.511, allocations: 15.98 kB / 1.399 GB, free: 103 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0007094/3.511, allocations: 0.7295 MB / 1.4 GB, free: 102.2 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.4e-07/3.511, allocations: 0 / 1.4 GB, free: 102.2 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001086/3.513, allocations: 283.5 kB / 1.4 GB, free: 102 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001998/3.515, allocations: 1.074 MB / 1.401 GB, free: 101 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0004382/3.515, allocations: 224.6 kB / 1.401 GB, free: 100.8 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/3.515, allocations: 0 / 1.401 GB, free: 100.8 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/3.515, allocations: 55.92 kB / 1.401 GB, free: 100.8 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/3.516, allocations: 151.3 kB / 1.401 GB, free: 100.6 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/3.518, allocations: 1.116 MB / 1.402 GB, free: 99.47 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/3.518, allocations: 1.007 MB / 1.403 GB, free: 98.44 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004346/3.519, allocations: 149 kB / 1.404 GB, free: 98.29 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/3.519, allocations: 47.44 kB / 1.404 GB, free: 98.25 MB / 0.5108 GB Notification: Performance of SimCode: time 2.7e-07/3.519, allocations: 3.938 kB / 1.404 GB, free: 98.24 MB / 0.5108 GB Notification: Performance of Templates: time 0.02053/3.539, allocations: 12.9 MB / 1.416 GB, free: 85.36 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)