Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001545/0.001545, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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 0.9544/0.9544, allocations: 177.2 MB / 200.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.001261/0.001261, allocations: 160.7 kB / 257 MB, free: 13.05 MB / 250.7 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.2802/0.2802, allocations: 80.36 MB / 393.8 MB, free: 3.195 MB / 362.7 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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 490 MB, free: 63.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.599e-05, allocations: 3.656 kB / 490 MB, free: 63.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01087/0.0109, allocations: 12.95 MB / 0.4912 GB, free: 50.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006118/0.01702, allocations: 3.509 MB / 0.4946 GB, free: 46.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.0183, allocations: 33.84 kB / 0.4946 GB, free: 46.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.01935, allocations: 0.5575 MB / 0.4952 GB, free: 46.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.02192, allocations: 1.615 MB / 0.4968 GB, free: 44.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.02415, allocations: 1.537 MB / 0.4983 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002706/0.02685, allocations: 3.8 MB / 0.502 GB, free: 39.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006621/0.02751, allocations: 0.5815 MB / 0.5025 GB, free: 38.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.02926, allocations: 2.162 MB / 0.5046 GB, free: 36.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.03046, allocations: 1.597 MB / 0.5062 GB, free: 34.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003794/0.03084, allocations: 293.2 kB / 0.5065 GB, free: 34.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.03137, allocations: 451.8 kB / 0.5069 GB, free: 34.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.0317, allocations: 0.7972 MB / 0.5077 GB, free: 33.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.03232, allocations: 1.099 MB / 0.5088 GB, free: 32.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.03411, allocations: 2.922 MB / 0.5116 GB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.03412, allocations: 4.656 kB / 0.5116 GB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03412, allocations: 0 / 0.5116 GB, free: 29.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.6e-05/0.03417, allocations: 0.7812 kB / 0.5116 GB, free: 29.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01121/0.04538, allocations: 7.643 MB / 0.5191 GB, free: 21.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.04542, allocations: 8.031 kB / 0.5191 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008386/0.05381, allocations: 2.737 MB / 0.5218 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.05577, allocations: 1.754 MB / 0.5235 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.05614, allocations: 0.8217 MB / 0.5243 GB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.0564, allocations: 227.9 kB / 0.5245 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.05886, allocations: 2.007 MB / 0.5265 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.05889, allocations: 0 / 0.5265 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.05907, allocations: 91.98 kB / 0.5265 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.05909, allocations: 48 kB / 0.5266 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.06104, allocations: 1.327 MB / 0.5279 GB, free: 12.3 MB / 410.7 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.007718/0.06876, allocations: 6.963 MB / 0.5347 GB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.07226, allocations: 2.135 MB / 0.5368 GB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.07334, allocations: 0.9013 MB / 0.5377 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.07352, allocations: 53.98 kB / 0.5377 GB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.07491, allocations: 1.321 MB / 0.539 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 3.787e-06/0.07491, allocations: 0 / 0.539 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of matching and sorting (n=249): time 0.05219/0.1271, allocations: 20.69 MB / 0.5592 GB, free: 11.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.1272, allocations: 188.2 kB / 0.5594 GB, free: 11.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.1295, allocations: 2.072 MB / 0.5614 GB, free: 9.562 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005715/0.13, allocations: 77.69 kB / 0.5615 GB, free: 9.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007547/0.1308, allocations: 1.258 MB / 0.5627 GB, free: 8.211 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007724/0.1316, allocations: 0.918 MB / 0.5636 GB, free: 7.285 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007548/0.1323, allocations: 0.5731 MB / 0.5642 GB, free: 6.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1324, allocations: 480.8 kB / 0.5646 GB, free: 6.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.1339, allocations: 0.9656 MB / 0.5656 GB, free: 5.234 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.1356, allocations: 1.438 MB / 0.567 GB, free: 3.645 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005007/0.1406, allocations: 3.75 MB / 0.5706 GB, free: 15.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.1406, allocations: 0 / 0.5706 GB, free: 15.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.017/0.1576, allocations: 8.518 MB / 0.579 GB, free: 7.059 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/0.1577, allocations: 118.8 kB / 0.5791 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.1577, allocations: 8 kB / 0.5791 GB, free: 6.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/0.1717, allocations: 5.305 MB / 0.5843 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.1737, allocations: 0.5773 MB / 0.5848 GB, free: 1.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.1929, allocations: 9.47 MB / 0.5941 GB, free: 7.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.1953, allocations: 418 kB / 0.5945 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.1955, allocations: 116 kB / 0.5946 GB, free: 6.895 MB / 474.7 MB 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.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 (328): * Single equations (assignments): 323 * 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.0008349/0.1963, allocations: 381.3 kB / 0.5949 GB, free: 6.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/0.1968, allocations: 394 kB / 0.5953 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/0.2125, allocations: 7.852 MB / 0.603 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.2125, allocations: 24 kB / 0.603 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/0.2125, allocations: 23.98 kB / 0.603 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.2125, allocations: 15.89 kB / 0.603 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/0.2312, allocations: 10.22 MB / 0.613 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.2312, allocations: 0 / 0.613 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.2323, allocations: 247.6 kB / 0.6133 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2376/0.4699, allocations: 5.327 MB / 0.6185 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000639/0.4706, allocations: 51.89 kB / 0.6185 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.4888, allocations: 13.37 MB / 0.6316 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4888, allocations: 3.781 kB / 0.6316 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/0.5054, allocations: 8.835 MB / 0.6402 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006563/0.506, allocations: 343.8 kB / 0.6405 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.5063, allocations: 50.72 kB / 0.6406 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.5075, allocations: 223.1 kB / 0.6408 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/0.5086, allocations: 0.5675 MB / 0.6413 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.5087, allocations: 66.09 kB / 0.6414 GB, free: 123.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.5098, allocations: 1.254 MB / 0.6426 GB, free: 123 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5098, allocations: 0 / 0.6426 GB, free: 123 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002117/0.5119, allocations: 1.18 MB / 0.6438 GB, free: 122.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0003576/0.5123, allocations: 171.4 kB / 0.6439 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006345/0.5186, allocations: 4.432 MB / 0.6483 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5186, allocations: 4 kB / 0.6483 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004737/0.5234, allocations: 3.335 MB / 0.6515 GB, free: 116 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5244, allocations: 330.7 kB / 0.6519 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.53, allocations: 4.98 MB / 0.6567 GB, free: 111.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.5303, allocations: 0.5409 MB / 0.6572 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000522/0.5308, allocations: 261.8 kB / 0.6575 GB, free: 110.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.5312, allocations: 183.8 kB / 0.6577 GB, free: 110.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5312, allocations: 0 / 0.6577 GB, free: 110.4 MB / 490.7 MB Notification: Performance of Templates: time 0.07409/0.6053, allocations: 73.23 MB / 0.7292 GB, free: 38.26 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.518147970084101]