Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0009227/0.0009227, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.8743/0.8743, allocations: 177.1 MB / 201 MB, free: 5.715 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.001735/0.001735, allocations: 152.6 kB / 257.7 MB, free: 12.99 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.2875/0.2875, allocations: 83.28 MB / 397.5 MB, free: 76 kB / 362.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 495.1 MB, free: 58.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.438e-05, allocations: 5.156 kB / 495.1 MB, free: 58.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.003717/0.003732, allocations: 6.113 MB / 0.4895 GB, free: 52.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.006147, allocations: 1.95 MB / 0.4914 GB, free: 50.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.006498, allocations: 8 kB / 0.4914 GB, free: 50.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.006949, allocations: 250.7 kB / 0.4916 GB, free: 50.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.008027, allocations: 0.868 MB / 0.4925 GB, free: 49.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.008685, allocations: 0.642 MB / 0.4931 GB, free: 48.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.009399, allocations: 1.576 MB / 0.4947 GB, free: 47.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.009614, allocations: 214.9 kB / 0.4949 GB, free: 47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005124/0.01013, allocations: 0.9038 MB / 0.4957 GB, free: 46.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.01054, allocations: 0.6745 MB / 0.4964 GB, free: 45.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.01064, allocations: 124 kB / 0.4965 GB, free: 45.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.0109, allocations: 280.3 kB / 0.4968 GB, free: 45.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.01105, allocations: 334.5 kB / 0.4971 GB, free: 44.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.01126, allocations: 455.3 kB / 0.4975 GB, free: 44.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.01193, allocations: 1.226 MB / 0.4987 GB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01193, allocations: 0.7812 kB / 0.4987 GB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01193, allocations: 0 / 0.4987 GB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01194, allocations: 2.406 kB / 0.4987 GB, free: 43.02 MB / 410.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.003811/0.01575, allocations: 2.928 MB / 0.5016 GB, free: 40.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.01578, allocations: 8.031 kB / 0.5016 GB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.01819, allocations: 0.9255 MB / 0.5025 GB, free: 39.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.01882, allocations: 0.7807 MB / 0.5033 GB, free: 38.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.01893, allocations: 326.2 kB / 0.5036 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.01903, allocations: 87.98 kB / 0.5037 GB, free: 37.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.01965, allocations: 0.6846 MB / 0.5043 GB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01967, allocations: 0.7188 kB / 0.5043 GB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.01972, allocations: 31.94 kB / 0.5044 GB, free: 37.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.01973, allocations: 20.81 kB / 0.5044 GB, free: 37.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.02016, allocations: 399.9 kB / 0.5048 GB, free: 36.7 MB / 410.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.002544/0.02271, allocations: 2.553 MB / 0.5073 GB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.02486, allocations: 1.184 MB / 0.5084 GB, free: 32.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.02511, allocations: 288.5 kB / 0.5087 GB, free: 32.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.657e-05/0.02518, allocations: 22.41 kB / 0.5087 GB, free: 32.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.02556, allocations: 490.4 kB / 0.5092 GB, free: 32.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=95): time 2.465e-06/0.02556, allocations: 0.8438 kB / 0.5092 GB, free: 32.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.01028/0.03584, allocations: 4.914 MB / 0.514 GB, free: 27.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.03586, allocations: 123.7 kB / 0.5141 GB, free: 27.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.03631, allocations: 0.9402 MB / 0.515 GB, free: 26.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.03637, allocations: 45.7 kB / 0.5151 GB, free: 26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.03655, allocations: 0.5585 MB / 0.5156 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.0367, allocations: 372.8 kB / 0.516 GB, free: 25.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.03696, allocations: 293 kB / 0.5162 GB, free: 24.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.838e-05/0.03699, allocations: 484.7 kB / 0.5167 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.03739, allocations: 395.2 kB / 0.5171 GB, free: 23.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.03786, allocations: 0.6064 MB / 0.5177 GB, free: 23.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.03917, allocations: 1.535 MB / 0.5192 GB, free: 21.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.03918, allocations: 0 / 0.5192 GB, free: 21.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004545/0.04372, allocations: 2.962 MB / 0.5221 GB, free: 18.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.04375, allocations: 59.41 kB / 0.5221 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.04376, allocations: 4 kB / 0.5221 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003844/0.0476, allocations: 1.618 MB / 0.5237 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.0482, allocations: 275.6 kB / 0.524 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.05317, allocations: 4.313 MB / 0.5282 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.05377, allocations: 159.2 kB / 0.5283 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.05384, allocations: 43.97 kB / 0.5284 GB, free: 12 MB / 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.0002773/0.05411, allocations: 273.5 kB / 0.5286 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.05426, allocations: 159.1 kB / 0.5288 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.05834, allocations: 2.451 MB / 0.5312 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.05835, allocations: 15.94 kB / 0.5312 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.05835, allocations: 8 kB / 0.5312 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.05836, allocations: 3.984 kB / 0.5312 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004743/0.0631, allocations: 3.381 MB / 0.5345 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.06311, allocations: 3.938 kB / 0.5345 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.06336, allocations: 99.89 kB / 0.5346 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003727/0.06709, allocations: 1.628 MB / 0.5362 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.06714, allocations: 23.94 kB / 0.5362 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005688/0.07282, allocations: 6.211 MB / 0.5423 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.07283, allocations: 0 / 0.5423 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/0.07771, allocations: 2.835 MB / 0.545 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.07785, allocations: 150.9 kB / 0.5452 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.07796, allocations: 20.06 kB / 0.5452 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.0784, allocations: 75.92 kB / 0.5453 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.0787, allocations: 200.5 kB / 0.5455 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.07875, allocations: 20 kB / 0.5455 GB, free: 10.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003833/0.07913, allocations: 0.5625 MB / 0.546 GB, free: 9.484 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07913, allocations: 4 kB / 0.546 GB, free: 9.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008436/0.07997, allocations: 471.6 kB / 0.5465 GB, free: 9.02 MB / 426.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.0002026/0.08018, allocations: 137 kB / 0.5466 GB, free: 8.879 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.08245, allocations: 1.731 MB / 0.5483 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.08245, allocations: 0 / 0.5483 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.08401, allocations: 1.261 MB / 0.5496 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.0845, allocations: 130.2 kB / 0.5497 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.08683, allocations: 2.016 MB / 0.5516 GB, free: 3.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.08699, allocations: 241.5 kB / 0.5519 GB, free: 3.309 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.08721, allocations: 107.9 kB / 0.552 GB, free: 3.199 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.08749, allocations: 206.2 kB / 0.5522 GB, free: 2.996 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.08749, allocations: 4 kB / 0.5522 GB, free: 2.992 MB / 426.7 MB Notification: Performance of Templates: time 0.02794/0.1154, allocations: 28.9 MB / 0.5804 GB, free: 6.188 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7146502071991563]