Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.04706/0.04706, allocations: 9.516 MB / 29.37 MB, free: 172 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.0008104/0.0008104, allocations: 99.33 kB / 35.55 MB, free: 0.5781 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.875/0.875, allocations: 158.6 MB / 197.4 MB, free: 6.891 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.00177/0.00177, allocations: 175.5 kB / 249.9 MB, free: 5.434 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.2455/0.2455, allocations: 59.68 MB / 312.9 MB, free: 6.328 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 351 MB, free: 116 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.227e-05, allocations: 6.25 kB / 351 MB, free: 108 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.1563/0.1564, allocations: 6.258 MB / 357.3 MB, free: 20.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.1606, allocations: 2.01 MB / 359.3 MB, free: 18.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007025/0.1613, allocations: 18.03 kB / 359.3 MB, free: 18.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.162, allocations: 249.2 kB / 359.6 MB, free: 18.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.1636, allocations: 0.8713 MB / 360.4 MB, free: 18.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1647, allocations: 0.6534 MB / 361.1 MB, free: 17.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.1662, allocations: 1.637 MB / 362.7 MB, free: 16.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.1666, allocations: 232 kB / 363 MB, free: 16.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.1677, allocations: 0.938 MB / 363.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008637/0.1686, allocations: 0.6982 MB / 364.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.1689, allocations: 129.9 kB / 364.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005671/0.1695, allocations: 264.9 kB / 365 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.1697, allocations: 354.9 kB / 365.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.1701, allocations: 471.7 kB / 365.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.1713, allocations: 1.248 MB / 367 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1713, allocations: 0.75 kB / 367 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1713, allocations: 0 / 367 MB, free: 13.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.162e-05/0.1714, allocations: 0.8125 kB / 367 MB, free: 13.9 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004495/0.1759, allocations: 2.667 MB / 369.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1759, allocations: 8.688 kB / 369.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.1789, allocations: 0.9648 MB / 370.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.1798, allocations: 0.6001 MB / 371.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.1799, allocations: 329.9 kB / 371.6 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.18, allocations: 87.98 kB / 371.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.1807, allocations: 0.6902 MB / 372.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1808, allocations: 4 kB / 372.4 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.1808, allocations: 31.98 kB / 372.4 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1808, allocations: 23.94 kB / 372.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.1813, allocations: 347.2 kB / 372.8 MB, free: 8.406 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.002605/0.1839, allocations: 1.904 MB / 374.7 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.186, allocations: 1.18 MB / 375.9 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.1862, allocations: 246.3 kB / 376.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.1863, allocations: 17 kB / 376.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.1867, allocations: 495.1 kB / 376.6 MB, free: 4.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.385e-06/0.1867, allocations: 3.938 kB / 376.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.01027/0.197, allocations: 4.663 MB / 381.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.197, allocations: 111.8 kB / 381.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007286/0.1978, allocations: 0.8691 MB / 382.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.1979, allocations: 49.73 kB / 382.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1981, allocations: 375.2 kB / 382.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.1983, allocations: 384.7 kB / 383 MB, free: 14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.1986, allocations: 283.3 kB / 383.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.1987, allocations: 301.1 kB / 383.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.1992, allocations: 386.1 kB / 384 MB, free: 13.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.1998, allocations: 0.551 MB / 384.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.2016, allocations: 1.522 MB / 386 MB, free: 10.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.2016, allocations: 0 / 386 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004991/0.2066, allocations: 2.749 MB / 388.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.2066, allocations: 59.41 kB / 388.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2066, allocations: 0 / 388.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00427/0.2109, allocations: 1.607 MB / 390.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.2119, allocations: 353.1 kB / 390.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005558/0.2175, allocations: 3.542 MB / 394.3 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.2185, allocations: 167.1 kB / 394.5 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.2185, allocations: 39.98 kB / 394.6 MB, free: 2.199 MB / 346.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (162): * Single equations (assignments): 159 * 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.0003783/0.2189, allocations: 232 kB / 394.8 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.2191, allocations: 107.8 kB / 394.9 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.2233, allocations: 2.298 MB / 397.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.2233, allocations: 12.7 kB / 397.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2234, allocations: 4 kB / 397.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2234, allocations: 7.984 kB / 397.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/0.2286, allocations: 2.991 MB / 400.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2286, allocations: 4 kB / 400.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.2289, allocations: 112.6 kB / 400.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0039/0.2328, allocations: 1.58 MB / 401.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/0.2329, allocations: 20 kB / 401.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007053/0.24, allocations: 4.807 MB / 406.7 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.24, allocations: 0 / 406.7 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009141/0.2491, allocations: 2.644 MB / 409.4 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.2494, allocations: 127 kB / 409.5 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.2496, allocations: 19.94 kB / 409.5 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.2502, allocations: 75.92 kB / 409.6 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/0.2506, allocations: 188.6 kB / 409.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.2507, allocations: 23.98 kB / 409.8 MB, free: 2.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004392/0.2511, allocations: 451.3 kB / 410.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2511, allocations: 4 kB / 410.2 MB, free: 2.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004173/0.2553, allocations: 483.6 kB / 410.7 MB, free: 1.703 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.2555, allocations: 116.3 kB / 410.8 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005909/0.2614, allocations: 1.661 MB / 412.5 MB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.2614, allocations: 8 kB / 412.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.2632, allocations: 1.083 MB / 413.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/0.2668, allocations: 132.3 kB / 413.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/0.2731, allocations: 2.055 MB / 415.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2733, allocations: 253.6 kB / 416 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.2736, allocations: 116.2 kB / 416.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.274, allocations: 187.3 kB / 416.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.274, allocations: 3.938 kB / 416.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of Templates: time 0.05557/0.3296, allocations: 27.61 MB / 443.9 MB, free: 0.5078 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7857551951892674]