Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.0009832/0.0009832, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9262/0.9262, allocations: 177.2 MB / 200.5 MB, free: 5.516 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.001384/0.001384, allocations: 160.7 kB / 257 MB, free: 13.03 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.3062/0.3062, allocations: 80.36 MB / 393.8 MB, free: 2.156 MB / 314.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 3.938 kB / 490 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.066e-05/4.351e-05, allocations: 4.703 kB / 490 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01088/0.01092, allocations: 12.76 MB / 0.491 GB, free: 15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006982/0.0179, allocations: 3.476 MB / 0.4944 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.02035, allocations: 28 kB / 0.4944 GB, free: 11.51 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.02189, allocations: 0.562 MB / 0.495 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.02597, allocations: 1.607 MB / 0.4965 GB, free: 9.344 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.02862, allocations: 1.522 MB / 0.498 GB, free: 7.855 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004409/0.03303, allocations: 3.728 MB / 0.5017 GB, free: 4.113 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.03409, allocations: 0.5853 MB / 0.5022 GB, free: 3.465 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.03739, allocations: 2.119 MB / 0.5043 GB, free: 1.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.03934, allocations: 1.569 MB / 0.5058 GB, free: 15.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006807/0.04002, allocations: 291.9 kB / 0.5061 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009882/0.04101, allocations: 447.8 kB / 0.5065 GB, free: 15.04 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005185/0.04152, allocations: 0.7817 MB / 0.5073 GB, free: 14.26 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.04256, allocations: 1.082 MB / 0.5084 GB, free: 13.17 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.04541, allocations: 2.887 MB / 0.5112 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.04542, allocations: 4 kB / 0.5112 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.04542, allocations: 0 / 0.5112 GB, free: 10.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.04545, allocations: 0 / 0.5112 GB, free: 10.27 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01337/0.05881, allocations: 7.57 MB / 0.5186 GB, free: 2.578 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.05887, allocations: 12.03 kB / 0.5186 GB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009893/0.06876, allocations: 2.725 MB / 0.5213 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/0.07295, allocations: 1.75 MB / 0.523 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006289/0.07358, allocations: 0.8139 MB / 0.5238 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005589/0.07414, allocations: 216 kB / 0.524 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.07797, allocations: 2.007 MB / 0.5259 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.078, allocations: 0 / 0.5259 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.0782, allocations: 84 kB / 0.526 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.07824, allocations: 52 kB / 0.5261 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.08053, allocations: 1.327 MB / 0.5273 GB, free: 9.262 MB / 458.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.01046/0.09099, allocations: 6.927 MB / 0.5341 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004028/0.09502, allocations: 2.124 MB / 0.5362 GB, free: 16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.0963, allocations: 0.8974 MB / 0.5371 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.0965, allocations: 53.97 kB / 0.5371 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/0.09818, allocations: 1.317 MB / 0.5384 GB, free: 13.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 5.581e-06/0.09818, allocations: 0 / 0.5384 GB, free: 13.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.05646/0.1546, allocations: 22.23 MB / 0.5601 GB, free: 7.363 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1547, allocations: 184.2 kB / 0.5603 GB, free: 7.145 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.1571, allocations: 2.047 MB / 0.5623 GB, free: 5.086 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006171/0.1577, allocations: 77.69 kB / 0.5624 GB, free: 5.004 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007852/0.1585, allocations: 1.258 MB / 0.5636 GB, free: 3.734 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009364/0.1594, allocations: 0.9025 MB / 0.5645 GB, free: 2.824 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008176/0.1602, allocations: 0.5689 MB / 0.565 GB, free: 2.242 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1603, allocations: 480.7 kB / 0.5655 GB, free: 1.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.1618, allocations: 0.9617 MB / 0.5664 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.1636, allocations: 1.417 MB / 0.5678 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/0.1684, allocations: 3.693 MB / 0.5714 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.1684, allocations: 4 kB / 0.5714 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01707/0.1855, allocations: 8.5 MB / 0.5797 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/0.1856, allocations: 114.8 kB / 0.5798 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.1856, allocations: 8 kB / 0.5798 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01496/0.2006, allocations: 5.434 MB / 0.5851 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.2026, allocations: 0.5577 MB / 0.5857 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/0.2232, allocations: 9.7 MB / 0.5952 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.226, allocations: 414 kB / 0.5956 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005319/0.2265, allocations: 108 kB / 0.5957 GB, free: 2.207 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 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 order3_1.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 (319): * Single equations (assignments): 314 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001083/0.2276, allocations: 387.9 kB / 0.596 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007761/0.2284, allocations: 386 kB / 0.5964 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2439/0.4723, allocations: 7.838 MB / 0.604 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.4723, allocations: 25.78 kB / 0.6041 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/0.4723, allocations: 18.03 kB / 0.6041 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.532e-05/0.4724, allocations: 12.28 kB / 0.6041 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02186/0.4942, allocations: 10.17 MB / 0.614 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.4942, allocations: 2.469 kB / 0.614 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008073/0.4951, allocations: 244.1 kB / 0.6143 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01366/0.5087, allocations: 5.33 MB / 0.6195 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002342/0.5089, allocations: 48.05 kB / 0.6195 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/0.5271, allocations: 13.4 MB / 0.6326 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5271, allocations: 3.938 kB / 0.6326 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/0.5429, allocations: 8.798 MB / 0.6412 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.5434, allocations: 341.1 kB / 0.6415 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.5437, allocations: 44 kB / 0.6416 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.5448, allocations: 223.7 kB / 0.6418 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009773/0.5458, allocations: 0.5721 MB / 0.6423 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.5459, allocations: 67.98 kB / 0.6424 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00103/0.547, allocations: 1.229 MB / 0.6436 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/0.547, allocations: 4.547 kB / 0.6436 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002157/0.5491, allocations: 1.174 MB / 0.6448 GB, free: 139 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(66,22,7.7%)} * 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.0003483/0.5495, allocations: 174.1 kB / 0.6449 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006516/0.556, allocations: 4.49 MB / 0.6493 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.556, allocations: 1.75 kB / 0.6493 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004628/0.5606, allocations: 3.31 MB / 0.6525 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009954/0.5616, allocations: 320.1 kB / 0.6529 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.5672, allocations: 4.864 MB / 0.6576 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.5675, allocations: 0.5398 MB / 0.6581 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005118/0.5681, allocations: 262.2 kB / 0.6584 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.5684, allocations: 176.5 kB / 0.6585 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/0.5684, allocations: 0 / 0.6585 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.06233/0.6308, allocations: 73.57 MB / 0.7304 GB, free: 51.29 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.460770556004718]