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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.62/1.62, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0008729/0.0008728, allocations: 97.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5728/0.5728, allocations: 48.77 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.586e-05, allocations: 4.219 kB / 425.4 MB, free: 8.16 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 60.25 MB / 485.6 MB, free: 11.76 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.321/2.486, allocations: 0.7541 GB / 1.228 GB, free: 53.14 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/2.487, allocations: 81.83 kB / 1.228 GB, free: 53.1 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.168/4.655, allocations: 469.9 MB / 1.687 GB, free: 90.54 MB / 0.5108 GB Notification: Performance of FrontEnd: time 4.108e-06/4.655, allocations: 0.5625 kB / 1.687 GB, free: 90.54 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0002636/4.655, allocations: 39.47 kB / 1.687 GB, free: 90.54 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.006041/4.661, allocations: 1.708 MB / 1.689 GB, free: 89.98 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/4.662, allocations: 9.562 kB / 1.689 GB, free: 89.98 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/4.663, allocations: 294.5 kB / 1.689 GB, free: 89.86 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/4.667, allocations: 1.421 MB / 1.691 GB, free: 89.52 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/4.668, allocations: 67.3 kB / 1.691 GB, free: 89.49 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/4.668, allocations: 56.08 kB / 1.691 GB, free: 89.48 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002026/4.67, allocations: 0.71 MB / 1.691 GB, free: 89.48 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/4.672, allocations: 0.9614 MB / 1.692 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/4.672, allocations: 1.375 kB / 1.692 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/4.672, allocations: 6.844 kB / 1.692 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/4.672, allocations: 35.14 kB / 1.692 GB, free: 89.3 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.0114/4.684, allocations: 4.902 MB / 1.697 GB, free: 87.1 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/4.685, allocations: 286.5 kB / 1.698 GB, free: 87.05 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/4.685, allocations: 125.2 kB / 1.698 GB, free: 87.04 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 5.645e-05/4.685, allocations: 13.56 kB / 1.698 GB, free: 87.04 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/4.685, allocations: 42.47 kB / 1.698 GB, free: 87 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=38): time 3.126e-06/4.685, allocations: 2.469 kB / 1.698 GB, free: 87 MB / 0.5108 GB Notification: Performance of matching and sorting (n=40): time 0.002874/4.688, allocations: 1.442 MB / 1.699 GB, free: 86.18 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/4.688, allocations: 82.17 kB / 1.699 GB, free: 86.08 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/4.691, allocations: 2.571 MB / 1.702 GB, free: 85.87 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/4.691, allocations: 25.7 kB / 1.702 GB, free: 85.84 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007353/4.692, allocations: 0.9842 MB / 1.703 GB, free: 85.61 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/4.692, allocations: 138.2 kB / 1.703 GB, free: 85.54 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/4.692, allocations: 0 / 1.703 GB, free: 85.54 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/4.692, allocations: 334.5 kB / 1.703 GB, free: 85.23 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/4.693, allocations: 184.3 kB / 1.703 GB, free: 85.23 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/4.693, allocations: 374 kB / 1.704 GB, free: 85.02 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/4.694, allocations: 238.3 kB / 1.704 GB, free: 85.02 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/4.694, allocations: 3.906 kB / 1.704 GB, free: 85.02 MB / 0.5108 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001286/4.695, allocations: 0.7319 MB / 1.705 GB, free: 84.88 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/4.695, allocations: 9.562 kB / 1.705 GB, free: 84.88 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/4.695, allocations: 6.125 kB / 1.705 GB, free: 84.88 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/4.695, allocations: 11.5 kB / 1.705 GB, free: 84.88 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/4.696, allocations: 218.9 kB / 1.705 GB, free: 84.88 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005998/4.697, allocations: 1.217 MB / 1.706 GB, free: 83.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/4.698, allocations: 30.53 kB / 1.706 GB, free: 83.7 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/4.698, allocations: 26.78 kB / 1.706 GB, free: 83.7 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in equation system with 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.0002996/4.698, allocations: 134.2 kB / 1.706 GB, free: 83.59 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007089/4.699, allocations: 434.7 kB / 1.707 GB, free: 83.46 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/4.699, allocations: 187.3 kB / 1.707 GB, free: 83.36 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/4.7, allocations: 478.3 kB / 1.707 GB, free: 83.3 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/4.7, allocations: 2.75 kB / 1.707 GB, free: 83.3 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/4.7, allocations: 6.656 kB / 1.707 GB, free: 83.3 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/4.7, allocations: 3.75 kB / 1.707 GB, free: 83.3 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/4.704, allocations: 1.876 MB / 1.709 GB, free: 82.92 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/4.704, allocations: 0 / 1.709 GB, free: 82.92 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/4.705, allocations: 131.8 kB / 1.709 GB, free: 82.92 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/4.705, allocations: 3.375 kB / 1.709 GB, free: 82.92 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/4.705, allocations: 5.469 kB / 1.709 GB, free: 82.92 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005066/4.705, allocations: 1.204 MB / 1.71 GB, free: 81.75 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/4.705, allocations: 2.062 kB / 1.71 GB, free: 81.75 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/4.706, allocations: 0.7201 MB / 1.711 GB, free: 81.44 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/4.707, allocations: 447.9 kB / 1.712 GB, free: 81.25 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/4.707, allocations: 6.172 kB / 1.712 GB, free: 81.25 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/4.708, allocations: 35.08 kB / 1.712 GB, free: 81.25 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/4.708, allocations: 29.17 kB / 1.712 GB, free: 81.25 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/4.708, allocations: 24.62 kB / 1.712 GB, free: 81.25 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.002703/4.711, allocations: 1.959 MB / 1.714 GB, free: 81.1 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4e-07/4.711, allocations: 0 / 1.714 GB, free: 81.1 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001685/4.712, allocations: 386.1 kB / 1.714 GB, free: 81.09 MB / 0.5108 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.00377/4.716, allocations: 2.583 MB / 1.716 GB, free: 79.98 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001087/4.717, allocations: 419.9 kB / 1.717 GB, free: 79.98 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/4.717, allocations: 3.984 kB / 1.717 GB, free: 79.98 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/4.718, allocations: 150.9 kB / 1.717 GB, free: 79.98 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/4.719, allocations: 275.9 kB / 1.717 GB, free: 79.96 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/4.727, allocations: 3.337 MB / 1.721 GB, free: 79.26 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/4.729, allocations: 1.517 MB / 1.722 GB, free: 78.55 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001326/4.73, allocations: 311.5 kB / 1.722 GB, free: 78.54 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009144/4.731, allocations: 0.72 MB / 1.723 GB, free: 78.53 MB / 0.5108 GB Notification: Performance of SimCode: time 3.076e-06/4.731, allocations: 0 / 1.723 GB, free: 78.53 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/4.831, allocations: 39.27 MB / 1.761 GB, free: 77.82 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/4.831, allocations: 151.5 kB / 1.762 GB, free: 77.62 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.989/8.82, allocations: 1.5 kB / 1.762 GB, free: 77.62 MB / 0.5108 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)