Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.00105/0.00105, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9052/0.9052, allocations: 177.2 MB / 200.3 MB, free: 5.328 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.001203/0.001203, allocations: 160.6 kB / 257 MB, free: 12.77 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.3822/0.3822, allocations: 83.32 MB / 343.6 MB, free: 6.68 MB / 314.7 MB " [Timeout remaining time 180] 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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 388.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.912e-05, allocations: 2.312 kB / 388.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01268/0.0127, allocations: 19.95 MB / 408 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009981/0.02268, allocations: 5.174 MB / 413.2 MB, free: 1.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.02555, allocations: 43.94 kB / 413.2 MB, free: 1.336 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.02752, allocations: 0.91 MB / 414.1 MB, free: 428 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005402/0.03292, allocations: 2.416 MB / 416.5 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.03632, allocations: 2.048 MB / 418.6 MB, free: 11.94 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006136/0.04245, allocations: 5.862 MB / 424.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.04393, allocations: 0.904 MB / 425.4 MB, free: 5.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/0.04866, allocations: 3.339 MB / 428.7 MB, free: 1.723 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.05094, allocations: 2.309 MB / 431 MB, free: 15.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006083/0.05155, allocations: 440 kB / 431.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009691/0.05252, allocations: 0.5857 MB / 432 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006145/0.05314, allocations: 1.178 MB / 433.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.0548, allocations: 1.721 MB / 434.9 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004044/0.05884, allocations: 4.501 MB / 439.4 MB, free: 6.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.05885, allocations: 0 / 439.4 MB, free: 6.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.05885, allocations: 0 / 439.4 MB, free: 6.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.05895, allocations: 0 / 439.4 MB, free: 6.961 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.1699/0.2288, allocations: 9.297 MB / 448.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2289, allocations: 10.47 kB / 448.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/0.2433, allocations: 5.131 MB / 453.9 MB, free: 38.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/0.2469, allocations: 1.778 MB / 455.6 MB, free: 37.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004687/0.2473, allocations: 1.014 MB / 456.7 MB, free: 37.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006396/0.248, allocations: 349 kB / 457 MB, free: 37.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/0.2515, allocations: 2.885 MB / 459.9 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.924e-05/0.2515, allocations: 0 / 459.9 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.2517, allocations: 138.7 kB / 460 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.2518, allocations: 85.12 kB / 460.1 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.2537, allocations: 1.346 MB / 461.4 MB, free: 36.69 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.01413/0.2679, allocations: 9.458 MB / 470.9 MB, free: 32.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.2708, allocations: 2.129 MB / 473 MB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009991/0.2718, allocations: 0.8183 MB / 473.9 MB, free: 30.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.272, allocations: 83.11 kB / 473.9 MB, free: 30.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/0.2733, allocations: 1.641 MB / 475.6 MB, free: 28.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=383): time 6.402e-06/0.2733, allocations: 0 / 475.6 MB, free: 28.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=383): time 0.1167/0.39, allocations: 54.34 MB / 0.5175 GB, free: 6.645 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.3901, allocations: 149.3 kB / 0.5176 GB, free: 6.477 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.3924, allocations: 2.709 MB / 0.5203 GB, free: 4.355 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007171/0.3932, allocations: 90.58 kB / 0.5204 GB, free: 4.309 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/0.3939, allocations: 1.323 MB / 0.5217 GB, free: 3.223 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00129/0.3952, allocations: 1.378 MB / 0.523 GB, free: 2.055 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008374/0.396, allocations: 0.6773 MB / 0.5237 GB, free: 1.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.3961, allocations: 313 kB / 0.524 GB, free: 1.352 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.3976, allocations: 0.9313 MB / 0.5249 GB, free: 0.543 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.3996, allocations: 1.565 MB / 0.5264 GB, free: 14.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005227/0.4048, allocations: 4.278 MB / 0.5306 GB, free: 10.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/0.4048, allocations: 4 kB / 0.5306 GB, free: 10.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02069/0.4255, allocations: 10.41 MB / 0.5408 GB, free: 256 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/0.4256, allocations: 68.05 kB / 0.5408 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/0.4256, allocations: 16 kB / 0.5408 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01893/0.4446, allocations: 7.235 MB / 0.5479 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.4466, allocations: 0.6507 MB / 0.5485 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/0.4684, allocations: 11.45 MB / 0.5597 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/0.4714, allocations: 0.5292 MB / 0.5602 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.4716, allocations: 120 kB / 0.5603 GB, free: 12.43 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (398): * Single equations (assignments): 395 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009774/0.4726, allocations: 363.8 kB / 0.5607 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006531/0.4732, allocations: 387.6 kB / 0.5611 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/0.4912, allocations: 9.998 MB / 0.5708 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/0.4912, allocations: 40 kB / 0.5709 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/0.4912, allocations: 31.98 kB / 0.5709 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/0.4913, allocations: 15.94 kB / 0.5709 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/0.5128, allocations: 11.86 MB / 0.5825 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.5128, allocations: 0 / 0.5825 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.514, allocations: 373.7 kB / 0.5828 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01794/0.5319, allocations: 7.436 MB / 0.5901 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008978/0.5328, allocations: 67.98 kB / 0.5902 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/0.5548, allocations: 12.36 MB / 0.6022 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.5548, allocations: 4 kB / 0.6022 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02134/0.5761, allocations: 10.81 MB / 0.6128 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.5771, allocations: 436.1 kB / 0.6132 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005809/0.5777, allocations: 72 kB / 0.6133 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.5794, allocations: 281.2 kB / 0.6136 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00166/0.5811, allocations: 0.7758 MB / 0.6143 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.5813, allocations: 67.98 kB / 0.6144 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001178/0.5824, allocations: 1.463 MB / 0.6158 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5824, allocations: 0 / 0.6158 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003805/0.5862, allocations: 1.803 MB / 0.6176 GB, free: 2.793 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004449/0.5867, allocations: 183.2 kB / 0.6177 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0091/0.5958, allocations: 5.246 MB / 0.6229 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.333e-05/0.5958, allocations: 41.81 kB / 0.6229 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007601/0.6034, allocations: 3.964 MB / 0.6268 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.6061, allocations: 440.9 kB / 0.6272 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.6168, allocations: 7.306 MB / 0.6343 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.6176, allocations: 0.7981 MB / 0.6351 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001221/0.6188, allocations: 369.1 kB / 0.6355 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008402/0.6197, allocations: 491.3 kB / 0.6359 GB, free: 160 kB / 0.5417 GB Notification: Performance of SimCode: time 2.304e-06/0.6197, allocations: 0 / 0.6359 GB, free: 160 kB / 0.5417 GB Notification: Performance of Templates: time 0.2383/0.858, allocations: 98.9 MB / 0.7325 GB, free: 93.91 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.412306739017367]