Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 246.2 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 191.2 kB / 301.4 MB, free: 9.113 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5207/0.5207, allocations: 94.16 MB / 450.7 MB, free: 9.59 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 79.88 kB / 0.6024 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1582, allocations: 75.54 MB / 0.6762 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008476/0.1667, allocations: 6.582 MB / 0.6826 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004648/0.1714, allocations: 1.974 MB / 0.6846 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.1723, allocations: 19.94 kB / 0.6846 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.1731, allocations: 238 kB / 0.6848 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.1754, allocations: 0.8418 MB / 0.6856 GB, free: 9.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.1768, allocations: 0.618 MB / 0.6862 GB, free: 9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.1787, allocations: 1.581 MB / 0.6878 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.1791, allocations: 230.4 kB / 0.688 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008888/0.18, allocations: 0.6573 MB / 0.6886 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.181, allocations: 0.8323 MB / 0.6895 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.1812, allocations: 124 kB / 0.6896 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000521/0.1817, allocations: 263.8 kB / 0.6898 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003179/0.182, allocations: 334.6 kB / 0.6901 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006141/0.1827, allocations: 0.6718 MB / 0.6908 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.1846, allocations: 1.673 MB / 0.6924 GB, free: 2.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1846, allocations: 0 / 0.6924 GB, free: 2.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1846, allocations: 0 / 0.6924 GB, free: 2.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2e-05/0.1846, allocations: 0 / 0.6924 GB, free: 2.625 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.3246/0.5093, allocations: 2.726 MB / 0.6951 GB, free: 23.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5093, allocations: 9.656 kB / 0.6951 GB, free: 23.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.5144, allocations: 0.783 MB / 0.6959 GB, free: 23.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.516, allocations: 0.8902 MB / 0.6967 GB, free: 23.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.5162, allocations: 264.4 kB / 0.697 GB, free: 23.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.5164, allocations: 84.58 kB / 0.6971 GB, free: 23.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.5184, allocations: 1.087 MB / 0.6981 GB, free: 23.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.5185, allocations: 0.5156 kB / 0.6981 GB, free: 23.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.5185, allocations: 30.97 kB / 0.6982 GB, free: 23.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.5186, allocations: 16.44 kB / 0.6982 GB, free: 23.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.5204, allocations: 0.9878 MB / 0.6991 GB, free: 23.04 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.006235/0.5266, allocations: 3.797 MB / 0.7029 GB, free: 21.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006838/0.5334, allocations: 2.294 MB / 0.7051 GB, free: 20.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.5348, allocations: 0.6149 MB / 0.7057 GB, free: 20.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.5349, allocations: 16.27 kB / 0.7057 GB, free: 20.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/0.5366, allocations: 0.8137 MB / 0.7065 GB, free: 19.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 4.117e-06/0.5366, allocations: 0 / 0.7065 GB, free: 19.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.02917/0.5658, allocations: 7.178 MB / 0.7135 GB, free: 18.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.5659, allocations: 117 kB / 0.7136 GB, free: 18.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.5674, allocations: 1.097 MB / 0.7147 GB, free: 17.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.5676, allocations: 45.83 kB / 0.7147 GB, free: 17.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.5679, allocations: 0.4889 MB / 0.7152 GB, free: 17.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.5682, allocations: 368.8 kB / 0.7156 GB, free: 17.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/0.5687, allocations: 283.4 kB / 0.7158 GB, free: 16.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.5687, allocations: 306.2 kB / 0.7161 GB, free: 16.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.5701, allocations: 0.7513 MB / 0.7169 GB, free: 16.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.5716, allocations: 0.9295 MB / 0.7178 GB, free: 15.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02159/0.5932, allocations: 5.553 MB / 0.7232 GB, free: 12.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.5932, allocations: 0 / 0.7232 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01248/0.6057, allocations: 4.35 MB / 0.7274 GB, free: 10.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.6058, allocations: 62.84 kB / 0.7275 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.6058, allocations: 3.562 kB / 0.7275 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005399/0.6112, allocations: 1.584 MB / 0.7291 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.6127, allocations: 280.5 kB / 0.7293 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.6307, allocations: 8.516 MB / 0.7376 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.6326, allocations: 203.2 kB / 0.7378 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.6329, allocations: 63.41 kB / 0.7379 GB, free: 3.699 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008/0.6337, allocations: 292.3 kB / 0.7382 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.634, allocations: 131.2 kB / 0.7383 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.6454, allocations: 3.846 MB / 0.7421 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.6455, allocations: 8 kB / 0.7421 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/0.6455, allocations: 8 kB / 0.7421 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.6455, allocations: 7.969 kB / 0.7421 GB, free: 15.36 MB / 0.4981 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 postOpt removeSimpleEquations (simulation): time 0.01669/0.6622, allocations: 5.425 MB / 0.7474 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.6622, allocations: 0 / 0.7474 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.6629, allocations: 100.8 kB / 0.7475 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005485/0.6683, allocations: 1.61 MB / 0.749 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.6686, allocations: 25.11 kB / 0.7491 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02162/0.6902, allocations: 9.638 MB / 0.7585 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6902, allocations: 0 / 0.7585 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/0.705, allocations: 4.719 MB / 0.7631 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/0.7056, allocations: 220 kB / 0.7633 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/0.706, allocations: 30.47 kB / 0.7633 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.7074, allocations: 107.9 kB / 0.7634 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007354/0.7082, allocations: 192.7 kB / 0.7636 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.7083, allocations: 27.98 kB / 0.7636 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001502/0.7098, allocations: 0.7392 MB / 0.7644 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7098, allocations: 0 / 0.7644 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001907/0.7117, allocations: 467.7 kB / 0.7648 GB, free: 7.684 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000374/0.7121, allocations: 145.8 kB / 0.7649 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006608/0.7187, allocations: 2.377 MB / 0.7673 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7187, allocations: 0 / 0.7673 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004941/0.7237, allocations: 1.538 MB / 0.7688 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.7255, allocations: 123.4 kB / 0.7689 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.7307, allocations: 2.248 MB / 0.7711 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009862/0.7317, allocations: 1.12 MB / 0.7722 GB, free: 32 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006201/0.7323, allocations: 115.7 kB / 0.7723 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.7327, allocations: 83.41 kB / 0.7724 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.342e-06/0.7327, allocations: 0 / 0.7724 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.04618/0.7789, allocations: 24.63 MB / 0.7964 GB, free: 7.266 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5615453058853745]