Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0009166/0.0009166, allocations: 93.06 kB / 19.65 MB, free: 272 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.004/1.004, allocations: 177.1 MB / 200 MB, free: 5.785 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.001724/0.001724, allocations: 160.6 kB / 256.6 MB, free: 13.09 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.2774/0.2774, allocations: 80.23 MB / 393.4 MB, free: 2.164 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 489.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.36e-05, allocations: 5.125 kB / 489.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008805/0.008828, allocations: 6.418 MB / 496.2 MB, free: 5.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.01245, allocations: 2.029 MB / 498.3 MB, free: 3.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.01288, allocations: 15.94 kB / 498.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.01344, allocations: 234.8 kB / 498.5 MB, free: 2.832 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.0148, allocations: 0.8863 MB / 499.4 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.0156, allocations: 0.6566 MB / 0.4883 GB, free: 1.305 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.01667, allocations: 1.675 MB / 0.49 GB, free: 15.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.01694, allocations: 207 kB / 0.4902 GB, free: 15.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007337/0.01767, allocations: 0.9554 MB / 0.4911 GB, free: 14.46 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.01827, allocations: 0.7165 MB / 0.4918 GB, free: 13.74 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.01841, allocations: 132.7 kB / 0.4919 GB, free: 13.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/0.01901, allocations: 279.8 kB / 0.4922 GB, free: 13.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.01922, allocations: 352.2 kB / 0.4925 GB, free: 12.99 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.01953, allocations: 486.4 kB / 0.493 GB, free: 12.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009527/0.02048, allocations: 1.284 MB / 0.4942 GB, free: 11.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.02049, allocations: 0 / 0.4942 GB, free: 11.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.02049, allocations: 1.156 kB / 0.4942 GB, free: 11.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.0205, allocations: 0 / 0.4942 GB, free: 11.23 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.004875/0.02537, allocations: 3.003 MB / 0.4972 GB, free: 8.191 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.02541, allocations: 12.03 kB / 0.4972 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.02809, allocations: 0.9406 MB / 0.4981 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/0.02904, allocations: 0.8345 MB / 0.4989 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005067/0.02955, allocations: 333.2 kB / 0.4992 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.02967, allocations: 87.95 kB / 0.4993 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.03064, allocations: 0.7656 MB / 0.5001 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.03066, allocations: 4 kB / 0.5001 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.03072, allocations: 32 kB / 0.5001 GB, free: 5.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.03074, allocations: 23.94 kB / 0.5001 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/0.03151, allocations: 0.4934 MB / 0.5006 GB, free: 4.547 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.0034/0.03491, allocations: 2.749 MB / 0.5033 GB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.03758, allocations: 1.265 MB / 0.5045 GB, free: 436 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.03802, allocations: 343.9 kB / 0.5049 GB, free: 80 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/0.03811, allocations: 20.98 kB / 0.5049 GB, free: 56 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006677/0.03878, allocations: 0.5454 MB / 0.5054 GB, free: 15.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.695e-06/0.03878, allocations: 0 / 0.5054 GB, free: 15.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01169/0.05047, allocations: 4.97 MB / 0.5103 GB, free: 10.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.05052, allocations: 115.8 kB / 0.5104 GB, free: 10.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.05135, allocations: 1.02 MB / 0.5114 GB, free: 9.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.05142, allocations: 45.7 kB / 0.5114 GB, free: 9.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.0517, allocations: 0.5588 MB / 0.512 GB, free: 8.684 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.05192, allocations: 384.8 kB / 0.5123 GB, free: 8.305 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/0.05226, allocations: 301.1 kB / 0.5126 GB, free: 8.004 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.05237, allocations: 484.7 kB / 0.5131 GB, free: 7.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/0.05325, allocations: 447.2 kB / 0.5135 GB, free: 7.078 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007561/0.05401, allocations: 0.6572 MB / 0.5141 GB, free: 6.355 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.05602, allocations: 1.676 MB / 0.5158 GB, free: 4.594 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.05602, allocations: 4 kB / 0.5158 GB, free: 4.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005965/0.06199, allocations: 3.164 MB / 0.5189 GB, free: 1.383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.06205, allocations: 63.41 kB / 0.5189 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.06206, allocations: 0 / 0.5189 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004974/0.06703, allocations: 1.684 MB / 0.5206 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.06779, allocations: 287.5 kB / 0.5209 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00705/0.07484, allocations: 4.555 MB / 0.5253 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/0.07564, allocations: 171.1 kB / 0.5255 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.07573, allocations: 59.97 kB / 0.5255 GB, free: 10.43 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.000367/0.07609, allocations: 269.3 kB / 0.5258 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.07628, allocations: 167.1 kB / 0.5259 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/0.08146, allocations: 2.612 MB / 0.5285 GB, free: 7.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.08147, allocations: 11.98 kB / 0.5285 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.08148, allocations: 8 kB / 0.5285 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.08149, allocations: 7.922 kB / 0.5285 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006445/0.08794, allocations: 3.687 MB / 0.5321 GB, free: 3.555 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.08794, allocations: 0 / 0.5321 GB, free: 3.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.08829, allocations: 107.8 kB / 0.5322 GB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004265/0.09256, allocations: 1.636 MB / 0.5338 GB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.09263, allocations: 23.94 kB / 0.5338 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/0.1, allocations: 6.397 MB / 0.5401 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1, allocations: 4.062 kB / 0.5401 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/0.1056, allocations: 3.066 MB / 0.5431 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.1058, allocations: 146.9 kB / 0.5432 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.106, allocations: 23.98 kB / 0.5432 GB, free: 7.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005174/0.1065, allocations: 83.92 kB / 0.5433 GB, free: 7.758 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.1068, allocations: 188.6 kB / 0.5435 GB, free: 7.574 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.1069, allocations: 28 kB / 0.5435 GB, free: 7.547 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005924/0.1075, allocations: 0.6454 MB / 0.5442 GB, free: 6.895 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1075, allocations: 7.938 kB / 0.5442 GB, free: 6.887 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001132/0.1086, allocations: 495.6 kB / 0.5446 GB, free: 6.402 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.0002691/0.1089, allocations: 139.8 kB / 0.5448 GB, free: 6.258 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00294/0.1118, allocations: 1.864 MB / 0.5466 GB, free: 4.332 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1118, allocations: 4 kB / 0.5466 GB, free: 4.328 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.1136, allocations: 1.32 MB / 0.5479 GB, free: 2.941 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.1141, allocations: 134.8 kB / 0.548 GB, free: 2.809 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.1173, allocations: 2.191 MB / 0.5502 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.1175, allocations: 253.5 kB / 0.5504 GB, free: 312 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.1178, allocations: 120.1 kB / 0.5505 GB, free: 188 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.118, allocations: 80.47 kB / 0.5506 GB, free: 108 kB / 474.7 MB Notification: Performance of SimCode: time 1.502e-06/0.118, allocations: 4 kB / 0.5506 GB, free: 104 kB / 474.7 MB Notification: Performance of Templates: time 0.02923/0.1472, allocations: 28.04 MB / 0.578 GB, free: 4.18 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.179151414893568]