Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json 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.001143/0.001143, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9416/0.9416, allocations: 177.2 MB / 200 MB, free: 5.539 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.001251/0.001251, allocations: 167.5 kB / 256.6 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2966/0.2966, allocations: 80.25 MB / 393.4 MB, free: 2.172 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 489.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.659e-05, allocations: 2.969 kB / 489.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005374/0.005401, allocations: 6.257 MB / 496.1 MB, free: 5.324 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.008372, allocations: 1.955 MB / 498 MB, free: 3.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.008793, allocations: 16.69 kB / 498 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.009359, allocations: 237.9 kB / 498.3 MB, free: 3.125 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.01072, allocations: 0.8608 MB / 499.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008247/0.01154, allocations: 0.6415 MB / 499.8 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.01275, allocations: 1.577 MB / 0.4896 GB, free: 52 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.01307, allocations: 210.9 kB / 0.4898 GB, free: 15.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/0.014, allocations: 0.9043 MB / 0.4907 GB, free: 14.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.0147, allocations: 0.6758 MB / 0.4913 GB, free: 14.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.01493, allocations: 124 kB / 0.4915 GB, free: 14.13 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004943/0.01542, allocations: 267.8 kB / 0.4917 GB, free: 13.87 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.01566, allocations: 338.5 kB / 0.492 GB, free: 13.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.01597, allocations: 454.5 kB / 0.4925 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.01703, allocations: 1.233 MB / 0.4937 GB, free: 11.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01703, allocations: 5.125 kB / 0.4937 GB, free: 11.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01703, allocations: 0 / 0.4937 GB, free: 11.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.01705, allocations: 0 / 0.4937 GB, free: 11.85 MB / 426.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.00473/0.02178, allocations: 2.908 MB / 0.4965 GB, free: 8.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.02182, allocations: 8.031 kB / 0.4965 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.02449, allocations: 0.9316 MB / 0.4974 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.02552, allocations: 0.8029 MB / 0.4982 GB, free: 7.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.02586, allocations: 329.3 kB / 0.4985 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.02599, allocations: 83.98 kB / 0.4986 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/0.02695, allocations: 0.754 MB / 0.4993 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.02697, allocations: 0 / 0.4993 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.02703, allocations: 35.94 kB / 0.4994 GB, free: 5.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.02704, allocations: 16 kB / 0.4994 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.02781, allocations: 0.4895 MB / 0.4999 GB, free: 5.348 MB / 426.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.003445/0.03126, allocations: 2.694 MB / 0.5025 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.03387, allocations: 1.251 MB / 0.5037 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.03432, allocations: 338.4 kB / 0.504 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.511e-05/0.0344, allocations: 20.98 kB / 0.5041 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006113/0.03501, allocations: 0.5243 MB / 0.5046 GB, free: 392 kB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 2.114e-06/0.03501, allocations: 0 / 0.5046 GB, free: 392 kB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01176/0.04677, allocations: 5.098 MB / 0.5096 GB, free: 11.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.04682, allocations: 111.8 kB / 0.5097 GB, free: 11.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.04761, allocations: 0.9915 MB / 0.5106 GB, free: 10.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.04767, allocations: 41.7 kB / 0.5107 GB, free: 10.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.04794, allocations: 0.5471 MB / 0.5112 GB, free: 9.504 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.04815, allocations: 372.8 kB / 0.5116 GB, free: 9.137 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.04847, allocations: 285.1 kB / 0.5118 GB, free: 8.852 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.04869, allocations: 496.7 kB / 0.5123 GB, free: 8.363 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.04925, allocations: 427.2 kB / 0.5127 GB, free: 7.934 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.04991, allocations: 0.626 MB / 0.5133 GB, free: 7.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.05174, allocations: 1.609 MB / 0.5149 GB, free: 5.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.05174, allocations: 4 kB / 0.5149 GB, free: 5.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005475/0.05722, allocations: 3.051 MB / 0.5179 GB, free: 2.453 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.05726, allocations: 63.39 kB / 0.5179 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.05727, allocations: 4 kB / 0.5179 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005498/0.06277, allocations: 1.633 MB / 0.5195 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.06344, allocations: 271.6 kB / 0.5198 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008131/0.07157, allocations: 4.492 MB / 0.5242 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/0.07255, allocations: 167.2 kB / 0.5243 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/0.07264, allocations: 55.97 kB / 0.5244 GB, free: 11.63 MB / 458.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.0003465/0.07298, allocations: 266.9 kB / 0.5247 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.07316, allocations: 163.1 kB / 0.5248 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/0.07802, allocations: 2.588 MB / 0.5273 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.07803, allocations: 12 kB / 0.5273 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.07804, allocations: 4 kB / 0.5274 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.07805, allocations: 7.984 kB / 0.5274 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/0.08387, allocations: 3.64 MB / 0.5309 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.08388, allocations: 0 / 0.5309 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.08417, allocations: 99.83 kB / 0.531 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004213/0.08838, allocations: 1.651 MB / 0.5326 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.08845, allocations: 20 kB / 0.5326 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007152/0.0956, allocations: 6.381 MB / 0.5389 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.0956, allocations: 8 kB / 0.5389 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005428/0.101, allocations: 3.034 MB / 0.5418 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.1012, allocations: 146.9 kB / 0.542 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1013, allocations: 24 kB / 0.542 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.1018, allocations: 75.92 kB / 0.5421 GB, free: 9.078 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.1021, allocations: 192.6 kB / 0.5423 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.1022, allocations: 28 kB / 0.5423 GB, free: 8.863 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005327/0.1027, allocations: 0.6174 MB / 0.5429 GB, free: 8.238 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1027, allocations: 0 / 0.5429 GB, free: 8.238 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001011/0.1037, allocations: 475.6 kB / 0.5433 GB, free: 7.773 MB / 474.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.0002594/0.104, allocations: 143 kB / 0.5435 GB, free: 7.625 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.1066, allocations: 1.805 MB / 0.5452 GB, free: 5.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1066, allocations: 0 / 0.5452 GB, free: 5.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.1085, allocations: 1.311 MB / 0.5465 GB, free: 4.379 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.109, allocations: 131.1 kB / 0.5467 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.1123, allocations: 2.032 MB / 0.5486 GB, free: 2.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1125, allocations: 241.5 kB / 0.5489 GB, free: 1.918 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003324/0.1128, allocations: 115.9 kB / 0.549 GB, free: 1.801 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.1131, allocations: 84.48 kB / 0.5491 GB, free: 1.719 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1131, allocations: 0 / 0.5491 GB, free: 1.719 MB / 474.7 MB Notification: Performance of Templates: time 0.02833/0.1414, allocations: 27.04 MB / 0.5755 GB, free: 6.785 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.190164864063263]