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.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.001826/0.001826, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.67/1.67, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.002017/0.002017, allocations: 207.1 kB / 309.2 MB, free: 3.09 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.6992/0.6992, allocations: 107.3 MB / 473 MB, free: 29.76 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.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: 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.002565/0.002565, allocations: 90.06 kB / 0.6337 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1771, allocations: 80.17 MB / 0.712 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008868/0.186, allocations: 5.785 MB / 0.7177 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.1913, allocations: 1.92 MB / 0.7195 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.1926, allocations: 12 kB / 0.7195 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1939, allocations: 238 kB / 0.7198 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.1971, allocations: 0.8484 MB / 0.7206 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.1989, allocations: 0.6099 MB / 0.7212 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002789/0.2017, allocations: 1.604 MB / 0.7228 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006061/0.2023, allocations: 210.9 kB / 0.723 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.2037, allocations: 0.6925 MB / 0.7236 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.2053, allocations: 0.7698 MB / 0.7244 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004816/0.2058, allocations: 124 kB / 0.7245 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009839/0.2067, allocations: 267.8 kB / 0.7248 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006627/0.2074, allocations: 330.7 kB / 0.7251 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.2085, allocations: 0.5477 MB / 0.7256 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.2115, allocations: 1.704 MB / 0.7273 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2115, allocations: 3.938 kB / 0.7273 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2115, allocations: 0 / 0.7273 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.298e-05/0.2116, allocations: 4 kB / 0.7273 GB, free: 7.316 MB / 0.4981 GB 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.01074/0.2223, allocations: 2.812 MB / 0.73 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.2224, allocations: 8.031 kB / 0.73 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005231/0.2276, allocations: 0.7991 MB / 0.7308 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.2294, allocations: 0.8307 MB / 0.7316 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/0.2298, allocations: 337.3 kB / 0.732 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.23, allocations: 87.94 kB / 0.732 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.2324, allocations: 1.112 MB / 0.7331 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.2324, allocations: 7.938 kB / 0.7331 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/0.2325, allocations: 32 kB / 0.7332 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.2325, allocations: 16 kB / 0.7332 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.2348, allocations: 1.009 MB / 0.7342 GB, free: 96 kB / 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 preOpt removeSimpleEquations (simulation): time 0.00664/0.2414, allocations: 2.839 MB / 0.7369 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007476/0.2489, allocations: 2.021 MB / 0.7389 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.2504, allocations: 0.6438 MB / 0.7395 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.301e-05/0.2505, allocations: 13 kB / 0.7395 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.2522, allocations: 0.8363 MB / 0.7404 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=95): time 3.356e-06/0.2522, allocations: 3.938 kB / 0.7404 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95): time 0.03044/0.2826, allocations: 7.056 MB / 0.7473 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.2827, allocations: 119.8 kB / 0.7474 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.285, allocations: 1.07 MB / 0.7484 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002887/0.2853, allocations: 49.73 kB / 0.7485 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005628/0.2859, allocations: 0.5053 MB / 0.749 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000622/0.2865, allocations: 368.8 kB / 0.7493 GB, free: 372 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006152/0.2871, allocations: 275.5 kB / 0.7496 GB, free: 92 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2873, allocations: 301.1 kB / 0.7499 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.289, allocations: 0.8036 MB / 0.7506 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.2909, allocations: 0.965 MB / 0.7516 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02596/0.3168, allocations: 5.734 MB / 0.7572 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.3169, allocations: 0 / 0.7572 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01545/0.3323, allocations: 4.364 MB / 0.7614 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.735e-05/0.3324, allocations: 65.42 kB / 0.7615 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.3324, allocations: 7.938 kB / 0.7615 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/0.3387, allocations: 1.572 MB / 0.7631 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.3404, allocations: 271.6 kB / 0.7633 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.3629, allocations: 8.194 MB / 0.7713 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.3651, allocations: 195.1 kB / 0.7715 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/0.3655, allocations: 55.97 kB / 0.7716 GB, free: 9.254 MB / 0.545 GB 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 (153): * Single equations (assignments): 150 * 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,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009977/0.3665, allocations: 304 kB / 0.7718 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/0.3669, allocations: 131.2 kB / 0.772 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/0.3809, allocations: 3.874 MB / 0.7758 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.381, allocations: 12 kB / 0.7758 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.97e-05/0.381, allocations: 8 kB / 0.7758 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.381, allocations: 3.984 kB / 0.7758 GB, free: 4.883 MB / 0.545 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.01707/0.3981, allocations: 4.892 MB / 0.7806 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.3981, allocations: 0 / 0.7806 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.3988, allocations: 95.84 kB / 0.7806 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006326/0.4051, allocations: 1.59 MB / 0.7822 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/0.4054, allocations: 24 kB / 0.7822 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/0.4303, allocations: 9.192 MB / 0.7912 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4303, allocations: 8 kB / 0.7912 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/0.4472, allocations: 4.762 MB / 0.7959 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000774/0.448, allocations: 150.8 kB / 0.796 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005162/0.4485, allocations: 16 kB / 0.796 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.4501, allocations: 115.9 kB / 0.7961 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007983/0.4509, allocations: 204.6 kB / 0.7963 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/0.451, allocations: 27.98 kB / 0.7963 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001643/0.4527, allocations: 0.719 MB / 0.797 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4527, allocations: 0 / 0.797 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002336/0.455, allocations: 483.5 kB / 0.7975 GB, free: 14.28 MB / 0.5762 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.00046/0.4555, allocations: 135.1 kB / 0.7976 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007454/0.4629, allocations: 2.425 MB / 0.8 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.4629, allocations: 4 kB / 0.8 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004923/0.4679, allocations: 1.558 MB / 0.8015 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.4693, allocations: 118.9 kB / 0.8016 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.4748, allocations: 2.269 MB / 0.8039 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008697/0.4757, allocations: 0.5237 MB / 0.8044 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006447/0.4763, allocations: 119.9 kB / 0.8045 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.4767, allocations: 75.42 kB / 0.8046 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/0.4767, allocations: 4 kB / 0.8046 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of Templates: time 0.4295/0.9062, allocations: 27.16 MB / 0.8311 GB, free: 88.16 MB / 0.5762 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: 7.660504210740328] Failed to read output from testmodel.py, exit status != 0: 0.9150599241256714 0.925826159 0.711977265 Calling exit ...