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.001789/0.001789, allocations: 93.47 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.543/1.543, allocations: 177.1 MB / 199.7 MB, free: 5.805 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.002175/0.002175, allocations: 160.6 kB / 256.3 MB, free: 13.16 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.4994/0.4994, allocations: 80.37 MB / 393.1 MB, free: 2.152 MB / 314.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.214e-06/2.214e-06, allocations: 0.5469 kB / 489.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.783e-05, allocations: 2.812 kB / 489.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.01211/0.01214, allocations: 6.382 MB / 495.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005481/0.01762, allocations: 2.011 MB / 497.6 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.01914, allocations: 12 kB / 497.6 MB, free: 3.051 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009692/0.02011, allocations: 249.8 kB / 497.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.02292, allocations: 0.8865 MB / 498.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.02448, allocations: 0.661 MB / 499.4 MB, free: 1.273 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.02692, allocations: 1.666 MB / 0.4894 GB, free: 15.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.02739, allocations: 219.6 kB / 0.4896 GB, free: 15.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.02913, allocations: 0.9506 MB / 0.4905 GB, free: 14.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.03027, allocations: 0.7133 MB / 0.4912 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.03053, allocations: 132.7 kB / 0.4913 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.03123, allocations: 283.8 kB / 0.4916 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.03163, allocations: 355.4 kB / 0.4919 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.03241, allocations: 486.4 kB / 0.4924 GB, free: 12.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.03508, allocations: 1.819 MB / 0.4942 GB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.03508, allocations: 0 / 0.4942 GB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.03509, allocations: 0.7812 kB / 0.4942 GB, free: 10.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.639e-05/0.03512, allocations: 0 / 0.4942 GB, free: 10.65 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.0109/0.04602, allocations: 3.16 MB / 0.4972 GB, free: 7.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.04607, allocations: 12.03 kB / 0.4973 GB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005523/0.05159, allocations: 0.9232 MB / 0.4982 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.05389, allocations: 0.8729 MB / 0.499 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006187/0.05451, allocations: 329.3 kB / 0.4993 GB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.05476, allocations: 88.8 kB / 0.4994 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.05734, allocations: 1.132 MB / 0.5005 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.05736, allocations: 0 / 0.5005 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.05747, allocations: 32 kB / 0.5005 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.05749, allocations: 24.5 kB / 0.5006 GB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.05977, allocations: 0.9724 MB / 0.5015 GB, free: 2.977 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.007774/0.06754, allocations: 3.203 MB / 0.5046 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006682/0.07422, allocations: 1.621 MB / 0.5062 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.07585, allocations: 0.6326 MB / 0.5069 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.07599, allocations: 28.98 kB / 0.5069 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/0.0779, allocations: 0.8656 MB / 0.5077 GB, free: 12.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.537e-06/0.0779, allocations: 0 / 0.5077 GB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02881/0.1067, allocations: 6.153 MB / 0.5137 GB, free: 6.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.1068, allocations: 115.8 kB / 0.5138 GB, free: 6.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.109, allocations: 1.298 MB / 0.5151 GB, free: 4.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.1093, allocations: 49.7 kB / 0.5152 GB, free: 4.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000641/0.1099, allocations: 0.6017 MB / 0.5157 GB, free: 4.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006273/0.1106, allocations: 404.8 kB / 0.5161 GB, free: 3.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007191/0.1113, allocations: 345.2 kB / 0.5165 GB, free: 3.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002852/0.1116, allocations: 480.7 kB / 0.5169 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.1135, allocations: 0.7881 MB / 0.5177 GB, free: 2.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.1156, allocations: 1.031 MB / 0.5187 GB, free: 1.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006116/0.1217, allocations: 2.809 MB / 0.5214 GB, free: 14.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.1217, allocations: 4 kB / 0.5214 GB, free: 14.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.01468/0.1364, allocations: 4.121 MB / 0.5255 GB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.1365, allocations: 59.41 kB / 0.5255 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.1365, allocations: 4 kB / 0.5255 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/0.148, allocations: 2.086 MB / 0.5276 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.1498, allocations: 287.5 kB / 0.5278 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/0.1722, allocations: 8.409 MB / 0.536 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.1743, allocations: 175.1 kB / 0.5362 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.1745, allocations: 51.98 kB / 0.5363 GB, free: 14.8 MB / 426.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.0007634/0.1753, allocations: 351 kB / 0.5366 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.1757, allocations: 171 kB / 0.5368 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/0.1885, allocations: 3.479 MB / 0.5402 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.1885, allocations: 12 kB / 0.5402 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.1885, allocations: 4 kB / 0.5402 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.1885, allocations: 7.984 kB / 0.5402 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.2035, allocations: 4.784 MB / 0.5449 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.2035, allocations: 0 / 0.5449 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.2043, allocations: 103.9 kB / 0.545 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/0.2145, allocations: 2.03 MB / 0.5469 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/0.2148, allocations: 20 kB / 0.547 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02214/0.2369, allocations: 9.872 MB / 0.5566 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2369, allocations: 4 kB / 0.5566 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.2517, allocations: 4.44 MB / 0.5609 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006768/0.2523, allocations: 162.8 kB / 0.5611 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/0.2527, allocations: 20 kB / 0.5611 GB, free: 4.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.2541, allocations: 75.92 kB / 0.5612 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007073/0.2548, allocations: 208.6 kB / 0.5614 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.2549, allocations: 27.98 kB / 0.5614 GB, free: 4.605 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001497/0.2564, allocations: 0.8212 MB / 0.5622 GB, free: 3.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2564, allocations: 4 kB / 0.5622 GB, free: 3.773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001917/0.2583, allocations: 495.6 kB / 0.5627 GB, free: 3.289 MB / 442.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.0003586/0.2587, allocations: 143.6 kB / 0.5628 GB, free: 3.141 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007427/0.2661, allocations: 2.551 MB / 0.5653 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2661, allocations: 0 / 0.5653 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1739/0.44, allocations: 1.634 MB / 0.5669 GB, free: 94.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.4416, allocations: 138.2 kB / 0.567 GB, free: 94.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/0.4469, allocations: 2.361 MB / 0.5693 GB, free: 93.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009088/0.4478, allocations: 0.5427 MB / 0.5699 GB, free: 93.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006314/0.4484, allocations: 117.7 kB / 0.57 GB, free: 93.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.4488, allocations: 87.88 kB / 0.5701 GB, free: 93.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4488, allocations: 2.297 kB / 0.5701 GB, free: 93.4 MB / 442.7 MB Notification: Performance of Templates: time 0.04007/0.4889, allocations: 28.03 MB / 0.5975 GB, free: 75.69 MB / 442.7 MB " [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: 6.784681748016737]