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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 223.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008138/0.0008137, allocations: 85.5 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4632/0.4632, allocations: 48.78 MB / 369 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003888, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 60.25 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.903/2.052, allocations: 0.755 GB / 1.243 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/2.052, allocations: 83.83 kB / 1.243 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.892/3.944, allocations: 476.2 MB / 1.708 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.854e-06/3.944, allocations: 2.344 kB / 1.709 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001299/3.944, allocations: 40.52 kB / 1.709 GB, free: 91.09 MB / 0.5105 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.003585/3.948, allocations: 2.085 MB / 1.711 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/3.948, allocations: 8.812 kB / 1.711 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008555/3.949, allocations: 297.8 kB / 1.711 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/3.951, allocations: 1.52 MB / 1.712 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.304e-05/3.952, allocations: 96.88 kB / 1.712 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/3.952, allocations: 88.8 kB / 1.713 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/3.953, allocations: 1.117 MB / 1.714 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/3.953, allocations: 10.69 kB / 1.714 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/3.953, allocations: 39.09 kB / 1.714 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/3.953, allocations: 44.58 kB / 1.714 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/3.955, allocations: 0.787 MB / 1.714 GB, free: 89.41 MB / 0.5105 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.007937/3.963, allocations: 5.218 MB / 1.72 GB, free: 87.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/3.963, allocations: 316 kB / 1.72 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/3.964, allocations: 143.8 kB / 1.72 GB, free: 87.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/3.964, allocations: 4.094 kB / 1.72 GB, free: 87.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/3.964, allocations: 48 kB / 1.72 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=38): time 3.627e-06/3.964, allocations: 0 / 1.72 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.003108/3.967, allocations: 1.656 MB / 1.722 GB, free: 86.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/3.967, allocations: 89.53 kB / 1.722 GB, free: 86.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/3.972, allocations: 3.373 MB / 1.725 GB, free: 85.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/3.972, allocations: 40.08 kB / 1.725 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008595/3.973, allocations: 0.983 MB / 1.726 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/3.973, allocations: 144.3 kB / 1.726 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/3.973, allocations: 16.09 kB / 1.726 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001059/3.973, allocations: 331.8 kB / 1.727 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/3.974, allocations: 207.7 kB / 1.727 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/3.974, allocations: 400.1 kB / 1.727 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009789/3.975, allocations: 0.5637 MB / 1.728 GB, free: 84.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/3.975, allocations: 1.781 kB / 1.728 GB, free: 84.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002073/3.977, allocations: 0.8506 MB / 1.728 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/3.978, allocations: 13.95 kB / 1.729 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/3.978, allocations: 3.875 kB / 1.729 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/3.978, allocations: 11.69 kB / 1.729 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/3.979, allocations: 222.4 kB / 1.729 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005551/3.979, allocations: 1.204 MB / 1.73 GB, free: 83.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/3.98, allocations: 47.81 kB / 1.73 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/3.98, allocations: 31.31 kB / 1.73 GB, free: 83.43 MB / 0.5105 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 (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.001401/3.982, allocations: 0.5994 MB / 1.731 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/3.982, allocations: 220.5 kB / 1.731 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/3.983, allocations: 0.5332 MB / 1.731 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/3.983, allocations: 9.031 kB / 1.731 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/3.983, allocations: 0.7969 kB / 1.731 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/3.983, allocations: 6.156 kB / 1.731 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/3.987, allocations: 2.017 MB / 1.733 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/3.987, allocations: 1.375 kB / 1.733 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/3.988, allocations: 135.7 kB / 1.733 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/3.988, allocations: 2.656 kB / 1.733 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/3.988, allocations: 11.06 kB / 1.733 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005462/3.989, allocations: 1.199 MB / 1.735 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/3.989, allocations: 1.281 kB / 1.735 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/3.99, allocations: 0.761 MB / 1.735 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/3.991, allocations: 495.6 kB / 1.736 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004759/3.992, allocations: 14.36 kB / 1.736 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/3.993, allocations: 42.91 kB / 1.736 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/3.993, allocations: 28.5 kB / 1.736 GB, free: 81.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/3.993, allocations: 24.83 kB / 1.736 GB, free: 81.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005504/3.999, allocations: 2.401 MB / 1.738 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.134e-06/3.999, allocations: 0 / 1.738 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002542/4.001, allocations: 443.6 kB / 1.739 GB, free: 80.88 MB / 0.5105 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 (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.003682/4.005, allocations: 1.177 MB / 1.74 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001583/4.007, allocations: 472.5 kB / 1.74 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/4.007, allocations: 2.891 kB / 1.74 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/4.007, allocations: 171.3 kB / 1.74 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004443/4.012, allocations: 0.5679 MB / 1.741 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009927/4.021, allocations: 4.184 MB / 1.745 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/4.024, allocations: 1.474 MB / 1.747 GB, free: 78.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00218/4.026, allocations: 375.1 kB / 1.747 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/4.027, allocations: 118.6 kB / 1.747 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/4.027, allocations: 0 / 1.747 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.07529/4.102, allocations: 38.03 MB / 1.784 GB, free: 77.03 MB / 0.5105 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)