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.001859/0.001859, allocations: 85.48 kB / 19.44 MB, free: 336 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 1.613/1.613, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.002806/0.002806, allocations: 174.3 kB / 256.3 MB, free: 13.15 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.5082/0.5082, allocations: 80.25 MB / 393 MB, free: 2.219 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.413e-06/1.413e-06, allocations: 0 / 489.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.256e-05, allocations: 10.22 kB / 489.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.009095/0.009127, allocations: 6.203 MB / 495.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004931/0.01406, allocations: 1.947 MB / 497.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/0.01487, allocations: 12 kB / 497.3 MB, free: 3.363 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.01566, allocations: 244 kB / 497.5 MB, free: 3.125 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.01803, allocations: 0.8649 MB / 498.4 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.01951, allocations: 0.6379 MB / 499 MB, free: 1.637 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.0219, allocations: 1.568 MB / 0.4888 GB, free: 64 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.02236, allocations: 223.1 kB / 0.489 GB, free: 15.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.02369, allocations: 0.901 MB / 0.4899 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.02474, allocations: 0.6698 MB / 0.4906 GB, free: 14.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.02497, allocations: 124.9 kB / 0.4907 GB, free: 14.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.02558, allocations: 275.6 kB / 0.491 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003848/0.02597, allocations: 343.6 kB / 0.4913 GB, free: 13.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005758/0.02654, allocations: 454.5 kB / 0.4917 GB, free: 13.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.02885, allocations: 1.732 MB / 0.4934 GB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.02885, allocations: 5.188 kB / 0.4934 GB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.02885, allocations: 0 / 0.4934 GB, free: 11.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.02887, allocations: 4 kB / 0.4934 GB, free: 11.34 MB / 378.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.01009/0.03896, allocations: 3.052 MB / 0.4964 GB, free: 8.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.03901, allocations: 8.031 kB / 0.4964 GB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.0443, allocations: 0.9333 MB / 0.4973 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.04606, allocations: 0.8266 MB / 0.4981 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003985/0.04646, allocations: 334 kB / 0.4985 GB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.04665, allocations: 80.53 kB / 0.4985 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.04906, allocations: 1.112 MB / 0.4996 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.04908, allocations: 0 / 0.4996 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.04919, allocations: 37.66 kB / 0.4996 GB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.04921, allocations: 16 kB / 0.4997 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.05143, allocations: 0.953 MB / 0.5006 GB, free: 3.859 MB / 378.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.007666/0.05909, allocations: 3.126 MB / 0.5036 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006245/0.06534, allocations: 1.586 MB / 0.5052 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.06682, allocations: 0.6248 MB / 0.5058 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.06694, allocations: 17 kB / 0.5058 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/0.0687, allocations: 0.85 MB / 0.5067 GB, free: 13.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 2.926e-06/0.0687, allocations: 0 / 0.5067 GB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.02865/0.09736, allocations: 6.246 MB / 0.5128 GB, free: 7.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.09748, allocations: 111.8 kB / 0.5129 GB, free: 7.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.09955, allocations: 1.249 MB / 0.5141 GB, free: 5.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.09977, allocations: 41.7 kB / 0.5141 GB, free: 5.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/0.1004, allocations: 0.5978 MB / 0.5147 GB, free: 5.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/0.1009, allocations: 388.9 kB / 0.5151 GB, free: 4.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.1015, allocations: 325.2 kB / 0.5154 GB, free: 4.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.1018, allocations: 484.6 kB / 0.5158 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.1036, allocations: 0.7452 MB / 0.5166 GB, free: 3.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.1056, allocations: 0.9891 MB / 0.5175 GB, free: 2.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005374/0.1109, allocations: 2.671 MB / 0.5201 GB, free: 15.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.1109, allocations: 0 / 0.5201 GB, free: 15.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01371/0.1247, allocations: 3.977 MB / 0.524 GB, free: 11.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.911e-05/0.1247, allocations: 63.39 kB / 0.5241 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.1248, allocations: 0 / 0.5241 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.1355, allocations: 2.02 MB / 0.5261 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.1372, allocations: 275.6 kB / 0.5263 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.1583, allocations: 8.264 MB / 0.5344 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.1606, allocations: 167.1 kB / 0.5346 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.1608, allocations: 59.91 kB / 0.5346 GB, free: 432 kB / 410.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.0007951/0.1616, allocations: 343 kB / 0.5349 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/0.1621, allocations: 159.1 kB / 0.5351 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/0.1776, allocations: 3.439 MB / 0.5385 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.1776, allocations: 12 kB / 0.5385 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.1777, allocations: 8 kB / 0.5385 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/0.1777, allocations: 7.984 kB / 0.5385 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02116/0.1989, allocations: 4.706 MB / 0.5431 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.1989, allocations: 0 / 0.5431 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/0.1998, allocations: 95.89 kB / 0.5432 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/0.2147, allocations: 2.042 MB / 0.5452 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000343/0.215, allocations: 19.98 kB / 0.5452 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03167/0.2467, allocations: 9.884 MB / 0.5548 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.2467, allocations: 4 kB / 0.5548 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/0.2674, allocations: 4.35 MB / 0.5591 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006736/0.2681, allocations: 158.9 kB / 0.5592 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/0.2685, allocations: 19.98 kB / 0.5593 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.2701, allocations: 83.86 kB / 0.5593 GB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000898/0.271, allocations: 208.6 kB / 0.5595 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.2711, allocations: 24 kB / 0.5596 GB, free: 6.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001831/0.2729, allocations: 0.7854 MB / 0.5603 GB, free: 5.637 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2729, allocations: 0 / 0.5603 GB, free: 5.637 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002267/0.2752, allocations: 475.6 kB / 0.5608 GB, free: 5.172 MB / 442.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.0004351/0.2756, allocations: 131.2 kB / 0.5609 GB, free: 5.031 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009375/0.285, allocations: 2.457 MB / 0.5633 GB, free: 2.508 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.285, allocations: 0.75 kB / 0.5633 GB, free: 2.508 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005388/0.2904, allocations: 1.619 MB / 0.5649 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.2915, allocations: 130.3 kB / 0.565 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1775/0.469, allocations: 2.195 MB / 0.5672 GB, free: 94.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008499/0.4699, allocations: 0.5293 MB / 0.5677 GB, free: 94.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007677/0.4706, allocations: 114 kB / 0.5678 GB, free: 94.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.471, allocations: 82.28 kB / 0.5679 GB, free: 94.09 MB / 442.7 MB Notification: Performance of SimCode: time 2.124e-06/0.471, allocations: 1.156 kB / 0.5679 GB, free: 94.09 MB / 442.7 MB Notification: Performance of Templates: time 0.05682/0.5279, allocations: 27.02 MB / 0.5942 GB, free: 78.51 MB / 442.7 MB " [Timeout remaining time 659] 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: 6.882114814012311]