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.001229/0.001234, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.356/1.356, allocations: 205.1 MB / 223.1 MB, free: 8.477 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.0009729/0.000973, allocations: 109.3 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4086/0.4086, allocations: 48.84 MB / 366.7 MB, free: 46.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 51.92 kB / 436.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1242, allocations: 59.16 MB / 495.8 MB, free: 156 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4009/0.5251, allocations: 184.5 MB / 0.6643 GB, free: 10.74 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.5286, allocations: 1.983 MB / 0.6662 GB, free: 8.754 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.529, allocations: 15.88 kB / 0.6663 GB, free: 8.738 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009969/0.53, allocations: 322.3 kB / 0.6666 GB, free: 8.422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.5313, allocations: 0.7626 MB / 0.6673 GB, free: 7.656 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.5338, allocations: 0.9843 MB / 0.6683 GB, free: 6.691 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.5362, allocations: 2.343 MB / 0.6706 GB, free: 4.344 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006551/0.5368, allocations: 0.5577 MB / 0.6711 GB, free: 3.781 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000979/0.5378, allocations: 0.7317 MB / 0.6718 GB, free: 3.047 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000822/0.5386, allocations: 0.8176 MB / 0.6726 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.5388, allocations: 44 kB / 0.6727 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.5405, allocations: 0.9431 MB / 0.6736 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.5411, allocations: 0.7712 MB / 0.6743 GB, free: 476 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000776/0.5419, allocations: 0.8812 MB / 0.6752 GB, free: 15.58 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.5442, allocations: 2.449 MB / 0.6776 GB, free: 13.12 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5442, allocations: 3.938 kB / 0.6776 GB, free: 13.12 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.041e-06/0.5442, allocations: 0 / 0.6776 GB, free: 13.12 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.5442, allocations: 0 / 0.6776 GB, free: 13.12 MB / 0.4949 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.003686/0.5479, allocations: 2.368 MB / 0.6799 GB, free: 10.69 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.548, allocations: 8.031 kB / 0.6799 GB, free: 10.68 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/0.5489, allocations: 305 kB / 0.6802 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.5509, allocations: 1.38 MB / 0.6816 GB, free: 8.93 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.762e-05/0.551, allocations: 91.7 kB / 0.6816 GB, free: 8.832 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5512, allocations: 88 kB / 0.6817 GB, free: 8.746 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.5528, allocations: 1.144 MB / 0.6828 GB, free: 7.547 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.5528, allocations: 0 / 0.6828 GB, free: 7.547 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/0.5529, allocations: 40 kB / 0.6829 GB, free: 7.508 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.553, allocations: 38 kB / 0.6829 GB, free: 7.469 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.5542, allocations: 0.8196 MB / 0.6837 GB, free: 6.652 MB / 0.4949 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.007539/0.5618, allocations: 5.188 MB / 0.6888 GB, free: 1.227 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.5625, allocations: 317.1 kB / 0.6891 GB, free: 0.8984 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.5627, allocations: 145.7 kB / 0.6892 GB, free: 0.75 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.5628, allocations: 4 kB / 0.6892 GB, free: 0.7461 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.5628, allocations: 50.44 kB / 0.6893 GB, free: 0.6875 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/0.5628, allocations: 0 / 0.6893 GB, free: 0.6875 MB / 0.4949 GB Notification: Performance of matching and sorting (n=40): time 0.2258/0.7886, allocations: 1.653 MB / 0.6909 GB, free: 167.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.7887, allocations: 82.08 kB / 0.691 GB, free: 167.2 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/0.7933, allocations: 3.415 MB / 0.6943 GB, free: 167 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 9.723e-05/0.7935, allocations: 37.95 kB / 0.6943 GB, free: 167 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006872/0.7942, allocations: 0.9628 MB / 0.6953 GB, free: 166.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 9.239e-05/0.7943, allocations: 142.5 kB / 0.6954 GB, free: 166.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.7945, allocations: 133.7 kB / 0.6955 GB, free: 166.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.7945, allocations: 333.8 kB / 0.6959 GB, free: 165.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.7949, allocations: 204.5 kB / 0.6961 GB, free: 165.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.7953, allocations: 395.2 kB / 0.6964 GB, free: 165.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.796, allocations: 0.5655 MB / 0.697 GB, free: 165.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.796, allocations: 2.406 kB / 0.697 GB, free: 165.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001274/0.7973, allocations: 0.8434 MB / 0.6978 GB, free: 164.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.7974, allocations: 12.25 kB / 0.6978 GB, free: 164.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.7974, allocations: 6.062 kB / 0.6978 GB, free: 164.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.7974, allocations: 13.84 kB / 0.6978 GB, free: 164.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.7985, allocations: 220.1 kB / 0.6981 GB, free: 164.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004476/0.7989, allocations: 1.214 MB / 0.6992 GB, free: 163.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.7998, allocations: 36.06 kB / 0.6993 GB, free: 163.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.7999, allocations: 33 kB / 0.6993 GB, free: 163.5 MB / 0.4949 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.0007579/0.8006, allocations: 0.5895 MB / 0.6999 GB, free: 163.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.8009, allocations: 214.5 kB / 0.7001 GB, free: 163.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008285/0.8018, allocations: 0.5423 MB / 0.7006 GB, free: 163 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8018, allocations: 9.578 kB / 0.7006 GB, free: 163 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8018, allocations: 2.938 kB / 0.7006 GB, free: 163 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.8018, allocations: 2.484 kB / 0.7006 GB, free: 163 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.8045, allocations: 1.802 MB / 0.7024 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8045, allocations: 0 / 0.7024 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/0.8052, allocations: 136.3 kB / 0.7025 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.8053, allocations: 6.812 kB / 0.7025 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.8053, allocations: 8.078 kB / 0.7025 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003788/0.8057, allocations: 1.194 MB / 0.7037 GB, free: 160.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.8057, allocations: 5.719 kB / 0.7037 GB, free: 160.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.8159, allocations: 5.787 MB / 0.7094 GB, free: 158 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.8167, allocations: 414.9 kB / 0.7098 GB, free: 157.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.8169, allocations: 10.12 kB / 0.7098 GB, free: 157.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/0.8176, allocations: 45.12 kB / 0.7098 GB, free: 157.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.8177, allocations: 32.97 kB / 0.7098 GB, free: 157.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.8178, allocations: 25.55 kB / 0.7099 GB, free: 157.7 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002367/0.8201, allocations: 2.427 MB / 0.7122 GB, free: 157 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8202, allocations: 0 / 0.7122 GB, free: 157 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001165/0.8213, allocations: 0.5127 MB / 0.7127 GB, free: 156.9 MB / 0.4949 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.001355/0.8227, allocations: 0.6135 MB / 0.7133 GB, free: 156.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0008325/0.8235, allocations: 460.4 kB / 0.7138 GB, free: 156.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.8236, allocations: 3.469 kB / 0.7138 GB, free: 156.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.8239, allocations: 177 kB / 0.7139 GB, free: 156.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.8262, allocations: 0.5683 MB / 0.7145 GB, free: 156.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.8309, allocations: 4.453 MB / 0.7188 GB, free: 154.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.832, allocations: 1.481 MB / 0.7203 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001066/0.833, allocations: 349.9 kB / 0.7206 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.8334, allocations: 116.7 kB / 0.7207 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.002e-06/0.8334, allocations: 0 / 0.7207 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.04375/0.8771, allocations: 27.76 MB / 0.7478 GB, free: 137.6 MB / 0.4949 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)