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.001174/0.001175, allocations: 109.9 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.001074/0.001074, allocations: 200 kB / 18.01 MB, free: 5.055 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.347/1.347, 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.2873/0.2873, allocations: 48.85 MB / 320.1 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.001718/0.001718, allocations: 67.89 kB / 450.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1202, allocations: 59.16 MB / 0.4977 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4462/0.5664, allocations: 186.2 MB / 0.6795 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003639/0.5701, allocations: 1.937 MB / 0.6814 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.5709, allocations: 15.94 kB / 0.6814 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.572, allocations: 377.5 kB / 0.6818 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.00187/0.574, allocations: 0.7972 MB / 0.6826 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.5767, allocations: 1.064 MB / 0.6836 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.579, allocations: 1.867 MB / 0.6854 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.58, allocations: 0.6536 MB / 0.6861 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.5814, allocations: 0.8241 MB / 0.6869 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.5826, allocations: 0.7866 MB / 0.6876 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.5828, allocations: 84 kB / 0.6877 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.5844, allocations: 0.6702 MB / 0.6884 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000656/0.585, allocations: 0.7986 MB / 0.6891 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.5861, allocations: 0.9437 MB / 0.6901 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.5887, allocations: 2.43 MB / 0.6924 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5887, allocations: 0 / 0.6924 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5888, allocations: 0 / 0.6924 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.644e-05/0.5888, allocations: 0 / 0.6924 GB, free: 2.762 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.004218/0.593, allocations: 2.369 MB / 0.6948 GB, free: 336 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5931, allocations: 15.89 kB / 0.6948 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.5941, allocations: 301 kB / 0.6951 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.5966, allocations: 1.386 MB / 0.6964 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.5967, allocations: 91.7 kB / 0.6965 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.5968, allocations: 88 kB / 0.6966 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.5986, allocations: 1.145 MB / 0.6977 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.5987, allocations: 0 / 0.6977 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.5988, allocations: 40 kB / 0.6977 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.5988, allocations: 34 kB / 0.6978 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.6001, allocations: 0.8311 MB / 0.6986 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.007394/0.6075, allocations: 5.082 MB / 0.7035 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.6081, allocations: 313.2 kB / 0.7038 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.6083, allocations: 145.7 kB / 0.704 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.6084, allocations: 8.531 kB / 0.704 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.6084, allocations: 50.5 kB / 0.704 GB, free: 6.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.6084, allocations: 0 / 0.704 GB, free: 6.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.002466/0.6109, allocations: 1.651 MB / 0.7057 GB, free: 4.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.611, allocations: 85.23 kB / 0.7057 GB, free: 4.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.6148, allocations: 3.414 MB / 0.7091 GB, free: 1.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.6149, allocations: 41.7 kB / 0.7091 GB, free: 1.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/0.6156, allocations: 0.9633 MB / 0.71 GB, free: 152 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.6157, allocations: 142 kB / 0.7102 GB, free: 8 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.6159, allocations: 134.2 kB / 0.7103 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6161, allocations: 330 kB / 0.7106 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.6164, allocations: 205.2 kB / 0.7108 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.6169, allocations: 398 kB / 0.7112 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.6176, allocations: 0.5681 MB / 0.7118 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6177, allocations: 0.875 kB / 0.7118 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001279/0.6189, allocations: 0.8451 MB / 0.7126 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.619, allocations: 16.09 kB / 0.7126 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.619, allocations: 8 kB / 0.7126 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.619, allocations: 8 kB / 0.7126 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.6201, allocations: 213.8 kB / 0.7128 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006567/0.6208, allocations: 1.215 MB / 0.714 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.6215, allocations: 23.98 kB / 0.714 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.6216, allocations: 28 kB / 0.7141 GB, free: 11.81 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.0006801/0.6222, allocations: 0.5911 MB / 0.7146 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.6225, allocations: 217.3 kB / 0.7148 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008344/0.6234, allocations: 0.5404 MB / 0.7154 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.6234, allocations: 7.938 kB / 0.7154 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6234, allocations: 0 / 0.7154 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6234, allocations: 3.984 kB / 0.7154 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.6261, allocations: 1.81 MB / 0.7171 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.6261, allocations: 3.984 kB / 0.7171 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/0.6268, allocations: 138.3 kB / 0.7173 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6269, allocations: 4 kB / 0.7173 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.6269, allocations: 12 kB / 0.7173 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005494/0.6275, allocations: 1.195 MB / 0.7185 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6275, allocations: 0 / 0.7185 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009993/0.6285, allocations: 0.7639 MB / 0.7192 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008844/0.6294, allocations: 418.3 kB / 0.7196 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.6296, allocations: 12 kB / 0.7196 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007442/0.6303, allocations: 32.06 kB / 0.7197 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.6304, allocations: 23.97 kB / 0.7197 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.6304, allocations: 27.97 kB / 0.7197 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002799/0.6333, allocations: 2.435 MB / 0.7221 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6333, allocations: 0 / 0.7221 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009435/0.6342, allocations: 332 kB / 0.7224 GB, free: 3.086 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.001332/0.6356, allocations: 0.5576 MB / 0.7229 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008977/0.6365, allocations: 471.2 kB / 0.7234 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6365, allocations: 0.5625 kB / 0.7234 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.6368, allocations: 167.6 kB / 0.7235 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.6394, allocations: 0.5941 MB / 0.7241 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.6442, allocations: 3.657 MB / 0.7277 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.6453, allocations: 1.468 MB / 0.7291 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008433/0.6462, allocations: 348.4 kB / 0.7295 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.6465, allocations: 107.4 kB / 0.7296 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.6465, allocations: 4 kB / 0.7296 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of Templates: time 0.04437/0.6909, allocations: 26.14 MB / 0.7551 GB, free: 1.453 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)