Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.04909/0.04909, allocations: 9.51 MB / 29.37 MB, free: 156 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008377/0.0008377, allocations: 99.33 kB / 35.55 MB, free: 0.5664 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9203/0.9203, allocations: 158.6 MB / 197.4 MB, free: 6.887 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.001232/0.001232, allocations: 168 kB / 249.9 MB, free: 5.43 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2434/0.2434, allocations: 59.7 MB / 312.9 MB, free: 6.316 MB / 298.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.938 kB / 351 MB, free: 116 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.303e-05, allocations: 6.25 kB / 351 MB, free: 108 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.1637/0.1637, allocations: 6.32 MB / 357.4 MB, free: 20.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.1685, allocations: 2.029 MB / 359.4 MB, free: 18.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009126/0.1694, allocations: 14.91 kB / 359.4 MB, free: 18.69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008176/0.1702, allocations: 245.2 kB / 359.6 MB, free: 18.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.1728, allocations: 0.8846 MB / 360.5 MB, free: 17.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.1744, allocations: 0.6554 MB / 361.2 MB, free: 17.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.1765, allocations: 1.671 MB / 362.8 MB, free: 16.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005606/0.177, allocations: 232.5 kB / 363.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.1787, allocations: 0.9497 MB / 364 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.1798, allocations: 0.7196 MB / 364.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.1802, allocations: 132.6 kB / 364.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007323/0.1809, allocations: 269.2 kB / 365.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.1812, allocations: 357.6 kB / 365.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006479/0.1818, allocations: 490.4 kB / 366 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.1835, allocations: 1.251 MB / 367.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1835, allocations: 0 / 367.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1835, allocations: 1.156 kB / 367.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.079e-05/0.1835, allocations: 1.031 kB / 367.2 MB, free: 13.75 MB / 330.7 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.006106/0.1896, allocations: 2.7 MB / 369.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1897, allocations: 12.03 kB / 369.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.1938, allocations: 0.9651 MB / 370.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1949, allocations: 0.5985 MB / 371.5 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.1951, allocations: 334.4 kB / 371.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1952, allocations: 93.5 kB / 371.9 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.1961, allocations: 0.7001 MB / 372.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1961, allocations: 1.719 kB / 372.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.1961, allocations: 32 kB / 372.6 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1962, allocations: 19.94 kB / 372.7 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006025/0.1968, allocations: 350.3 kB / 373 MB, free: 8.156 MB / 330.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.003421/0.2002, allocations: 1.915 MB / 374.9 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.2029, allocations: 1.181 MB / 376.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.2032, allocations: 247 kB / 376.3 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.663e-05/0.2033, allocations: 21.95 kB / 376.4 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005257/0.2038, allocations: 0.4901 MB / 376.9 MB, free: 4.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 2.755e-06/0.2039, allocations: 0.6875 kB / 376.9 MB, free: 4.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=98): time 0.01111/0.215, allocations: 4.537 MB / 381.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.215, allocations: 115.8 kB / 381.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008812/0.2159, allocations: 0.8775 MB / 382.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.216, allocations: 45.7 kB / 382.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2162, allocations: 371.4 kB / 382.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.2165, allocations: 384.7 kB / 383.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/0.2168, allocations: 299.2 kB / 383.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.2169, allocations: 305.1 kB / 383.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.2175, allocations: 386.1 kB / 384.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.2182, allocations: 0.5666 MB / 384.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.22, allocations: 1.549 MB / 386.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.22, allocations: 3.938 kB / 386.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005637/0.2257, allocations: 2.772 MB / 389 MB, free: 7.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.2257, allocations: 63.39 kB / 389.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2257, allocations: 4 kB / 389.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00466/0.2304, allocations: 1.622 MB / 390.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.2315, allocations: 361.6 kB / 391.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/0.238, allocations: 3.565 MB / 394.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.2392, allocations: 171.1 kB / 394.8 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/0.2392, allocations: 43.97 kB / 394.8 MB, free: 1.898 MB / 346.7 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 (166): * Single equations (assignments): 163 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004402/0.2397, allocations: 236.6 kB / 395.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.2399, allocations: 103.9 kB / 395.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.2441, allocations: 2.31 MB / 397.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.2441, allocations: 8 kB / 397.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2441, allocations: 11.98 kB / 397.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2442, allocations: 4.828 kB / 397.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/0.2495, allocations: 3.011 MB / 400.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2495, allocations: 0 / 400.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.2499, allocations: 111.9 kB / 400.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004195/0.2541, allocations: 1.587 MB / 402.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.694e-05/0.2542, allocations: 17.06 kB / 402.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005873/0.2601, allocations: 4.785 MB / 407 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2601, allocations: 0 / 407 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.2653, allocations: 2.658 MB / 409.7 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.2655, allocations: 126.9 kB / 409.8 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.2657, allocations: 31.88 kB / 409.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.2662, allocations: 75.92 kB / 409.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/0.2666, allocations: 188.6 kB / 410.1 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.2666, allocations: 23.98 kB / 410.1 MB, free: 2.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004034/0.267, allocations: 459.7 kB / 410.6 MB, free: 1.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.267, allocations: 4 kB / 410.6 MB, free: 1.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001302/0.2683, allocations: 487.6 kB / 411 MB, free: 1.359 MB / 362.7 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.0002497/0.2686, allocations: 116.8 kB / 411.2 MB, free: 1.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003224/0.2718, allocations: 1.641 MB / 412.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.2718, allocations: 12.25 kB / 412.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.2738, allocations: 1.109 MB / 413.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.2744, allocations: 136.5 kB / 414 MB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.2784, allocations: 2.086 MB / 416.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.2787, allocations: 245.7 kB / 416.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004279/0.2791, allocations: 117 kB / 416.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.2795, allocations: 191.3 kB / 416.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2795, allocations: 0 / 416.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of Templates: time 0.04297/0.3225, allocations: 27.95 MB / 444.6 MB, free: 15.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.761546459980309]