Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 110.1 kB / 19.7 MB, free: 2.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 253.4 MB, free: 14.44 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 221.6 kB / 310 MB, free: 3.148 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5591/0.5591, allocations: 101.3 MB / 467.8 MB, free: 30.52 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 80.75 kB / 0.6258 GB, free: 32.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1209, allocations: 78.62 MB / 0.7026 GB, free: 432 kB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02167/0.1426, allocations: 22.11 MB / 0.7241 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1534, allocations: 4.978 MB / 0.729 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/0.1562, allocations: 43.94 kB / 0.729 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.1583, allocations: 0.8867 MB / 0.7299 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006016/0.1643, allocations: 2.325 MB / 0.7322 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.1691, allocations: 2.084 MB / 0.7342 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007336/0.1764, allocations: 5.834 MB / 0.7399 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.1778, allocations: 0.9158 MB / 0.7408 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.1809, allocations: 2.427 MB / 0.7432 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/0.1845, allocations: 3.013 MB / 0.7461 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006997/0.1852, allocations: 448 kB / 0.7465 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.1863, allocations: 0.6054 MB / 0.7471 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009957/0.1873, allocations: 1.171 MB / 0.7483 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002526/0.1899, allocations: 2.641 MB / 0.7509 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006925/0.1968, allocations: 6.332 MB / 0.757 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1968, allocations: 4 kB / 0.7571 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1968, allocations: 3.938 kB / 0.7571 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000102/0.1969, allocations: 0 / 0.7571 GB, free: 8.367 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02979/0.2267, allocations: 9.986 MB / 0.7668 GB, free: 14.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2267, allocations: 15.97 kB / 0.7668 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02523/0.2519, allocations: 4.059 MB / 0.7708 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.2572, allocations: 2.61 MB / 0.7733 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/0.2582, allocations: 1.033 MB / 0.7743 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006387/0.2589, allocations: 355.9 kB / 0.7747 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009141/0.268, allocations: 4.747 MB / 0.7793 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.566e-05/0.2681, allocations: 3.938 kB / 0.7793 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.2684, allocations: 140 kB / 0.7795 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.2685, allocations: 84 kB / 0.7795 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008608/0.2771, allocations: 4.263 MB / 0.7837 GB, free: 12.71 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 preOpt removeSimpleEquations (simulation): time 0.03232/0.3094, allocations: 18.14 MB / 0.8014 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.3212, allocations: 4.381 MB / 0.8057 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005224/0.3265, allocations: 2.494 MB / 0.8081 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.3269, allocations: 74.91 kB / 0.8082 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2714/0.5983, allocations: 3.186 MB / 0.8113 GB, free: 91.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 1.078e-05/0.5983, allocations: 6.438 kB / 0.8113 GB, free: 91.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.255/0.8533, allocations: 66.54 MB / 0.8763 GB, free: 51.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.8534, allocations: 149.8 kB / 0.8764 GB, free: 50.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.8567, allocations: 3.274 MB / 0.8796 GB, free: 47.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006802/0.8574, allocations: 93.7 kB / 0.8797 GB, free: 47.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000867/0.8582, allocations: 2.007 MB / 0.8817 GB, free: 46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.8593, allocations: 1.39 MB / 0.883 GB, free: 44.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.8603, allocations: 0.6825 MB / 0.8837 GB, free: 44.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.244e-05/0.8603, allocations: 305.1 kB / 0.884 GB, free: 43.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004422/0.8648, allocations: 2.62 MB / 0.8866 GB, free: 41.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004658/0.8694, allocations: 3.249 MB / 0.8897 GB, free: 37.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06139/0.9308, allocations: 19.33 MB / 0.9086 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.9308, allocations: 4 kB / 0.9086 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.04775/0.9786, allocations: 17.16 MB / 0.9254 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.9786, allocations: 63.41 kB / 0.9254 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.9787, allocations: 12.94 kB / 0.9254 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02609/1.005, allocations: 7.299 MB / 0.9326 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003951/1.009, allocations: 0.6787 MB / 0.9332 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08822/1.097, allocations: 33.79 MB / 0.9662 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005688/1.103, allocations: 0.6424 MB / 0.9669 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006567/1.103, allocations: 162.5 kB / 0.967 GB, free: 6.262 MB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001862/1.105, allocations: 0.6685 MB / 0.9677 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.106, allocations: 480.9 kB / 0.9681 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05513/1.161, allocations: 16.75 MB / 0.9845 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/1.161, allocations: 39.7 kB / 0.9845 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.451e-05/1.162, allocations: 28 kB / 0.9845 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.682e-05/1.162, allocations: 19.92 kB / 0.9846 GB, free: 4.207 MB / 0.6387 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.06301/1.225, allocations: 21.77 MB / 1.006 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/1.225, allocations: 0 / 1.006 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/1.227, allocations: 398.8 kB / 1.006 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02582/1.253, allocations: 7.341 MB / 1.013 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008064/1.254, allocations: 67.98 kB / 1.013 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08199/1.336, allocations: 31.68 MB / 1.044 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.336, allocations: 0 / 1.044 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06261/1.398, allocations: 20.19 MB / 1.064 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.399, allocations: 0.5157 MB / 1.065 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008062/1.4, allocations: 60 kB / 1.065 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004028/1.404, allocations: 384.4 kB / 1.065 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002695/1.407, allocations: 0.8153 MB / 1.066 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/1.407, allocations: 99.92 kB / 1.066 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003097/1.41, allocations: 2.153 MB / 1.068 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.41, allocations: 0 / 1.068 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004665/1.415, allocations: 1.824 MB / 1.07 GB, free: 12.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005488/1.416, allocations: 203.7 kB / 1.07 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02542/1.441, allocations: 8.967 MB / 1.079 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.441, allocations: 4 kB / 1.079 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01923/1.46, allocations: 5.888 MB / 1.084 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/1.463, allocations: 390 kB / 1.085 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/1.478, allocations: 8.278 MB / 1.093 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/1.48, allocations: 2.455 MB / 1.095 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.482, allocations: 279.4 kB / 1.096 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of SimCode: time 9.22e-07/1.482, allocations: 4 kB / 1.096 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of Templates: time 0.3438/1.825, allocations: 90.06 MB / 1.184 GB, free: 194.7 MB / 0.7481 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.785661611007527] Failed to read output from testmodel.py, exit status != 0: 1.832641082117334 1.841785632 1.642880568 Calling exit ...