Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001592/0.001592, allocations: 106 kB / 19.59 MB, free: 2.211 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.477/1.477, allocations: 225.6 MB / 248.2 MB, free: 13.31 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.001583/0.001583, allocations: 196.7 kB / 303.6 MB, free: 8.691 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.497/0.497, allocations: 79.71 MB / 438.5 MB, free: 5.27 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 83.88 kB / 0.5843 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1689, allocations: 72.14 MB / 0.6548 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008567/0.1774, allocations: 6.586 MB / 0.6612 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.1825, allocations: 1.97 MB / 0.6631 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.1835, allocations: 12 kB / 0.6631 GB, free: 7.203 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008727/0.1844, allocations: 253.8 kB / 0.6634 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.1869, allocations: 0.8608 MB / 0.6642 GB, free: 6.09 MB / 462.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.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.1884, allocations: 0.6447 MB / 0.6649 GB, free: 5.449 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.1909, allocations: 1.608 MB / 0.6664 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.1913, allocations: 226.9 kB / 0.6666 GB, free: 3.598 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1925, allocations: 0.6691 MB / 0.6673 GB, free: 2.926 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.1936, allocations: 0.844 MB / 0.6681 GB, free: 2.078 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.1938, allocations: 124 kB / 0.6682 GB, free: 1.957 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.1944, allocations: 263.8 kB / 0.6685 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.1947, allocations: 326.6 kB / 0.6688 GB, free: 1.379 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.1954, allocations: 0.6719 MB / 0.6695 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.1976, allocations: 1.665 MB / 0.6711 GB, free: 15.03 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1976, allocations: 7.938 kB / 0.6711 GB, free: 15.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1976, allocations: 0 / 0.6711 GB, free: 15.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.1977, allocations: 3.938 kB / 0.6711 GB, free: 15.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009445/0.2071, allocations: 2.79 MB / 0.6738 GB, free: 12.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.2072, allocations: 8.031 kB / 0.6738 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/0.2123, allocations: 0.7796 MB / 0.6746 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.2142, allocations: 0.8345 MB / 0.6754 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/0.2145, allocations: 264.2 kB / 0.6757 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.2147, allocations: 80 kB / 0.6757 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.2171, allocations: 1.086 MB / 0.6768 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.2172, allocations: 4 kB / 0.6768 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2173, allocations: 28 kB / 0.6768 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.2173, allocations: 24 kB / 0.6768 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.2196, allocations: 0.9916 MB / 0.6778 GB, free: 7.988 MB / 478.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.007681/0.2272, allocations: 3.739 MB / 0.6815 GB, free: 4.082 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00775/0.235, allocations: 2.006 MB / 0.6834 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.2366, allocations: 0.6175 MB / 0.684 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.2367, allocations: 20.98 kB / 0.684 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.2385, allocations: 0.8177 MB / 0.6848 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.675e-06/0.2385, allocations: 0 / 0.6848 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.03033/0.2688, allocations: 6.897 MB / 0.6916 GB, free: 9.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.2689, allocations: 123.8 kB / 0.6917 GB, free: 9.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.2709, allocations: 1.083 MB / 0.6928 GB, free: 8.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.2711, allocations: 45.73 kB / 0.6928 GB, free: 8.359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.2716, allocations: 0.4975 MB / 0.6933 GB, free: 7.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/0.2721, allocations: 372.9 kB / 0.6936 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/0.2726, allocations: 283.5 kB / 0.6939 GB, free: 7.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2728, allocations: 309.1 kB / 0.6942 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.2745, allocations: 0.7574 MB / 0.6949 GB, free: 6.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.2763, allocations: 0.942 MB / 0.6959 GB, free: 5.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3998/0.6762, allocations: 5.563 MB / 0.7013 GB, free: 42.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.6762, allocations: 4.688 kB / 0.7013 GB, free: 42.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01571/0.6919, allocations: 4.317 MB / 0.7055 GB, free: 42.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/0.692, allocations: 60.33 kB / 0.7056 GB, free: 42.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.692, allocations: 3.094 kB / 0.7056 GB, free: 42.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.6983, allocations: 1.505 MB / 0.707 GB, free: 42.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.7, allocations: 302.4 kB / 0.7073 GB, free: 42.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/0.7219, allocations: 8.178 MB / 0.7153 GB, free: 38.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.724, allocations: 207.6 kB / 0.7155 GB, free: 38.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.7242, allocations: 56.86 kB / 0.7156 GB, free: 38.45 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006693/0.7248, allocations: 296.6 kB / 0.7159 GB, free: 38.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.7251, allocations: 135.6 kB / 0.716 GB, free: 38.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.7384, allocations: 3.843 MB / 0.7197 GB, free: 37.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.7385, allocations: 14.09 kB / 0.7198 GB, free: 37.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.7385, allocations: 6.781 kB / 0.7198 GB, free: 37.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/0.7385, allocations: 3.797 kB / 0.7198 GB, free: 37.21 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 postOpt removeSimpleEquations (simulation): time 0.01494/0.7535, allocations: 5.398 MB / 0.725 GB, free: 34.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.7535, allocations: 3.938 kB / 0.725 GB, free: 34.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.7542, allocations: 101.9 kB / 0.7251 GB, free: 34.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005728/0.7599, allocations: 1.6 MB / 0.7267 GB, free: 34.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/0.7601, allocations: 22.25 kB / 0.7267 GB, free: 34.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/0.7789, allocations: 9.423 MB / 0.7359 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7789, allocations: 0 / 0.7359 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/0.7925, allocations: 4.721 MB / 0.7405 GB, free: 23.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.7931, allocations: 152.3 kB / 0.7407 GB, free: 23.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.7933, allocations: 23.94 kB / 0.7407 GB, free: 23.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7944, allocations: 111.9 kB / 0.7408 GB, free: 23.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006506/0.7951, allocations: 200.6 kB / 0.741 GB, free: 23.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.7952, allocations: 31.98 kB / 0.741 GB, free: 23.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009278/0.7961, allocations: 0.7235 MB / 0.7417 GB, free: 22.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7961, allocations: 4 kB / 0.7417 GB, free: 22.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001556/0.7976, allocations: 476.9 kB / 0.7422 GB, free: 21.83 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002934/0.7979, allocations: 137.3 kB / 0.7423 GB, free: 21.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005881/0.8038, allocations: 2.361 MB / 0.7446 GB, free: 19.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.8038, allocations: 4 kB / 0.7446 GB, free: 19.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004167/0.808, allocations: 1.543 MB / 0.7461 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.8092, allocations: 122.2 kB / 0.7463 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.8131, allocations: 2.336 MB / 0.7485 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.8135, allocations: 1.116 MB / 0.7496 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.8139, allocations: 91.41 kB / 0.7497 GB, free: 14.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/0.8139, allocations: 0 / 0.7497 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Templates: time 0.03133/0.8452, allocations: 23.75 MB / 0.7729 GB, free: 6.273 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.249804675997439] Failed to read output from testmodel.py, exit status != 0: 0.8547130289989582 0.870656209 0.669669791 Calling exit ...