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.001131/0.001131, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001036/0.001036, allocations: 200 kB / 18.01 MB, free: 5.047 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.489/1.489, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3262/0.3262, allocations: 48.85 MB / 320.1 MB, free: 11 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.001474/0.001474, allocations: 72.45 kB / 450.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1444, allocations: 59.15 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.5815/0.726, allocations: 186.1 MB / 0.6795 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004584/0.7306, allocations: 1.937 MB / 0.6814 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.7317, allocations: 15.88 kB / 0.6814 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.7332, allocations: 381.5 kB / 0.6818 GB, free: 13.69 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.002294/0.7356, allocations: 0.7933 MB / 0.6826 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.7388, allocations: 1.059 MB / 0.6836 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.7415, allocations: 1.875 MB / 0.6854 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.7428, allocations: 0.6472 MB / 0.6861 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.7447, allocations: 0.8176 MB / 0.6869 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.7462, allocations: 0.7787 MB / 0.6876 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000366/0.7466, allocations: 88 kB / 0.6877 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.7485, allocations: 0.6702 MB / 0.6884 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007033/0.7492, allocations: 0.8064 MB / 0.6891 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.7503, allocations: 0.9398 MB / 0.6901 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.753, allocations: 2.433 MB / 0.6924 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7531, allocations: 4 kB / 0.6924 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7531, allocations: 4 kB / 0.6925 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.243e-05/0.7531, allocations: 0 / 0.6925 GB, free: 2.738 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.003988/0.7571, allocations: 2.449 MB / 0.6948 GB, free: 228 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7572, allocations: 11.89 kB / 0.6949 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.7582, allocations: 310.6 kB / 0.6951 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.7602, allocations: 1.398 MB / 0.6965 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.7604, allocations: 91.7 kB / 0.6966 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.7605, allocations: 91.97 kB / 0.6967 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.7624, allocations: 1.141 MB / 0.6978 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.7624, allocations: 4 kB / 0.6978 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.7625, allocations: 44 kB / 0.6978 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.7626, allocations: 37.94 kB / 0.6979 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.7638, allocations: 0.8273 MB / 0.6987 GB, free: 12.14 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.007611/0.7714, allocations: 5.099 MB / 0.7037 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.7721, allocations: 313.3 kB / 0.704 GB, free: 6.484 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.7723, allocations: 138.5 kB / 0.7041 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.7724, allocations: 16.53 kB / 0.7041 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.7724, allocations: 46.5 kB / 0.7042 GB, free: 6.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.445e-06/0.7724, allocations: 0 / 0.7042 GB, free: 6.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.002768/0.7752, allocations: 1.704 MB / 0.7058 GB, free: 4.512 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.7753, allocations: 89.17 kB / 0.7059 GB, free: 4.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00399/0.7793, allocations: 3.414 MB / 0.7092 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.7794, allocations: 37.7 kB / 0.7093 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/0.7802, allocations: 0.9761 MB / 0.7102 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.7803, allocations: 150.7 kB / 0.7104 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.7805, allocations: 130.2 kB / 0.7105 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7807, allocations: 334 kB / 0.7108 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.781, allocations: 201.2 kB / 0.711 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.7815, allocations: 406.8 kB / 0.7114 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.7823, allocations: 0.5603 MB / 0.712 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7823, allocations: 4 kB / 0.712 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001279/0.7836, allocations: 0.8617 MB / 0.7128 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.7836, allocations: 8 kB / 0.7128 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.7836, allocations: 8.094 kB / 0.7128 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.7837, allocations: 12 kB / 0.7128 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.7848, allocations: 215.6 kB / 0.713 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000651/0.7854, allocations: 1.213 MB / 0.7142 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/0.7862, allocations: 32.03 kB / 0.7142 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.7862, allocations: 35.97 kB / 0.7143 GB, free: 11.59 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.0007025/0.7869, allocations: 0.5834 MB / 0.7148 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.7872, allocations: 230.5 kB / 0.7151 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.7881, allocations: 0.534 MB / 0.7156 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.7881, allocations: 7.984 kB / 0.7156 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7881, allocations: 4 kB / 0.7156 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.7881, allocations: 0 / 0.7156 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.7907, allocations: 1.802 MB / 0.7174 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7908, allocations: 3.984 kB / 0.7174 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.7915, allocations: 135.9 kB / 0.7175 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.7915, allocations: 0 / 0.7175 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.7916, allocations: 11.94 kB / 0.7175 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005754/0.7921, allocations: 1.206 MB / 0.7187 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.7922, allocations: 0 / 0.7187 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.7932, allocations: 0.769 MB / 0.7194 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007096/0.7939, allocations: 427.5 kB / 0.7198 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.7942, allocations: 12 kB / 0.7199 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007611/0.7949, allocations: 36.03 kB / 0.7199 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.795, allocations: 27.95 kB / 0.7199 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.7951, allocations: 19.98 kB / 0.7199 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003111/0.7982, allocations: 2.435 MB / 0.7223 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7982, allocations: 0 / 0.7223 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001019/0.7992, allocations: 335.7 kB / 0.7226 GB, free: 2.844 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.00139/0.8006, allocations: 0.5554 MB / 0.7232 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.8016, allocations: 467.2 kB / 0.7236 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8017, allocations: 8.688 kB / 0.7236 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.802, allocations: 167.6 kB / 0.7238 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.8044, allocations: 0.59 MB / 0.7244 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.8102, allocations: 3.72 MB / 0.728 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.8115, allocations: 1.472 MB / 0.7294 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001001/0.8126, allocations: 344.5 kB / 0.7298 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.8129, allocations: 107.4 kB / 0.7299 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of SimCode: time 2.936e-06/0.8129, allocations: 0 / 0.7299 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of Templates: time 0.04429/0.8572, allocations: 25.6 MB / 0.7549 GB, free: 1.699 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)