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.00101/0.00101, allocations: 86.56 kB / 16.31 MB, free: 6.449 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.001157/0.001157, allocations: 184.1 kB / 17.21 MB, free: 6.32 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.632/1.632, allocations: 205.4 MB / 223.4 MB, free: 5.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5019/0.5019, allocations: 48.76 MB / 320.4 MB, free: 3.812 MB / 254.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.0006565/0.0006566, allocations: 20 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1686, allocations: 60.26 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.551/0.7197, allocations: 169.6 MB / 0.6064 GB, free: 3.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.7241, allocations: 1.906 MB / 0.6083 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007394/0.7249, allocations: 11.94 kB / 0.6083 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.726, allocations: 262.3 kB / 0.6086 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.7278, allocations: 0.7584 MB / 0.6093 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.7306, allocations: 0.8341 MB / 0.6101 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003547/0.7342, allocations: 1.984 MB / 0.6121 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.7356, allocations: 0.5371 MB / 0.6126 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.7378, allocations: 0.724 MB / 0.6133 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.7392, allocations: 0.7672 MB / 0.614 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.7393, allocations: 40 kB / 0.6141 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.7413, allocations: 0.698 MB / 0.6148 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007335/0.742, allocations: 0.7792 MB / 0.6155 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.7424, allocations: 364.5 kB / 0.6159 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.7443, allocations: 1.85 MB / 0.6177 GB, free: 7.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7443, allocations: 4 kB / 0.6177 GB, free: 7.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.7443, allocations: 0 / 0.6177 GB, free: 7.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.7444, allocations: 0 / 0.6177 GB, free: 7.961 MB / 494.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.00333/0.7477, allocations: 2.012 MB / 0.6196 GB, free: 5.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7478, allocations: 8.031 kB / 0.6197 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.7486, allocations: 306.7 kB / 0.6199 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.7505, allocations: 1.281 MB / 0.6212 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.7506, allocations: 99.64 kB / 0.6213 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.7507, allocations: 99.89 kB / 0.6214 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.7526, allocations: 1.132 MB / 0.6225 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.7526, allocations: 7.938 kB / 0.6225 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.7527, allocations: 40 kB / 0.6225 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/0.7528, allocations: 37.98 kB / 0.6226 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.7541, allocations: 0.8119 MB / 0.6234 GB, free: 1.945 MB / 494.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.3258/1.08, allocations: 5.156 MB / 0.6284 GB, free: 153.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/1.08, allocations: 310.2 kB / 0.6287 GB, free: 153.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/1.081, allocations: 143.6 kB / 0.6288 GB, free: 153.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/1.081, allocations: 9.078 kB / 0.6288 GB, free: 153.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/1.081, allocations: 46.59 kB / 0.6289 GB, free: 153.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 2.595e-06/1.081, allocations: 0 / 0.6289 GB, free: 153.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.002557/1.083, allocations: 1.653 MB / 0.6305 GB, free: 152.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.083, allocations: 87.08 kB / 0.6306 GB, free: 152.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004576/1.088, allocations: 3.407 MB / 0.6339 GB, free: 152.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/1.088, allocations: 38.98 kB / 0.634 GB, free: 152.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007784/1.089, allocations: 0.9586 MB / 0.6349 GB, free: 151.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.089, allocations: 147.8 kB / 0.635 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/1.089, allocations: 11.09 kB / 0.635 GB, free: 151.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/1.089, allocations: 340.9 kB / 0.6354 GB, free: 151.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/1.09, allocations: 205.4 kB / 0.6356 GB, free: 151.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/1.09, allocations: 393.5 kB / 0.6359 GB, free: 150.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/1.09, allocations: 266.8 kB / 0.6362 GB, free: 150.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.09, allocations: 0 / 0.6362 GB, free: 150.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001429/1.092, allocations: 0.8448 MB / 0.637 GB, free: 150.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.092, allocations: 6.062 kB / 0.637 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.092, allocations: 6.062 kB / 0.637 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/1.092, allocations: 16.14 kB / 0.637 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009883/1.093, allocations: 218.7 kB / 0.6372 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004669/1.093, allocations: 1.21 MB / 0.6384 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008591/1.094, allocations: 44.56 kB / 0.6385 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/1.094, allocations: 32.77 kB / 0.6385 GB, free: 149.1 MB / 494.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 (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.0008429/1.095, allocations: 0.5864 MB / 0.6391 GB, free: 148.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/1.096, allocations: 219.8 kB / 0.6393 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008777/1.097, allocations: 0.5379 MB / 0.6398 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.097, allocations: 6.625 kB / 0.6398 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.097, allocations: 0 / 0.6398 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.097, allocations: 6.188 kB / 0.6398 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/1.099, allocations: 1.812 MB / 0.6416 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.099, allocations: 1.062 kB / 0.6416 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/1.1, allocations: 134.1 kB / 0.6417 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.1, allocations: 2.438 kB / 0.6417 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/1.1, allocations: 6.969 kB / 0.6417 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004899/1.101, allocations: 1.201 MB / 0.6429 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.101, allocations: 1.031 kB / 0.6429 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/1.102, allocations: 0.764 MB / 0.6437 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/1.103, allocations: 426.8 kB / 0.6441 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/1.103, allocations: 16.03 kB / 0.6441 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/1.103, allocations: 38.44 kB / 0.6441 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/1.104, allocations: 29.3 kB / 0.6441 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/1.104, allocations: 24.59 kB / 0.6442 GB, free: 145.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004416/1.108, allocations: 2.428 MB / 0.6465 GB, free: 145 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.11e-07/1.108, allocations: 0.9375 kB / 0.6465 GB, free: 145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001875/1.11, allocations: 335.6 kB / 0.6469 GB, free: 145 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 (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.00159/1.112, allocations: 0.4932 MB / 0.6473 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/1.113, allocations: 473.8 kB / 0.6478 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.113, allocations: 6.578 kB / 0.6478 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/1.113, allocations: 166.3 kB / 0.648 GB, free: 144.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/1.116, allocations: 0.5757 MB / 0.6485 GB, free: 144.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/1.124, allocations: 4.076 MB / 0.6525 GB, free: 142.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/1.125, allocations: 1.465 MB / 0.6539 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001809/1.127, allocations: 341.4 kB / 0.6543 GB, free: 141.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/1.127, allocations: 111.9 kB / 0.6544 GB, free: 141.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.322e-06/1.127, allocations: 0 / 0.6544 GB, free: 141.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05061/1.178, allocations: 25.17 MB / 0.6789 GB, free: 127.9 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: