Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0009123/0.0009123, allocations: 92.22 kB / 19.65 MB, free: 276 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.9539/0.9539, allocations: 177.2 MB / 200 MB, free: 5.543 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.001493/0.001493, allocations: 160.4 kB / 256.6 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.3412/0.3412, allocations: 83.28 MB / 396.4 MB, free: 15.21 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 493.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.878e-05, allocations: 2.312 kB / 493.9 MB, free: 7.344 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008177/0.008205, allocations: 6.433 MB / 0.4886 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.0119, allocations: 2.018 MB / 0.4906 GB, free: 14.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006672/0.01256, allocations: 13.66 kB / 0.4906 GB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.0132, allocations: 241.9 kB / 0.4908 GB, free: 14.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.01492, allocations: 0.9096 MB / 0.4917 GB, free: 13.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.01592, allocations: 0.6467 MB / 0.4923 GB, free: 13.1 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.01754, allocations: 1.67 MB / 0.494 GB, free: 11.42 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004617/0.018, allocations: 214.9 kB / 0.4942 GB, free: 11.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.0194, allocations: 0.9555 MB / 0.4951 GB, free: 10.24 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007248/0.02013, allocations: 0.7172 MB / 0.4958 GB, free: 9.523 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.02031, allocations: 132 kB / 0.4959 GB, free: 9.395 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.02074, allocations: 284.6 kB / 0.4962 GB, free: 9.117 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.02098, allocations: 350.5 kB / 0.4965 GB, free: 8.773 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.02137, allocations: 487.2 kB / 0.497 GB, free: 8.297 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.0226, allocations: 1.28 MB / 0.4982 GB, free: 7.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.0226, allocations: 5.094 kB / 0.4982 GB, free: 7.008 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.02261, allocations: 0 / 0.4982 GB, free: 7.008 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.02262, allocations: 0 / 0.4982 GB, free: 7.008 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005457/0.02808, allocations: 3.007 MB / 0.5012 GB, free: 3.969 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.02813, allocations: 13.28 kB / 0.5012 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.03103, allocations: 0.9303 MB / 0.5021 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.03224, allocations: 0.8384 MB / 0.5029 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.03254, allocations: 337.3 kB / 0.5032 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.03269, allocations: 91.94 kB / 0.5033 GB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.03395, allocations: 0.7617 MB / 0.5041 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.03396, allocations: 3.938 kB / 0.5041 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.03404, allocations: 28 kB / 0.5041 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.03406, allocations: 23.94 kB / 0.5041 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.03494, allocations: 0.4935 MB / 0.5046 GB, free: 336 kB / 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.003924/0.03886, allocations: 2.745 MB / 0.5073 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.04157, allocations: 1.261 MB / 0.5085 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.04205, allocations: 354 kB / 0.5089 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-05/0.04213, allocations: 17 kB / 0.5089 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006997/0.04283, allocations: 0.5493 MB / 0.5094 GB, free: 11.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.946e-06/0.04283, allocations: 0 / 0.5094 GB, free: 11.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01178/0.05461, allocations: 4.978 MB / 0.5143 GB, free: 6.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.05466, allocations: 111.8 kB / 0.5144 GB, free: 6.121 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.05557, allocations: 1.024 MB / 0.5154 GB, free: 5.082 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.09e-05/0.05565, allocations: 45.7 kB / 0.5154 GB, free: 5.031 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.05596, allocations: 0.5549 MB / 0.516 GB, free: 4.469 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.05619, allocations: 384.8 kB / 0.5163 GB, free: 4.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.05654, allocations: 301.1 kB / 0.5166 GB, free: 3.789 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.05665, allocations: 484.7 kB / 0.5171 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.05726, allocations: 447.2 kB / 0.5175 GB, free: 2.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008128/0.05807, allocations: 0.6611 MB / 0.5182 GB, free: 2.137 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.06003, allocations: 1.676 MB / 0.5198 GB, free: 384 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.06004, allocations: 0 / 0.5198 GB, free: 384 kB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005792/0.06583, allocations: 3.161 MB / 0.5229 GB, free: 13.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.06588, allocations: 63.39 kB / 0.5229 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.06589, allocations: 4 kB / 0.5229 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004682/0.07057, allocations: 1.688 MB / 0.5246 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/0.07133, allocations: 295.5 kB / 0.5249 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/0.07841, allocations: 4.543 MB / 0.5293 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.07931, allocations: 175.1 kB / 0.5295 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/0.07939, allocations: 51.98 kB / 0.5295 GB, free: 6.219 MB / 458.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.0004123/0.07981, allocations: 277.1 kB / 0.5298 GB, free: 5.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.08001, allocations: 167.1 kB / 0.53 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/0.08506, allocations: 2.604 MB / 0.5325 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.08507, allocations: 12 kB / 0.5325 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.08508, allocations: 8 kB / 0.5325 GB, free: 3.109 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.08509, allocations: 3.984 kB / 0.5325 GB, free: 3.105 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/0.09124, allocations: 3.699 MB / 0.5361 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.09124, allocations: 7.984 kB / 0.5361 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.09158, allocations: 99.83 kB / 0.5362 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00438/0.09596, allocations: 1.64 MB / 0.5378 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/0.09606, allocations: 23.94 kB / 0.5379 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007849/0.1039, allocations: 6.382 MB / 0.5441 GB, free: 6.926 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1039, allocations: 4 kB / 0.5441 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005738/0.1096, allocations: 3.066 MB / 0.5471 GB, free: 3.805 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.1099, allocations: 154.9 kB / 0.5472 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.11, allocations: 16 kB / 0.5473 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/0.1106, allocations: 79.92 kB / 0.5473 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/0.111, allocations: 196.6 kB / 0.5475 GB, free: 3.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/0.1111, allocations: 27.98 kB / 0.5475 GB, free: 3.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006529/0.1117, allocations: 0.6494 MB / 0.5482 GB, free: 2.684 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1117, allocations: 0 / 0.5482 GB, free: 2.684 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001164/0.1129, allocations: 495.6 kB / 0.5486 GB, free: 2.199 MB / 474.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.0002779/0.1132, allocations: 139 kB / 0.5488 GB, free: 2.055 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002893/0.1161, allocations: 1.88 MB / 0.5506 GB, free: 112 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1161, allocations: 0 / 0.5506 GB, free: 112 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.1179, allocations: 1.327 MB / 0.5519 GB, free: 14.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.1185, allocations: 128.5 kB / 0.552 GB, free: 14.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.1216, allocations: 2.187 MB / 0.5542 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.1218, allocations: 253.6 kB / 0.5544 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.1221, allocations: 116.1 kB / 0.5545 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.1223, allocations: 84.48 kB / 0.5546 GB, free: 11.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/0.1223, allocations: 0 / 0.5546 GB, free: 11.89 MB / 490.7 MB Notification: Performance of Templates: time 0.03053/0.1528, allocations: 28.87 MB / 0.5828 GB, free: 15.14 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.073346187826246]