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.001248/0.001248, allocations: 180.6 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008687/0.000869, allocations: 81.27 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5445/0.5445, allocations: 48.77 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.569e-05, allocations: 4 kB / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1386, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.236/2.375, allocations: 0.7541 GB / 1.228 GB, free: 69.32 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/2.375, allocations: 85.41 kB / 1.228 GB, free: 69.24 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.793/4.168, allocations: 469.9 MB / 1.687 GB, free: 10.12 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.904e-06/4.168, allocations: 0 / 1.687 GB, free: 10.12 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0002632/4.169, allocations: 39.98 kB / 1.687 GB, free: 10.09 MB / 0.5108 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.004676/4.173, allocations: 1.702 MB / 1.689 GB, free: 8.328 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/4.173, allocations: 16.03 kB / 1.689 GB, free: 8.312 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/4.175, allocations: 297.1 kB / 1.689 GB, free: 8.02 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/4.178, allocations: 1.423 MB / 1.691 GB, free: 6.523 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/4.179, allocations: 67.7 kB / 1.691 GB, free: 6.453 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/4.179, allocations: 48 kB / 1.691 GB, free: 6.406 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001421/4.18, allocations: 0.7068 MB / 1.691 GB, free: 5.699 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/4.182, allocations: 0.9685 MB / 1.692 GB, free: 4.676 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/4.182, allocations: 4 kB / 1.692 GB, free: 4.672 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/4.182, allocations: 7.938 kB / 1.692 GB, free: 4.664 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/4.182, allocations: 34 kB / 1.692 GB, free: 4.629 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.4399/4.622, allocations: 4.888 MB / 1.697 GB, free: 90.1 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008292/4.623, allocations: 287.2 kB / 1.697 GB, free: 90.05 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/4.623, allocations: 121.8 kB / 1.698 GB, free: 90.04 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 5.788e-05/4.623, allocations: 8.281 kB / 1.698 GB, free: 90.04 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/4.623, allocations: 47.38 kB / 1.698 GB, free: 90 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=38): time 3.687e-06/4.623, allocations: 1.375 kB / 1.698 GB, free: 90 MB / 0.5108 GB Notification: Performance of matching and sorting (n=40): time 0.002869/4.626, allocations: 1.447 MB / 1.699 GB, free: 89.25 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/4.626, allocations: 84.3 kB / 1.699 GB, free: 89.16 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004913/4.631, allocations: 2.571 MB / 1.702 GB, free: 88.94 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/4.631, allocations: 29.72 kB / 1.702 GB, free: 88.91 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/4.632, allocations: 0.9759 MB / 1.703 GB, free: 88.68 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/4.632, allocations: 138.3 kB / 1.703 GB, free: 88.61 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/4.632, allocations: 0 / 1.703 GB, free: 88.61 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/4.632, allocations: 334.2 kB / 1.703 GB, free: 88.31 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/4.633, allocations: 184.3 kB / 1.703 GB, free: 88.31 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/4.633, allocations: 375.7 kB / 1.704 GB, free: 88.09 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/4.634, allocations: 240.1 kB / 1.704 GB, free: 88.09 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/4.634, allocations: 1.875 kB / 1.704 GB, free: 88.09 MB / 0.5108 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001476/4.635, allocations: 0.7382 MB / 1.705 GB, free: 87.95 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/4.635, allocations: 8.375 kB / 1.705 GB, free: 87.95 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/4.635, allocations: 5.562 kB / 1.705 GB, free: 87.95 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/4.635, allocations: 13.27 kB / 1.705 GB, free: 87.95 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/4.636, allocations: 217.5 kB / 1.705 GB, free: 87.95 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005449/4.637, allocations: 1.214 MB / 1.706 GB, free: 86.79 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/4.638, allocations: 26.52 kB / 1.706 GB, free: 86.79 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/4.638, allocations: 33.78 kB / 1.706 GB, free: 86.79 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: GTunit.ZLPout_ISO:VARIABLE(unit = "W" ) "zero_loss power output, referred to ISO conditions " type: Real 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 () * 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.0002405/4.638, allocations: 129.9 kB / 1.706 GB, free: 86.68 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/4.638, allocations: 187.3 kB / 1.706 GB, free: 86.58 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/4.639, allocations: 478.9 kB / 1.707 GB, free: 86.53 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/4.639, allocations: 9.375 kB / 1.707 GB, free: 86.53 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/4.639, allocations: 0.6562 kB / 1.707 GB, free: 86.53 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/4.639, allocations: 2.156 kB / 1.707 GB, free: 86.53 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/4.643, allocations: 1.872 MB / 1.709 GB, free: 86.15 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/4.643, allocations: 3.953 kB / 1.709 GB, free: 86.14 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006999/4.643, allocations: 135.8 kB / 1.709 GB, free: 86.14 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/4.643, allocations: 7.281 kB / 1.709 GB, free: 86.14 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/4.643, allocations: 3.391 kB / 1.709 GB, free: 86.14 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000431/4.644, allocations: 1.201 MB / 1.71 GB, free: 84.97 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/4.644, allocations: 6.047 kB / 1.71 GB, free: 84.97 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/4.645, allocations: 0.7212 MB / 1.711 GB, free: 84.66 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006859/4.645, allocations: 449.6 kB / 1.711 GB, free: 84.47 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/4.646, allocations: 3.188 kB / 1.711 GB, free: 84.47 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/4.646, allocations: 36.44 kB / 1.711 GB, free: 84.47 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/4.646, allocations: 20.09 kB / 1.711 GB, free: 84.47 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/4.646, allocations: 30.23 kB / 1.711 GB, free: 84.47 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.00243/4.649, allocations: 1.96 MB / 1.713 GB, free: 84.32 MB / 0.5108 GB Notification: Performance of sort global known variables: time 3.91e-07/4.649, allocations: 1.469 kB / 1.713 GB, free: 84.32 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001579/4.65, allocations: 387 kB / 1.713 GB, free: 84.32 MB / 0.5108 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 () * 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.002411/4.653, allocations: 1.285 MB / 1.715 GB, free: 84.11 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0009367/4.654, allocations: 420.6 kB / 1.715 GB, free: 84.11 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/4.654, allocations: 3.516 kB / 1.715 GB, free: 84.11 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/4.654, allocations: 148.8 kB / 1.715 GB, free: 84.11 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/4.656, allocations: 273.1 kB / 1.715 GB, free: 84.09 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/4.661, allocations: 2.92 MB / 1.718 GB, free: 83.46 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/4.662, allocations: 1.507 MB / 1.72 GB, free: 82.74 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.00116/4.663, allocations: 323.3 kB / 1.72 GB, free: 82.73 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/4.663, allocations: 97.53 kB / 1.72 GB, free: 82.72 MB / 0.5108 GB Notification: Performance of SimCode: time 2.154e-06/4.663, allocations: 0 / 1.72 GB, free: 82.72 MB / 0.5108 GB Notification: Performance of Templates: time 0.04617/4.709, allocations: 21.26 MB / 1.741 GB, free: 82.3 MB / 0.5108 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)