Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.0009639/0.0009639, 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.9618/0.9618, allocations: 177.2 MB / 200.3 MB, free: 4.809 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.001196/0.001196, allocations: 159.5 kB / 257 MB, free: 12.62 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.3981/0.3981, allocations: 83.3 MB / 343.6 MB, free: 6.496 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 388.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.931e-05, allocations: 5.547 kB / 388.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01262/0.01264, allocations: 19.85 MB / 407.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.023, allocations: 5.17 MB / 413.1 MB, free: 1.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.02577, allocations: 40 kB / 413.1 MB, free: 1.391 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.02749, allocations: 0.9139 MB / 414 MB, free: 480 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.03232, allocations: 2.401 MB / 416.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.03539, allocations: 2.047 MB / 418.5 MB, free: 12 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004997/0.04039, allocations: 5.846 MB / 424.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009757/0.04136, allocations: 0.9118 MB / 425.2 MB, free: 5.141 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.04415, allocations: 3.335 MB / 428.6 MB, free: 1.797 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.04615, allocations: 2.313 MB / 430.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004253/0.04658, allocations: 436 kB / 431.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.04729, allocations: 0.5896 MB / 431.9 MB, free: 14.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006099/0.0479, allocations: 1.178 MB / 433.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.04899, allocations: 1.729 MB / 434.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.05235, allocations: 4.489 MB / 439.3 MB, free: 7.035 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.05235, allocations: 3.938 kB / 439.3 MB, free: 7.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.05236, allocations: 0 / 439.3 MB, free: 7.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.72e-05/0.05239, allocations: 0 / 439.3 MB, free: 7.031 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.178/0.2304, allocations: 9.294 MB / 448.6 MB, free: 38.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2304, allocations: 8.562 kB / 448.6 MB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.2434, allocations: 5.129 MB / 453.7 MB, free: 38.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.2456, allocations: 1.779 MB / 455.5 MB, free: 37.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.246, allocations: 1.014 MB / 456.5 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.2464, allocations: 349.8 kB / 456.9 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.2489, allocations: 2.878 MB / 459.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.249, allocations: 0 / 459.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/0.2492, allocations: 143.8 kB / 459.9 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.2492, allocations: 87.59 kB / 460 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.251, allocations: 1.345 MB / 461.3 MB, free: 36.73 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.01076/0.2617, allocations: 9.449 MB / 470.8 MB, free: 33.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.2645, allocations: 2.124 MB / 472.9 MB, free: 31.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.2653, allocations: 0.8175 MB / 473.7 MB, free: 30.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.2656, allocations: 84.12 kB / 473.8 MB, free: 30.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.2668, allocations: 1.641 MB / 475.4 MB, free: 28.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=382): time 6.252e-06/0.2668, allocations: 1.453 kB / 475.4 MB, free: 28.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.1265/0.3933, allocations: 54.47 MB / 0.5175 GB, free: 6.594 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.3934, allocations: 149.8 kB / 0.5176 GB, free: 6.422 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.3957, allocations: 2.713 MB / 0.5203 GB, free: 4.297 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.396, allocations: 90.92 kB / 0.5204 GB, free: 4.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000581/0.3965, allocations: 1.323 MB / 0.5216 GB, free: 3.164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008818/0.3974, allocations: 1.384 MB / 0.523 GB, free: 1.988 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007788/0.3982, allocations: 0.6632 MB / 0.5236 GB, free: 1.605 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.3983, allocations: 309.1 kB / 0.5239 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.3996, allocations: 0.9343 MB / 0.5249 GB, free: 500 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.4012, allocations: 1.553 MB / 0.5264 GB, free: 14.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/0.4061, allocations: 4.227 MB / 0.5305 GB, free: 10.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.4061, allocations: 4 kB / 0.5305 GB, free: 10.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01932/0.4254, allocations: 10.42 MB / 0.5407 GB, free: 220 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/0.4255, allocations: 63.41 kB / 0.5407 GB, free: 144 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.4255, allocations: 16 kB / 0.5408 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01969/0.4452, allocations: 7.388 MB / 0.548 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/0.4472, allocations: 0.654 MB / 0.5486 GB, free: 8.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/0.4696, allocations: 11.75 MB / 0.5601 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/0.473, allocations: 0.5286 MB / 0.5606 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/0.4732, allocations: 112 kB / 0.5607 GB, free: 11.99 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (393): * Single equations (assignments): 390 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001013/0.4743, allocations: 371.4 kB / 0.5611 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007312/0.475, allocations: 391.6 kB / 0.5614 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0184/0.4934, allocations: 9.982 MB / 0.5712 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.4934, allocations: 37.97 kB / 0.5712 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/0.4935, allocations: 30.62 kB / 0.5713 GB, free: 1.301 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-05/0.4935, allocations: 19.92 kB / 0.5713 GB, free: 1.281 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0227/0.5162, allocations: 11.85 MB / 0.5828 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.5163, allocations: 4.031 kB / 0.5828 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.5176, allocations: 376.9 kB / 0.5832 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01842/0.536, allocations: 7.472 MB / 0.5905 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006616/0.5367, allocations: 64.48 kB / 0.5906 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02083/0.5575, allocations: 12.35 MB / 0.6026 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5575, allocations: 2.625 kB / 0.6026 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/0.5786, allocations: 10.82 MB / 0.6132 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.5797, allocations: 444 kB / 0.6136 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/0.5804, allocations: 64 kB / 0.6137 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.5822, allocations: 287.7 kB / 0.6139 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/0.5839, allocations: 0.7757 MB / 0.6147 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/0.5841, allocations: 64.69 kB / 0.6148 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001229/0.5853, allocations: 1.461 MB / 0.6162 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.5853, allocations: 2.625 kB / 0.6162 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004136/0.5894, allocations: 1.803 MB / 0.618 GB, free: 2.324 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.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.0004899/0.5899, allocations: 186.5 kB / 0.6181 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008947/0.5989, allocations: 5.376 MB / 0.6234 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.563e-05/0.5989, allocations: 45.81 kB / 0.6234 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00728/0.6062, allocations: 3.977 MB / 0.6273 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.6085, allocations: 449.1 kB / 0.6277 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.619, allocations: 7.281 MB / 0.6349 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007799/0.6197, allocations: 0.802 MB / 0.6356 GB, free: 380 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001121/0.6209, allocations: 367.1 kB / 0.636 GB, free: 8 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1549/0.7757, allocations: 484.2 kB / 0.6364 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.904e-06/0.7757, allocations: 0 / 0.6364 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.09498/0.8707, allocations: 100.4 MB / 0.7345 GB, free: 91.64 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.43228216888383]