Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001547/0.001547, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.376/1.376, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001476/0.001476, allocations: 209.4 kB / 310 MB, free: 3.062 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.569/0.569, allocations: 107.2 MB / 473.6 MB, free: 29.67 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.00246/0.00246, allocations: 93.39 kB / 0.6344 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1235, allocations: 80.14 MB / 0.7126 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02028/0.1438, allocations: 18.57 MB / 0.7308 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1549, allocations: 4.854 MB / 0.7355 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.1583, allocations: 44 kB / 0.7356 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.1611, allocations: 0.8789 MB / 0.7364 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007606/0.1687, allocations: 2.313 MB / 0.7387 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005584/0.1743, allocations: 2.053 MB / 0.7407 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008454/0.1828, allocations: 5.798 MB / 0.7463 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.1844, allocations: 0.865 MB / 0.7472 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.1879, allocations: 2.427 MB / 0.7496 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004252/0.1922, allocations: 2.689 MB / 0.7522 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.194, allocations: 447.9 kB / 0.7526 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.1958, allocations: 0.5974 MB / 0.7532 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.1969, allocations: 1.167 MB / 0.7543 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.1996, allocations: 2.136 MB / 0.7564 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007568/0.2071, allocations: 6.371 MB / 0.7626 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2072, allocations: 3.984 kB / 0.7627 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2072, allocations: 0 / 0.7627 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001738/0.2073, allocations: 0 / 0.7627 GB, free: 3.637 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03126/0.2386, allocations: 9.962 MB / 0.7724 GB, free: 9.578 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2386, allocations: 8.031 kB / 0.7724 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.027/0.2656, allocations: 4.063 MB / 0.7764 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/0.2715, allocations: 2.598 MB / 0.7789 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.2726, allocations: 1.036 MB / 0.7799 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.2737, allocations: 348 kB / 0.7802 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.2839, allocations: 4.768 MB / 0.7849 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-05/0.2839, allocations: 3.938 kB / 0.7849 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003787/0.2843, allocations: 143.9 kB / 0.785 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-05/0.2844, allocations: 84 kB / 0.7851 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0095/0.2939, allocations: 4.261 MB / 0.7893 GB, free: 7.98 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.03141/0.3253, allocations: 13.05 MB / 0.802 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.3372, allocations: 4.37 MB / 0.8063 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005709/0.3429, allocations: 2.513 MB / 0.8087 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.3433, allocations: 62.95 kB / 0.8088 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006834/0.3501, allocations: 3.21 MB / 0.8119 GB, free: 292 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 6.983e-06/0.3501, allocations: 3.938 kB / 0.8119 GB, free: 288 kB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.5551/0.9052, allocations: 67.54 MB / 0.8779 GB, free: 43.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.9053, allocations: 145.8 kB / 0.878 GB, free: 43.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004205/0.9095, allocations: 3.256 MB / 0.8812 GB, free: 40.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008239/0.9103, allocations: 87.86 kB / 0.8813 GB, free: 40.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.9114, allocations: 2.013 MB / 0.8833 GB, free: 38.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.913, allocations: 1.387 MB / 0.8846 GB, free: 37.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002371/0.9153, allocations: 0.6666 MB / 0.8853 GB, free: 36.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.9154, allocations: 305.1 kB / 0.8856 GB, free: 36.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/0.9205, allocations: 2.643 MB / 0.8881 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005395/0.9259, allocations: 3.275 MB / 0.8913 GB, free: 30.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06298/0.9889, allocations: 19.18 MB / 0.9101 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.9889, allocations: 4 kB / 0.9101 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.05079/1.04, allocations: 17.21 MB / 0.9269 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/1.04, allocations: 71.39 kB / 0.9269 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/1.04, allocations: 16 kB / 0.927 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02562/1.065, allocations: 7.15 MB / 0.9339 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/1.069, allocations: 0.6748 MB / 0.9346 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08968/1.159, allocations: 32.31 MB / 0.9662 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005807/1.165, allocations: 0.6263 MB / 0.9668 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007649/1.165, allocations: 152 kB / 0.9669 GB, free: 0.625 MB / 0.6231 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (400): * Single equations (assignments): 397 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002238/1.168, allocations: 0.6688 MB / 0.9676 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.169, allocations: 477 kB / 0.968 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0558/1.225, allocations: 16.76 MB / 0.9844 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.225, allocations: 40 kB / 0.9844 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.118e-05/1.225, allocations: 28 kB / 0.9845 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.505e-05/1.225, allocations: 28.92 kB / 0.9845 GB, free: 14.55 MB / 0.6544 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.06461/1.289, allocations: 20.05 MB / 1.004 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.289, allocations: 0 / 1.004 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.292, allocations: 391.5 kB / 1.004 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02662/1.318, allocations: 7.366 MB / 1.012 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008817/1.319, allocations: 75.98 kB / 1.012 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08536/1.405, allocations: 30.67 MB / 1.042 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.405, allocations: 0 / 1.042 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06498/1.47, allocations: 20.21 MB / 1.061 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.471, allocations: 0.5034 MB / 1.062 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00141/1.472, allocations: 64.11 kB / 1.062 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004993/1.477, allocations: 387.5 kB / 1.062 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003324/1.481, allocations: 0.8153 MB / 1.063 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006824/1.481, allocations: 102.8 kB / 1.063 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003978/1.485, allocations: 2.117 MB / 1.065 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.485, allocations: 0 / 1.065 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006159/1.492, allocations: 1.814 MB / 1.067 GB, free: 9.855 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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 {(100,36,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.0008581/1.492, allocations: 205.3 kB / 1.067 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02616/1.519, allocations: 8.862 MB / 1.076 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.519, allocations: 0 / 1.076 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01964/1.538, allocations: 5.927 MB / 1.082 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/1.542, allocations: 390.9 kB / 1.082 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.558, allocations: 8.22 MB / 1.09 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/1.56, allocations: 1.931 MB / 1.092 GB, free: 152 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.562, allocations: 279.4 kB / 1.092 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of SimCode: time 1.042e-06/1.562, allocations: 0 / 1.092 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of Templates: time 0.3511/1.913, allocations: 91.61 MB / 1.182 GB, free: 209.8 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.66411552671343] Failed to read output from testmodel.py, exit status != 0: 1.9205197650007904 1.929192186 1.719892931 Calling exit ...