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.06432/0.06432, allocations: 9.512 MB / 29.37 MB, free: 5.934 MB / 24.77 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.0009222/0.0009222, allocations: 99.33 kB / 35.55 MB, free: 416 kB / 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.8313/0.8313, 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.001137/0.001137, allocations: 164.5 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.208/0.208, allocations: 59.7 MB / 312.9 MB, free: 6.309 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.193e-06/1.193e-06, allocations: 0 / 351 MB, free: 156 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.368e-05, allocations: 6.25 kB / 351 MB, free: 148 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.1466/0.1466, allocations: 6.097 MB / 357.1 MB, free: 20.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.1495, allocations: 1.96 MB / 359.1 MB, free: 18.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.1499, allocations: 14.94 kB / 359.1 MB, free: 18.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.1504, allocations: 254.5 kB / 359.3 MB, free: 18.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.1518, allocations: 0.8637 MB / 360.2 MB, free: 18.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.1527, allocations: 0.6337 MB / 360.8 MB, free: 17.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.1538, allocations: 1.578 MB / 362.4 MB, free: 16.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.1541, allocations: 227.5 kB / 362.6 MB, free: 16.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000846/0.155, allocations: 0.908 MB / 363.5 MB, free: 16.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.1556, allocations: 0.6753 MB / 364.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.1557, allocations: 122.9 kB / 364.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.1561, allocations: 252.6 kB / 364.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.1563, allocations: 341 kB / 364.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.1566, allocations: 457.2 kB / 365.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009618/0.1576, allocations: 1.206 MB / 366.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1576, allocations: 0.8438 kB / 366.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1576, allocations: 0 / 366.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.1576, allocations: 0.7188 kB / 366.5 MB, free: 14.26 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.003872/0.1615, allocations: 2.608 MB / 369.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1615, allocations: 12.03 kB / 369.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.164, allocations: 0.9678 MB / 370.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/0.1646, allocations: 0.5756 MB / 370.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.1647, allocations: 329.3 kB / 371 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.1648, allocations: 87.94 kB / 371.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.1654, allocations: 0.6891 MB / 371.8 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1655, allocations: 4.5 kB / 371.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.1655, allocations: 36.72 kB / 371.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1655, allocations: 23.12 kB / 371.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.1659, allocations: 340.1 kB / 372.2 MB, free: 8.953 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.002411/0.1684, allocations: 1.87 MB / 374.1 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.1703, allocations: 1.177 MB / 375.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.1706, allocations: 247.2 kB / 375.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/0.1706, allocations: 19.06 kB / 375.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.171, allocations: 487.7 kB / 376 MB, free: 5.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 1.934e-06/0.171, allocations: 0 / 376 MB, free: 5.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.009198/0.1802, allocations: 4.675 MB / 380.7 MB, free: 404 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.1802, allocations: 111.8 kB / 380.8 MB, free: 268 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.1807, allocations: 0.8527 MB / 381.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.1808, allocations: 41.7 kB / 381.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1809, allocations: 363.3 kB / 382 MB, free: 14.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.1811, allocations: 376.8 kB / 382.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.1814, allocations: 271.4 kB / 382.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.1815, allocations: 305.2 kB / 383 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.182, allocations: 382.1 kB / 383.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.1825, allocations: 0.5276 MB / 383.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.1841, allocations: 1.496 MB / 385.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1841, allocations: 4 kB / 385.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004688/0.1887, allocations: 2.686 MB / 388 MB, free: 8.781 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.1888, allocations: 61.28 kB / 388.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1888, allocations: 4 kB / 388.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003967/0.1928, allocations: 1.582 MB / 389.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.1934, allocations: 263.6 kB / 389.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004724/0.1981, allocations: 3.481 MB / 393.4 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.1987, allocations: 164.4 kB / 393.6 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.1987, allocations: 43.97 kB / 393.6 MB, free: 3.09 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.0002751/0.199, allocations: 219.9 kB / 393.8 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.1991, allocations: 99.89 kB / 393.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.2031, allocations: 2.299 MB / 396.2 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2031, allocations: 11.94 kB / 396.2 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.2031, allocations: 11.94 kB / 396.3 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.2031, allocations: 3.984 kB / 396.3 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.2078, allocations: 2.966 MB / 399.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2078, allocations: 5 kB / 399.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.208, allocations: 99.83 kB / 399.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003825/0.2118, allocations: 1.6 MB / 400.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.2119, allocations: 16 kB / 400.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.2171, allocations: 4.778 MB / 405.7 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2171, allocations: 7.938 kB / 405.7 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/0.2215, allocations: 2.624 MB / 408.4 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.2217, allocations: 118.9 kB / 408.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2218, allocations: 20 kB / 408.5 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.2222, allocations: 75.92 kB / 408.6 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.2225, allocations: 196.6 kB / 408.8 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.2225, allocations: 23.94 kB / 408.8 MB, free: 3.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003228/0.2229, allocations: 434.8 kB / 409.2 MB, free: 3.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2229, allocations: 0 / 409.2 MB, free: 3.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008849/0.2237, allocations: 475.6 kB / 409.7 MB, free: 2.695 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.0001967/0.2239, allocations: 116.9 kB / 409.8 MB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.2261, allocations: 1.589 MB / 411.4 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.2261, allocations: 12 kB / 411.4 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.2275, allocations: 1.097 MB / 412.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.2279, allocations: 135.4 kB / 412.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.2303, allocations: 1.984 MB / 414.6 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.2305, allocations: 253.5 kB / 414.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.2307, allocations: 112.2 kB / 415 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.231, allocations: 179.3 kB / 415.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.231, allocations: 0 / 415.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of Templates: time 0.02746/0.2584, allocations: 26.63 MB / 441.8 MB, free: 2.617 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 -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.403081470169127]