Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.001359/0.001359, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9443/0.9443, allocations: 177.1 MB / 200.5 MB, free: 5.84 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.001324/0.001324, allocations: 164.6 kB / 257 MB, free: 13.21 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.3058/0.3058, allocations: 80.25 MB / 393.7 MB, free: 2.262 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 489.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.601e-05, allocations: 2.312 kB / 489.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007598/0.007634, allocations: 6.283 MB / 496.1 MB, free: 5.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.0126, allocations: 1.964 MB / 498.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.01379, allocations: 12 kB / 498.1 MB, free: 3.613 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.01471, allocations: 238.8 kB / 498.3 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.01697, allocations: 0.8633 MB / 499.2 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.01833, allocations: 0.6402 MB / 499.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.02026, allocations: 1.588 MB / 0.4896 GB, free: 304 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.02068, allocations: 207.5 kB / 0.4898 GB, free: 84 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.02188, allocations: 0.9025 MB / 0.4907 GB, free: 15.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008183/0.0227, allocations: 0.6776 MB / 0.4914 GB, free: 14.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.02286, allocations: 120 kB / 0.4915 GB, free: 14.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.02344, allocations: 267.8 kB / 0.4918 GB, free: 14.12 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003911/0.02383, allocations: 334.5 kB / 0.4921 GB, free: 13.79 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.02428, allocations: 462.5 kB / 0.4925 GB, free: 13.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.02592, allocations: 1.223 MB / 0.4937 GB, free: 12.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.02593, allocations: 4 kB / 0.4937 GB, free: 12.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.02593, allocations: 5.172 kB / 0.4937 GB, free: 12.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.02594, allocations: 0 / 0.4937 GB, free: 12.11 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007296/0.03324, allocations: 2.903 MB / 0.4966 GB, free: 9.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.0333, allocations: 19.95 kB / 0.4966 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/0.0369, allocations: 0.9287 MB / 0.4975 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.03809, allocations: 0.8069 MB / 0.4983 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.0383, allocations: 333.3 kB / 0.4986 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.03843, allocations: 84 kB / 0.4987 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.03946, allocations: 0.7578 MB / 0.4994 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.03947, allocations: 0 / 0.4994 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.03954, allocations: 31.94 kB / 0.4994 GB, free: 6.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.03956, allocations: 20 kB / 0.4995 GB, free: 6.082 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.04033, allocations: 497.3 kB / 0.4999 GB, free: 5.59 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.003621/0.04395, allocations: 2.729 MB / 0.5026 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.04653, allocations: 1.247 MB / 0.5038 GB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.04697, allocations: 343.9 kB / 0.5041 GB, free: 1.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.359e-05/0.04705, allocations: 21 kB / 0.5042 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006357/0.04768, allocations: 0.5259 MB / 0.5047 GB, free: 0.582 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 2.375e-06/0.04768, allocations: 0 / 0.5047 GB, free: 0.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01174/0.05942, allocations: 4.997 MB / 0.5096 GB, free: 11.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.05947, allocations: 115.8 kB / 0.5097 GB, free: 11.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008508/0.06032, allocations: 0.9794 MB / 0.5106 GB, free: 10.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.924e-05/0.0604, allocations: 41.7 kB / 0.5107 GB, free: 10.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.0607, allocations: 0.5509 MB / 0.5112 GB, free: 9.809 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.06094, allocations: 368.9 kB / 0.5116 GB, free: 9.445 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.06127, allocations: 293.2 kB / 0.5118 GB, free: 9.152 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.06138, allocations: 488.7 kB / 0.5123 GB, free: 8.672 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.06196, allocations: 431.2 kB / 0.5127 GB, free: 8.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.06264, allocations: 0.6338 MB / 0.5133 GB, free: 7.539 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.06451, allocations: 1.637 MB / 0.5149 GB, free: 5.816 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.06452, allocations: 0 / 0.5149 GB, free: 5.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005601/0.07012, allocations: 3.047 MB / 0.5179 GB, free: 2.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.07017, allocations: 63.39 kB / 0.518 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.07019, allocations: 4 kB / 0.518 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004372/0.07456, allocations: 1.525 MB / 0.5195 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.0753, allocations: 295.6 kB / 0.5197 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006525/0.08182, allocations: 4.355 MB / 0.524 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/0.08265, allocations: 163.1 kB / 0.5241 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.08273, allocations: 59.97 kB / 0.5242 GB, free: 12.12 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (161): * Single equations (assignments): 158 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003872/0.08312, allocations: 266.8 kB / 0.5245 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.08331, allocations: 159.2 kB / 0.5246 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004981/0.08829, allocations: 2.576 MB / 0.5271 GB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.0883, allocations: 12 kB / 0.5271 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.08831, allocations: 8 kB / 0.5271 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.08832, allocations: 15.97 kB / 0.5272 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006069/0.09439, allocations: 3.663 MB / 0.5307 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.09439, allocations: 0 / 0.5307 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.09471, allocations: 95.91 kB / 0.5308 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004327/0.09904, allocations: 1.63 MB / 0.5324 GB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.947e-05/0.09912, allocations: 23.98 kB / 0.5324 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007357/0.1065, allocations: 6.408 MB / 0.5387 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1065, allocations: 0 / 0.5387 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005743/0.1122, allocations: 3.046 MB / 0.5417 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.1125, allocations: 139 kB / 0.5418 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.1126, allocations: 20 kB / 0.5418 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.1131, allocations: 79.98 kB / 0.5419 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/0.1134, allocations: 196.6 kB / 0.5421 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.1135, allocations: 31.98 kB / 0.5421 GB, free: 9.336 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005732/0.114, allocations: 0.6172 MB / 0.5427 GB, free: 8.711 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.114, allocations: 0 / 0.5427 GB, free: 8.711 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001088/0.1151, allocations: 471.6 kB / 0.5432 GB, free: 8.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002599/0.1154, allocations: 141.3 kB / 0.5433 GB, free: 8.105 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.1181, allocations: 1.794 MB / 0.5451 GB, free: 6.246 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1181, allocations: 4.062 kB / 0.5451 GB, free: 6.242 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.1198, allocations: 1.301 MB / 0.5463 GB, free: 4.879 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.1203, allocations: 131 kB / 0.5465 GB, free: 4.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.1232, allocations: 2.055 MB / 0.5485 GB, free: 2.652 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.1234, allocations: 245.5 kB / 0.5487 GB, free: 2.391 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002488/0.1236, allocations: 112 kB / 0.5488 GB, free: 2.277 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.1238, allocations: 80.47 kB / 0.5489 GB, free: 2.199 MB / 474.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1238, allocations: 4 kB / 0.5489 GB, free: 2.195 MB / 474.7 MB Notification: Performance of Templates: time 0.02839/0.1522, allocations: 26.84 MB / 0.5751 GB, free: 7.457 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.139251545071602]