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.001307/0.001307, allocations: 108 kB / 16.92 MB, free: 6.332 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.001062/0.001062, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.426/1.426, allocations: 205.1 MB / 223.7 MB, free: 12.35 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3231/0.3231, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.001611/0.001611, allocations: 63.42 kB / 390.1 MB, free: 48.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1313, allocations: 59.17 MB / 449.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.5174/0.6487, allocations: 186.1 MB / 0.6205 GB, free: 8.707 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003977/0.6527, allocations: 1.94 MB / 0.6224 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.6531, allocations: 13.72 kB / 0.6224 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.6542, allocations: 379 kB / 0.6228 GB, free: 6.797 MB / 446.1 MB [/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.001338/0.6556, allocations: 0.7913 MB / 0.6235 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.6585, allocations: 1.069 MB / 0.6246 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.6606, allocations: 1.868 MB / 0.6264 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/0.6614, allocations: 0.6564 MB / 0.627 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.6626, allocations: 0.81 MB / 0.6278 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009101/0.6635, allocations: 0.787 MB / 0.6286 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.6637, allocations: 87.94 kB / 0.6287 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.6653, allocations: 0.7482 MB / 0.6294 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000596/0.6659, allocations: 0.8025 MB / 0.6302 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008494/0.6667, allocations: 0.932 MB / 0.6311 GB, free: 384 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.6696, allocations: 2.426 MB / 0.6335 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6696, allocations: 0 / 0.6335 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6696, allocations: 0 / 0.6335 GB, free: 13.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.836e-05/0.6696, allocations: 3.938 kB / 0.6335 GB, free: 13.94 MB / 462.1 MB 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.003727/0.6734, allocations: 2.373 MB / 0.6358 GB, free: 11.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6734, allocations: 15.89 kB / 0.6358 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008865/0.6743, allocations: 309.7 kB / 0.6361 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.6763, allocations: 1.376 MB / 0.6375 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.6764, allocations: 95.69 kB / 0.6375 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6766, allocations: 84 kB / 0.6376 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.6783, allocations: 1.136 MB / 0.6387 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.6783, allocations: 0 / 0.6387 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.6784, allocations: 44 kB / 0.6388 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-05/0.6785, allocations: 37.98 kB / 0.6388 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.6798, allocations: 0.8204 MB / 0.6396 GB, free: 7.461 MB / 462.1 MB 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.007314/0.6871, allocations: 5.188 MB / 0.6447 GB, free: 2.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.6878, allocations: 329.1 kB / 0.645 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.688, allocations: 141.7 kB / 0.6451 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.6881, allocations: 11.98 kB / 0.6451 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.6881, allocations: 46.55 kB / 0.6452 GB, free: 1.484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.683e-06/0.6881, allocations: 0 / 0.6452 GB, free: 1.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002506/0.6906, allocations: 1.651 MB / 0.6468 GB, free: 15.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.6907, allocations: 81.11 kB / 0.6469 GB, free: 15.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.6945, allocations: 3.414 MB / 0.6502 GB, free: 12.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.6946, allocations: 37.7 kB / 0.6502 GB, free: 12.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000827/0.6954, allocations: 0.9635 MB / 0.6512 GB, free: 11.22 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.6955, allocations: 141.9 kB / 0.6513 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.6957, allocations: 134.1 kB / 0.6514 GB, free: 10.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6959, allocations: 330 kB / 0.6518 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.6962, allocations: 213.1 kB / 0.652 GB, free: 10.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.6967, allocations: 394 kB / 0.6523 GB, free: 9.941 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007663/0.6975, allocations: 0.5696 MB / 0.6529 GB, free: 9.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6975, allocations: 0 / 0.6529 GB, free: 9.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001292/0.6988, allocations: 0.8445 MB / 0.6537 GB, free: 8.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6988, allocations: 7.938 kB / 0.6537 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6988, allocations: 8 kB / 0.6537 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.6989, allocations: 8.719 kB / 0.6537 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.6999, allocations: 223.7 kB / 0.654 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006683/0.7006, allocations: 1.205 MB / 0.6551 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/0.7013, allocations: 36.17 kB / 0.6552 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.7014, allocations: 31.98 kB / 0.6552 GB, free: 6.879 MB / 478.1 MB 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.0007093/0.7021, allocations: 0.5871 MB / 0.6558 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.7024, allocations: 217.3 kB / 0.656 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.7032, allocations: 0.5415 MB / 0.6565 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.7032, allocations: 7.938 kB / 0.6565 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7032, allocations: 3.938 kB / 0.6565 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7033, allocations: 8 kB / 0.6565 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.7057, allocations: 1.802 MB / 0.6583 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7057, allocations: 3.938 kB / 0.6583 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007107/0.7064, allocations: 133.5 kB / 0.6584 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7065, allocations: 64 / 0.6584 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.7065, allocations: 12 kB / 0.6584 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006341/0.7071, allocations: 1.191 MB / 0.6596 GB, free: 2.242 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7072, allocations: 4 kB / 0.6596 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.7082, allocations: 0.7705 MB / 0.6604 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/0.7088, allocations: 418.3 kB / 0.6607 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.709, allocations: 8 kB / 0.6608 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000708/0.7098, allocations: 31.97 kB / 0.6608 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.7098, allocations: 31.95 kB / 0.6608 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.7099, allocations: 23.98 kB / 0.6608 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002828/0.7127, allocations: 2.427 MB / 0.6632 GB, free: 14.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7127, allocations: 0 / 0.6632 GB, free: 14.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000939/0.7137, allocations: 335.9 kB / 0.6635 GB, free: 14.16 MB / 494.1 MB 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.001438/0.7151, allocations: 0.5648 MB / 0.6641 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000984/0.7161, allocations: 477.9 kB / 0.6645 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.7161, allocations: 6.125 kB / 0.6645 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.7165, allocations: 168.2 kB / 0.6647 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.719, allocations: 0.5777 MB / 0.6653 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.7239, allocations: 3.721 MB / 0.6689 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.725, allocations: 1.472 MB / 0.6703 GB, free: 7.109 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001006/0.726, allocations: 344.4 kB / 0.6707 GB, free: 6.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.7263, allocations: 107.4 kB / 0.6708 GB, free: 6.664 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7263, allocations: 4 kB / 0.6708 GB, free: 6.66 MB / 494.1 MB Notification: Performance of Templates: time 0.04816/0.7745, allocations: 27.22 MB / 0.6974 GB, free: 11.39 MB / 0.5137 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)