Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.001779/0.001779, allocations: 104 kB / 16.45 MB, free: 6.457 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.403/1.403, allocations: 225.6 MB / 244.8 MB, free: 14.2 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.002027/0.002027, allocations: 191.9 kB / 299.8 MB, free: 9.852 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4478/0.4478, allocations: 79.71 MB / 434.4 MB, free: 6.625 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 87.86 kB / 0.5789 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1423, allocations: 72.09 MB / 0.6493 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01532/0.1576, allocations: 13.73 MB / 0.6627 GB, free: 3.457 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.166, allocations: 3.48 MB / 0.6661 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.1684, allocations: 28 kB / 0.6661 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.1704, allocations: 0.5614 MB / 0.6667 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.1758, allocations: 1.572 MB / 0.6682 GB, free: 13.8 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.18, allocations: 1.509 MB / 0.6697 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005829/0.1858, allocations: 3.722 MB / 0.6733 GB, free: 8.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.1871, allocations: 0.6162 MB / 0.6739 GB, free: 7.902 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.1896, allocations: 1.529 MB / 0.6754 GB, free: 6.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00315/0.1928, allocations: 1.991 MB / 0.6774 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009696/0.1938, allocations: 284 kB / 0.6776 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.1952, allocations: 427.9 kB / 0.678 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.1963, allocations: 0.7584 MB / 0.6788 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002622/0.199, allocations: 1.643 MB / 0.6804 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.205, allocations: 3.987 MB / 0.6843 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.205, allocations: 4 kB / 0.6843 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.205, allocations: 0 / 0.6843 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001432/0.2052, allocations: 0 / 0.6843 GB, free: 13.25 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02511/0.2303, allocations: 6.68 MB / 0.6908 GB, free: 6.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2303, allocations: 8.031 kB / 0.6908 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.2462, allocations: 2.296 MB / 0.6931 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/0.2506, allocations: 1.896 MB / 0.6949 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009226/0.2515, allocations: 0.729 MB / 0.6956 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007933/0.2523, allocations: 216 kB / 0.6958 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2688/0.5211, allocations: 3.026 MB / 0.6988 GB, free: 40.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.5212, allocations: 0.875 kB / 0.6988 GB, free: 40.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.5215, allocations: 88.33 kB / 0.6989 GB, free: 40.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-05/0.5215, allocations: 49.22 kB / 0.6989 GB, free: 40.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006369/0.5279, allocations: 2.788 MB / 0.7016 GB, free: 40.07 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.01929/0.5472, allocations: 9.831 MB / 0.7112 GB, free: 35.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.5578, allocations: 3.976 MB / 0.7151 GB, free: 33.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003994/0.5618, allocations: 1.772 MB / 0.7169 GB, free: 32.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.5621, allocations: 36.38 kB / 0.7169 GB, free: 32.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004664/0.5668, allocations: 2.237 MB / 0.7191 GB, free: 32.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 4.649e-06/0.5668, allocations: 1.344 kB / 0.7191 GB, free: 32.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1149/0.6817, allocations: 27.23 MB / 0.7457 GB, free: 13.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.6818, allocations: 180.2 kB / 0.7458 GB, free: 13.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004185/0.686, allocations: 2.277 MB / 0.7481 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007783/0.6867, allocations: 73.7 kB / 0.7481 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008687/0.6876, allocations: 1.173 MB / 0.7493 GB, free: 9.727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.6888, allocations: 0.9145 MB / 0.7502 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.6901, allocations: 0.562 MB / 0.7507 GB, free: 8.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.6902, allocations: 313 kB / 0.751 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005976/0.6962, allocations: 1.955 MB / 0.7529 GB, free: 6.113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006257/0.7024, allocations: 2.318 MB / 0.7552 GB, free: 3.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05924/0.7617, allocations: 14.03 MB / 0.7689 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.7617, allocations: 4 kB / 0.7689 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04393/0.8056, allocations: 12.44 MB / 0.781 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.8057, allocations: 112.8 kB / 0.7811 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.8057, allocations: 8 kB / 0.7812 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0196/0.8253, allocations: 5.292 MB / 0.7863 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.8285, allocations: 0.5695 MB / 0.7869 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06545/0.894, allocations: 23.2 MB / 0.8095 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/0.8986, allocations: 495.3 kB / 0.81 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/0.8991, allocations: 116 kB / 0.8101 GB, free: 11.07 MB / 0.545 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.9006, allocations: 0.5444 MB / 0.8106 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007346/0.9013, allocations: 306 kB / 0.8109 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04219/0.9435, allocations: 11.82 MB / 0.8225 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.9435, allocations: 24 kB / 0.8225 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.528e-05/0.9436, allocations: 23.62 kB / 0.8225 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.785e-05/0.9436, allocations: 11.95 kB / 0.8225 GB, free: 14.29 MB / 0.5606 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.04717/0.9908, allocations: 15.41 MB / 0.8376 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/0.9908, allocations: 7.984 kB / 0.8376 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.9924, allocations: 239.7 kB / 0.8378 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/1.011, allocations: 5.252 MB / 0.843 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005699/1.012, allocations: 51.98 kB / 0.843 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06225/1.074, allocations: 24.97 MB / 0.8674 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.074, allocations: 0 / 0.8674 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04681/1.121, allocations: 14.21 MB / 0.8813 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/1.122, allocations: 426.7 kB / 0.8817 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/1.122, allocations: 44 kB / 0.8817 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.125, allocations: 299.6 kB / 0.882 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002046/1.127, allocations: 0.5802 MB / 0.8826 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.127, allocations: 67.98 kB / 0.8826 GB, free: 136 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002374/1.13, allocations: 1.499 MB / 0.8841 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.13, allocations: 0 / 0.8841 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003244/1.133, allocations: 1.186 MB / 0.8853 GB, free: 13.44 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004265/1.133, allocations: 174.8 kB / 0.8854 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0187/1.152, allocations: 6.323 MB / 0.8916 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.152, allocations: 0 / 0.8916 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0139/1.166, allocations: 4.226 MB / 0.8957 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.169, allocations: 274.8 kB / 0.896 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.179, allocations: 5.427 MB / 0.9013 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.181, allocations: 1.802 MB / 0.9031 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001002/1.182, allocations: 258.5 kB / 0.9033 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/1.182, allocations: 171.4 kB / 0.9035 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/1.182, allocations: 0 / 0.9035 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.3663/1.549, allocations: 64.43 MB / 0.9664 GB, free: 226.9 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.291186464950442]