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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 109.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2712/0.2712, allocations: 48.84 MB / 320.7 MB, free: 11.01 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001758, allocations: 71.89 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1176, allocations: 59.15 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.472/0.5897, allocations: 186.2 MB / 0.6802 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004895/0.5946, allocations: 1.933 MB / 0.6821 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008586/0.5955, allocations: 19.88 kB / 0.6821 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.5969, allocations: 369.6 kB / 0.6824 GB, free: 13.71 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001948/0.5989, allocations: 0.7933 MB / 0.6832 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.6017, allocations: 1.064 MB / 0.6843 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.6043, allocations: 1.871 MB / 0.6861 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.6056, allocations: 0.6541 MB / 0.6867 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.6074, allocations: 0.8202 MB / 0.6875 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.6088, allocations: 0.7982 MB / 0.6883 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.6092, allocations: 84 kB / 0.6884 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.6111, allocations: 0.6586 MB / 0.689 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008878/0.612, allocations: 0.8063 MB / 0.6898 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.6136, allocations: 0.9398 MB / 0.6907 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.6164, allocations: 2.43 MB / 0.6931 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6165, allocations: 4 kB / 0.6931 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6165, allocations: 0 / 0.6931 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.6165, allocations: 0 / 0.6931 GB, free: 2.758 MB / 0.5294 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.003427/0.6199, allocations: 2.361 MB / 0.6954 GB, free: 340 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.62, allocations: 19.89 kB / 0.6954 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.6209, allocations: 301 kB / 0.6957 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.6227, allocations: 1.388 MB / 0.6971 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/0.6228, allocations: 95.69 kB / 0.6972 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.623, allocations: 91.98 kB / 0.6972 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.6246, allocations: 1.129 MB / 0.6984 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.6246, allocations: 7.922 kB / 0.6984 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/0.6247, allocations: 44 kB / 0.6984 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.6248, allocations: 39.23 kB / 0.6984 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.626, allocations: 0.8234 MB / 0.6992 GB, free: 12.27 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0066/0.6326, allocations: 5.082 MB / 0.7042 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.6332, allocations: 313.2 kB / 0.7045 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.6334, allocations: 141.7 kB / 0.7046 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.6335, allocations: 8.531 kB / 0.7046 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6335, allocations: 54.55 kB / 0.7047 GB, free: 6.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/0.6335, allocations: 0 / 0.7047 GB, free: 6.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.002329/0.6358, allocations: 1.659 MB / 0.7063 GB, free: 4.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.6359, allocations: 81.11 kB / 0.7064 GB, free: 4.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/0.6396, allocations: 3.411 MB / 0.7097 GB, free: 1.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.6397, allocations: 45.69 kB / 0.7098 GB, free: 1.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000791/0.6405, allocations: 0.9594 MB / 0.7107 GB, free: 148 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.993e-05/0.6406, allocations: 138 kB / 0.7108 GB, free: 8 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.6408, allocations: 134.1 kB / 0.711 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6409, allocations: 330 kB / 0.7113 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.6413, allocations: 209.2 kB / 0.7115 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.6417, allocations: 398.5 kB / 0.7119 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.6425, allocations: 0.5681 MB / 0.7124 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6425, allocations: 0 / 0.7124 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001322/0.6438, allocations: 0.8445 MB / 0.7132 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6438, allocations: 15.84 kB / 0.7133 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6438, allocations: 8.781 kB / 0.7133 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.6439, allocations: 8.875 kB / 0.7133 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.6449, allocations: 217.8 kB / 0.7135 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006827/0.6456, allocations: 1.215 MB / 0.7147 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.6463, allocations: 23.98 kB / 0.7147 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.6464, allocations: 31.98 kB / 0.7147 GB, free: 11.8 MB / 0.5606 GB 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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000686/0.6471, allocations: 0.5872 MB / 0.7153 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.6474, allocations: 221.3 kB / 0.7155 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.6482, allocations: 0.5326 MB / 0.716 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.6482, allocations: 8.031 kB / 0.716 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6482, allocations: 4 kB / 0.716 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.6482, allocations: 3.938 kB / 0.716 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.6506, allocations: 1.818 MB / 0.7178 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6506, allocations: 0 / 0.7178 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/0.6513, allocations: 130.3 kB / 0.7179 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6513, allocations: 8.062 kB / 0.7179 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.6514, allocations: 12 kB / 0.718 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006014/0.652, allocations: 1.191 MB / 0.7191 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.652, allocations: 0 / 0.7191 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/0.653, allocations: 0.7641 MB / 0.7199 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.6536, allocations: 422.2 kB / 0.7203 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.6538, allocations: 12 kB / 0.7203 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007424/0.6545, allocations: 31.97 kB / 0.7203 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.6546, allocations: 27.95 kB / 0.7203 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.6547, allocations: 23.98 kB / 0.7204 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002761/0.6575, allocations: 2.435 MB / 0.7227 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6575, allocations: 0 / 0.7227 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009132/0.6584, allocations: 332 kB / 0.7231 GB, free: 3.078 MB / 0.5606 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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/0.6597, allocations: 0.5571 MB / 0.7236 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008663/0.6606, allocations: 463.1 kB / 0.724 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6606, allocations: 0.5625 kB / 0.724 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.661, allocations: 175.8 kB / 0.7242 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.6632, allocations: 0.5862 MB / 0.7248 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.6682, allocations: 3.745 MB / 0.7284 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.6693, allocations: 1.464 MB / 0.7299 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.6696, allocations: 111.4 kB / 0.73 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/0.6696, allocations: 0 / 0.73 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.3187/0.9884, allocations: 38.46 MB / 0.7675 GB, free: 214.7 MB / 0.5919 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)