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.001295/0.001295, 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.9037/0.9037, allocations: 177.2 MB / 201 MB, free: 5.695 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.001716/0.001716, allocations: 152.6 kB / 257.7 MB, free: 12.98 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.2835/0.2835, allocations: 83.27 MB / 397.5 MB, free: 60 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.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.372e-06/1.372e-06, allocations: 0 / 495.2 MB, free: 58.51 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.27e-05, allocations: 2.312 kB / 495.2 MB, free: 58.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01245/0.01248, allocations: 19.85 MB / 0.503 GB, free: 38.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007976/0.02045, allocations: 4.871 MB / 0.5078 GB, free: 33.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.02349, allocations: 44 kB / 0.5078 GB, free: 33.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.02606, allocations: 0.8871 MB / 0.5087 GB, free: 32.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00578/0.03184, allocations: 2.386 MB / 0.511 GB, free: 30.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.03561, allocations: 2.044 MB / 0.513 GB, free: 28.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006616/0.04223, allocations: 5.855 MB / 0.5187 GB, free: 22.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.0437, allocations: 0.8688 MB / 0.5196 GB, free: 21.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004543/0.04824, allocations: 3.339 MB / 0.5228 GB, free: 18.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.05059, allocations: 2.294 MB / 0.5251 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009802/0.05157, allocations: 436 kB / 0.5255 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.05273, allocations: 0.6023 MB / 0.5261 GB, free: 14.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.05324, allocations: 1.166 MB / 0.5272 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.05462, allocations: 1.729 MB / 0.5289 GB, free: 12.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004244/0.05886, allocations: 4.487 MB / 0.5333 GB, free: 7.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.05887, allocations: 0 / 0.5333 GB, free: 7.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.05887, allocations: 0 / 0.5333 GB, free: 7.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001935/0.05906, allocations: 4 kB / 0.5333 GB, free: 7.551 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.01935/0.07841, allocations: 10.24 MB / 0.5433 GB, free: 13.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.07847, allocations: 8.031 kB / 0.5433 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.09377, allocations: 4.796 MB / 0.548 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.09748, allocations: 2.496 MB / 0.5504 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000606/0.09808, allocations: 1.017 MB / 0.5514 GB, free: 4.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006772/0.09876, allocations: 344 kB / 0.5517 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/0.1027, allocations: 2.807 MB / 0.5545 GB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.1027, allocations: 0 / 0.5545 GB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002828/0.103, allocations: 140 kB / 0.5546 GB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.1031, allocations: 87.94 kB / 0.5547 GB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.1054, allocations: 1.598 MB / 0.5563 GB, free: 15.62 MB / 442.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.0178/0.1232, allocations: 11.72 MB / 0.5677 GB, free: 3.477 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.1269, allocations: 2.308 MB / 0.57 GB, free: 1.148 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.1283, allocations: 0.9808 MB / 0.5709 GB, free: 156 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.1285, allocations: 78.95 kB / 0.571 GB, free: 76 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002016/0.1306, allocations: 1.635 MB / 0.5726 GB, free: 14.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=382): time 5.931e-06/0.1306, allocations: 0 / 0.5726 GB, free: 14.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=382): time 0.2796/0.4102, allocations: 55.47 MB / 0.6268 GB, free: 132 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.4103, allocations: 147.1 kB / 0.6269 GB, free: 131.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.4129, allocations: 2.884 MB / 0.6297 GB, free: 131.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006445/0.4135, allocations: 87.48 kB / 0.6298 GB, free: 131.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008475/0.4143, allocations: 2.138 MB / 0.6319 GB, free: 131.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.4154, allocations: 1.39 MB / 0.6332 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008777/0.4163, allocations: 0.7074 MB / 0.6339 GB, free: 130.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.4163, allocations: 476.8 kB / 0.6344 GB, free: 130 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.4177, allocations: 1.01 MB / 0.6354 GB, free: 129.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.4193, allocations: 1.852 MB / 0.6372 GB, free: 128.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004729/0.424, allocations: 4.495 MB / 0.6416 GB, free: 125.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.4241, allocations: 4 kB / 0.6416 GB, free: 125.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01975/0.4438, allocations: 11.29 MB / 0.6526 GB, free: 113.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.4439, allocations: 67.34 kB / 0.6527 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.4439, allocations: 19.94 kB / 0.6527 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01925/0.4631, allocations: 7.481 MB / 0.66 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.4651, allocations: 0.6514 MB / 0.6606 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/0.4899, allocations: 13.43 MB / 0.6737 GB, free: 92.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.4931, allocations: 0.5277 MB / 0.6743 GB, free: 91.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/0.4936, allocations: 120 kB / 0.6744 GB, free: 91.55 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.00118/0.4948, allocations: 417.7 kB / 0.6748 GB, free: 91.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/0.4958, allocations: 0.579 MB / 0.6753 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01895/0.5147, allocations: 10.66 MB / 0.6857 GB, free: 79.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.5147, allocations: 36 kB / 0.6858 GB, free: 79.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/0.5148, allocations: 28 kB / 0.6858 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.129e-05/0.5148, allocations: 19.94 kB / 0.6858 GB, free: 79.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/0.539, allocations: 13.33 MB / 0.6988 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.539, allocations: 4.031 kB / 0.6988 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.5403, allocations: 387.5 kB / 0.6992 GB, free: 65.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/0.5591, allocations: 7.562 MB / 0.7066 GB, free: 58.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007189/0.5598, allocations: 75.92 kB / 0.7067 GB, free: 58.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/0.5835, allocations: 14.55 MB / 0.7209 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5835, allocations: 0 / 0.7209 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02236/0.6059, allocations: 11.64 MB / 0.7322 GB, free: 31.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.607, allocations: 0.5024 MB / 0.7327 GB, free: 31.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008326/0.6079, allocations: 68 kB / 0.7328 GB, free: 31.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.6099, allocations: 283.7 kB / 0.7331 GB, free: 31.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001668/0.6116, allocations: 0.7761 MB / 0.7338 GB, free: 30.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/0.6118, allocations: 71.98 kB / 0.7339 GB, free: 30.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001097/0.6129, allocations: 1.612 MB / 0.7355 GB, free: 28.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6129, allocations: 0 / 0.7355 GB, free: 28.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004153/0.6171, allocations: 1.794 MB / 0.7372 GB, free: 26.84 MB / 490.7 MB 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.0005451/0.6176, allocations: 217.7 kB / 0.7374 GB, free: 26.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009298/0.6269, allocations: 5.745 MB / 0.743 GB, free: 20.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6269, allocations: 0 / 0.743 GB, free: 20.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007442/0.6344, allocations: 4.303 MB / 0.7472 GB, free: 16.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.6367, allocations: 453.9 kB / 0.7477 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/0.6464, allocations: 7.298 MB / 0.7548 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.6469, allocations: 0.7981 MB / 0.7556 GB, free: 7.797 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001064/0.648, allocations: 375.1 kB / 0.7559 GB, free: 7.426 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007725/0.6488, allocations: 0.4982 MB / 0.7564 GB, free: 6.93 MB / 490.7 MB Notification: Performance of SimCode: time 2.124e-06/0.6488, allocations: 0 / 0.7564 GB, free: 6.93 MB / 490.7 MB Notification: Performance of Templates: time 0.2431/0.8919, allocations: 109.5 MB / 0.8634 GB, free: 163.7 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: 6.199839051812887]