Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001808/0.001808, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.543/1.543, allocations: 225.6 MB / 246.2 MB, free: 13.59 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.001481/0.001481, allocations: 201.5 kB / 301.4 MB, free: 9.078 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.45/0.45, allocations: 79.71 MB / 436.3 MB, free: 5.582 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 83.84 kB / 0.5816 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1504, allocations: 72.1 MB / 0.652 GB, free: 364 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008532/0.1589, allocations: 6.735 MB / 0.6586 GB, free: 9.582 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.164, allocations: 2.036 MB / 0.6606 GB, free: 7.539 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.1654, allocations: 15.94 kB / 0.6606 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.1666, allocations: 249.9 kB / 0.6608 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.1695, allocations: 0.8751 MB / 0.6617 GB, free: 6.402 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.1712, allocations: 0.6545 MB / 0.6623 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002591/0.1737, allocations: 1.671 MB / 0.664 GB, free: 4.078 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006134/0.1744, allocations: 226.5 kB / 0.6642 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.1756, allocations: 0.6847 MB / 0.6649 GB, free: 3.156 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.1768, allocations: 0.8908 MB / 0.6657 GB, free: 2.262 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.177, allocations: 135.9 kB / 0.6659 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/0.1775, allocations: 263.9 kB / 0.6661 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.1778, allocations: 354.5 kB / 0.6664 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006964/0.1785, allocations: 0.6913 MB / 0.6671 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.1806, allocations: 1.747 MB / 0.6688 GB, free: 15.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1806, allocations: 0 / 0.6688 GB, free: 15.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1806, allocations: 0 / 0.6688 GB, free: 15.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1806, allocations: 0 / 0.6688 GB, free: 15.07 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009139/0.1898, allocations: 2.826 MB / 0.6716 GB, free: 12.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1898, allocations: 8.031 kB / 0.6716 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/0.1948, allocations: 0.7874 MB / 0.6724 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.1965, allocations: 0.9345 MB / 0.6733 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.1968, allocations: 260.2 kB / 0.6735 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.1969, allocations: 91.89 kB / 0.6736 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.1992, allocations: 1.114 MB / 0.6747 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.1992, allocations: 0 / 0.6747 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.1993, allocations: 28 kB / 0.6747 GB, free: 8.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1993, allocations: 20 kB / 0.6747 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.2015, allocations: 0.9995 MB / 0.6757 GB, free: 7.844 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.007091/0.2086, allocations: 3.907 MB / 0.6795 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007576/0.2161, allocations: 2.328 MB / 0.6818 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.2176, allocations: 0.6331 MB / 0.6824 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.2177, allocations: 20.97 kB / 0.6824 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.2195, allocations: 0.8295 MB / 0.6833 GB, free: 15.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 4.148e-06/0.2195, allocations: 0 / 0.6833 GB, free: 15.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.02856/0.2481, allocations: 7.07 MB / 0.6902 GB, free: 8.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.2482, allocations: 123.8 kB / 0.6903 GB, free: 8.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.2502, allocations: 1.139 MB / 0.6914 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.2505, allocations: 45.7 kB / 0.6914 GB, free: 7.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.251, allocations: 0.5054 MB / 0.6919 GB, free: 6.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005325/0.2515, allocations: 384.8 kB / 0.6923 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/0.2522, allocations: 299.5 kB / 0.6926 GB, free: 6.164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2524, allocations: 305.1 kB / 0.6929 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.2542, allocations: 0.7887 MB / 0.6936 GB, free: 5.074 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.2562, allocations: 0.9772 MB / 0.6946 GB, free: 4.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.298/0.5542, allocations: 5.922 MB / 0.7004 GB, free: 41.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.5542, allocations: 1.547 kB / 0.7004 GB, free: 41.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01407/0.5683, allocations: 4.483 MB / 0.7048 GB, free: 40.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.5683, allocations: 60.94 kB / 0.7048 GB, free: 40.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.5683, allocations: 2.094 kB / 0.7048 GB, free: 40.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006348/0.5747, allocations: 1.67 MB / 0.7064 GB, free: 40.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.5762, allocations: 297.7 kB / 0.7067 GB, free: 40.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.5965, allocations: 8.629 MB / 0.7152 GB, free: 36.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.5985, allocations: 211.8 kB / 0.7154 GB, free: 36.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.5987, allocations: 58.16 kB / 0.7154 GB, free: 36.68 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005938/0.5993, allocations: 299.8 kB / 0.7157 GB, free: 36.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.5996, allocations: 140.3 kB / 0.7158 GB, free: 36.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.6116, allocations: 3.884 MB / 0.7196 GB, free: 35.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.6116, allocations: 17.91 kB / 0.7196 GB, free: 35.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.6116, allocations: 7.25 kB / 0.7197 GB, free: 35.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.6116, allocations: 7.672 kB / 0.7197 GB, free: 35.42 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.01335/0.625, allocations: 5.523 MB / 0.7251 GB, free: 33.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.625, allocations: 0 / 0.7251 GB, free: 33.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.6256, allocations: 106.4 kB / 0.7252 GB, free: 33.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004791/0.6304, allocations: 1.6 MB / 0.7267 GB, free: 32.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.6305, allocations: 23.81 kB / 0.7267 GB, free: 32.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/0.6476, allocations: 9.635 MB / 0.7361 GB, free: 25.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6476, allocations: 0 / 0.7361 GB, free: 25.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.6604, allocations: 4.792 MB / 0.7408 GB, free: 20.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.6608, allocations: 233.8 kB / 0.7411 GB, free: 20.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.661, allocations: 23.98 kB / 0.7411 GB, free: 20.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.6622, allocations: 111.8 kB / 0.7412 GB, free: 20.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/0.6628, allocations: 196.7 kB / 0.7414 GB, free: 20.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.6629, allocations: 27.98 kB / 0.7414 GB, free: 20.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000962/0.6638, allocations: 0.7673 MB / 0.7421 GB, free: 19.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6638, allocations: 0 / 0.7421 GB, free: 19.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001329/0.6651, allocations: 495.3 kB / 0.7426 GB, free: 19.11 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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.000226/0.6654, allocations: 139.1 kB / 0.7427 GB, free: 18.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006213/0.6716, allocations: 2.476 MB / 0.7452 GB, free: 16.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.6716, allocations: 0 / 0.7452 GB, free: 16.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004165/0.6758, allocations: 1.56 MB / 0.7467 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.6774, allocations: 114.9 kB / 0.7468 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.6822, allocations: 2.477 MB / 0.7492 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.6827, allocations: 1.132 MB / 0.7503 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004742/0.6831, allocations: 120.3 kB / 0.7504 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.6834, allocations: 83.42 kB / 0.7505 GB, free: 10.92 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6835, allocations: 0 / 0.7505 GB, free: 10.92 MB / 494.1 MB Notification: Performance of Templates: time 0.0395/0.7229, allocations: 25.56 MB / 0.7755 GB, free: 1.426 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.460168896242976]