Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.05078/0.05078, allocations: 9.511 MB / 29.37 MB, free: 164 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.0008477/0.0008477, allocations: 99.33 kB / 35.55 MB, free: 0.5742 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.8977/0.8977, 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.001698/0.001698, allocations: 175.4 kB / 249.9 MB, free: 5.426 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.2419/0.2419, allocations: 59.7 MB / 312.9 MB, free: 6.32 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 351 MB, free: 116 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.74e-05, allocations: 10.19 kB / 351 MB, free: 104 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.1415/0.1416, allocations: 6.143 MB / 357.2 MB, free: 20.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.1453, allocations: 1.969 MB / 359.1 MB, free: 18.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006886/0.146, allocations: 10.72 kB / 359.2 MB, free: 18.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.1466, allocations: 249.4 kB / 359.4 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.1482, allocations: 0.853 MB / 360.2 MB, free: 18.21 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1493, allocations: 0.6462 MB / 360.9 MB, free: 17.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1508, allocations: 1.57 MB / 362.5 MB, free: 16.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.1513, allocations: 231.6 kB / 362.7 MB, free: 16.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.1527, allocations: 0.9036 MB / 363.6 MB, free: 16.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.1538, allocations: 0.6749 MB / 364.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.1541, allocations: 122.5 kB / 364.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.1547, allocations: 260.5 kB / 364.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.1549, allocations: 332.9 kB / 365 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.1553, allocations: 465.6 kB / 365.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.1565, allocations: 1.205 MB / 366.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1565, allocations: 2.938 kB / 366.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1566, allocations: 0 / 366.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.442e-05/0.1566, allocations: 1.156 kB / 366.6 MB, free: 14.24 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004245/0.1608, allocations: 2.608 MB / 369.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1609, allocations: 8.031 kB / 369.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.1636, allocations: 0.96 MB / 370.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.1644, allocations: 0.5836 MB / 370.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.1645, allocations: 329.2 kB / 371.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.1646, allocations: 91.94 kB / 371.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.1652, allocations: 0.6862 MB / 371.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1653, allocations: 0 / 371.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.1653, allocations: 31.94 kB / 371.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1653, allocations: 20 kB / 371.9 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.1658, allocations: 347.2 kB / 372.3 MB, free: 8.918 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.002533/0.1683, allocations: 1.88 MB / 374.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.1703, allocations: 1.165 MB / 375.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.1706, allocations: 244.2 kB / 375.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.49e-05/0.1707, allocations: 26.22 kB / 375.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.1711, allocations: 485.9 kB / 376.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 2.034e-06/0.1711, allocations: 0.5312 kB / 376.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.009746/0.1808, allocations: 4.671 MB / 380.7 MB, free: 376 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.1808, allocations: 111.8 kB / 380.8 MB, free: 240 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.1815, allocations: 0.8528 MB / 381.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.1815, allocations: 45.7 kB / 381.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1817, allocations: 359.3 kB / 382.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.1819, allocations: 380.8 kB / 382.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.1822, allocations: 271.4 kB / 382.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.1823, allocations: 301.1 kB / 383 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/0.1828, allocations: 374.1 kB / 383.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.1834, allocations: 0.5392 MB / 383.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.1851, allocations: 1.496 MB / 385.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.1851, allocations: 0.625 kB / 385.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004849/0.19, allocations: 2.686 MB / 388.1 MB, free: 8.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.19, allocations: 69.28 kB / 388.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.19, allocations: 4 kB / 388.2 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004267/0.1943, allocations: 1.579 MB / 389.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/0.1952, allocations: 334.6 kB / 390.1 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005466/0.2007, allocations: 3.483 MB / 393.6 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.2015, allocations: 168 kB / 393.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.2016, allocations: 42.16 kB / 393.8 MB, free: 2.988 MB / 346.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (155): * Single equations (assignments): 152 * 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,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003665/0.2019, allocations: 222.8 kB / 394 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.2021, allocations: 107.8 kB / 394.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.2063, allocations: 2.291 MB / 396.4 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2063, allocations: 12 kB / 396.4 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2063, allocations: 4.688 kB / 396.4 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2063, allocations: 3.984 kB / 396.4 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/0.2114, allocations: 2.973 MB / 399.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.2114, allocations: 3.938 kB / 399.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.2117, allocations: 105 kB / 399.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003887/0.2156, allocations: 1.603 MB / 401.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.2157, allocations: 23.98 kB / 401.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005628/0.2213, allocations: 4.781 MB / 405.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2213, allocations: 0 / 405.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004643/0.2259, allocations: 2.626 MB / 408.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.2262, allocations: 118.9 kB / 408.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.2263, allocations: 27.94 kB / 408.7 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.2267, allocations: 75.92 kB / 408.7 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003841/0.2271, allocations: 192.6 kB / 408.9 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.2272, allocations: 12.66 kB / 408.9 MB, free: 3.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003869/0.2276, allocations: 442.8 kB / 409.4 MB, free: 3.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2276, allocations: 0 / 409.4 MB, free: 3.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001024/0.2286, allocations: 467.6 kB / 409.8 MB, free: 2.586 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0002052/0.2288, allocations: 124.7 kB / 410 MB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.231, allocations: 1.593 MB / 411.5 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.231, allocations: 8.75 kB / 411.6 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.2325, allocations: 1.099 MB / 412.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.2329, allocations: 134.1 kB / 412.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.2356, allocations: 1.986 MB / 414.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2358, allocations: 245.5 kB / 415 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.2361, allocations: 112.2 kB / 415.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.2364, allocations: 187.3 kB / 415.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2364, allocations: 0 / 415.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of Templates: time 0.02977/0.2661, allocations: 26.96 MB / 442.3 MB, free: 2.172 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6304600299336016]