Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001/0.001, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.9181/0.9181, allocations: 177.2 MB / 200 MB, free: 5.52 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.00117/0.00117, allocations: 152.7 kB / 256.6 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.2751/0.2751, allocations: 80.35 MB / 393.5 MB, free: 2.09 MB / 314.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.5469 kB / 490.1 MB, free: 11.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.425e-05, allocations: 2.312 kB / 490.1 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01433/0.01435, allocations: 20.67 MB / 0.4988 GB, free: 6.645 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.02478, allocations: 4.938 MB / 0.5036 GB, free: 1.738 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.02839, allocations: 40 kB / 0.5036 GB, free: 1.699 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.03034, allocations: 0.8912 MB / 0.5045 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005447/0.03578, allocations: 2.381 MB / 0.5068 GB, free: 14.41 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.03971, allocations: 2.056 MB / 0.5088 GB, free: 12.36 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005931/0.04564, allocations: 5.94 MB / 0.5146 GB, free: 6.395 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.04688, allocations: 0.865 MB / 0.5155 GB, free: 5.477 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.05037, allocations: 3.358 MB / 0.5188 GB, free: 2.109 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.05279, allocations: 2.332 MB / 0.521 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005959/0.05339, allocations: 444 kB / 0.5215 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.0544, allocations: 0.6128 MB / 0.5221 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007784/0.05518, allocations: 1.194 MB / 0.5232 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.0567, allocations: 1.76 MB / 0.5249 GB, free: 11.76 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.06093, allocations: 4.532 MB / 0.5294 GB, free: 7.207 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.06093, allocations: 0 / 0.5294 GB, free: 7.207 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.06093, allocations: 0 / 0.5294 GB, free: 7.207 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.979e-05/0.06096, allocations: 0 / 0.5294 GB, free: 7.207 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02015/0.08111, allocations: 10.23 MB / 0.5394 GB, free: 12.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.08116, allocations: 12.03 kB / 0.5394 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.09712, allocations: 4.796 MB / 0.5441 GB, free: 8.062 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/0.1002, allocations: 2.601 MB / 0.5466 GB, free: 5.375 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005547/0.1008, allocations: 1.017 MB / 0.5476 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000539/0.1013, allocations: 352 kB / 0.5479 GB, free: 3.859 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.1055, allocations: 3.14 MB / 0.551 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.1055, allocations: 0 / 0.551 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/0.1058, allocations: 152 kB / 0.5511 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.1059, allocations: 87.94 kB / 0.5512 GB, free: 456 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.1091, allocations: 2.041 MB / 0.5532 GB, free: 14.39 MB / 490.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.0163/0.1254, allocations: 12.3 MB / 0.5652 GB, free: 1.652 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.1297, allocations: 2.586 MB / 0.5678 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.1314, allocations: 1.22 MB / 0.5689 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.1318, allocations: 82.97 kB / 0.569 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002241/0.134, allocations: 1.863 MB / 0.5708 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 5.09e-06/0.134, allocations: 4 kB / 0.5708 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.3178/0.4518, allocations: 54.97 MB / 0.6245 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.4519, allocations: 148.6 kB / 0.6247 GB, free: 150 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.4552, allocations: 3.028 MB / 0.6276 GB, free: 149 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000443/0.4556, allocations: 92.77 kB / 0.6277 GB, free: 149 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.4567, allocations: 2.072 MB / 0.6297 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.4578, allocations: 1.391 MB / 0.6311 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/0.4589, allocations: 0.7043 MB / 0.6318 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.459, allocations: 476.8 kB / 0.6322 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.4611, allocations: 1.156 MB / 0.6334 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.4636, allocations: 1.986 MB / 0.6353 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007019/0.4707, allocations: 4.937 MB / 0.6401 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/0.4707, allocations: 4 kB / 0.6401 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=541) (initialization): time 0.02323/0.4939, allocations: 11.79 MB / 0.6516 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.4939, allocations: 71.39 kB / 0.6517 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.494, allocations: 16 kB / 0.6517 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01983/0.5138, allocations: 7.639 MB / 0.6592 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.5159, allocations: 0.667 MB / 0.6598 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/0.5437, allocations: 14.08 MB / 0.6736 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.5471, allocations: 0.5318 MB / 0.6741 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.5473, allocations: 156 kB / 0.6743 GB, free: 106.7 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 (404): * Single equations (assignments): 401 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001/0.5483, allocations: 420.6 kB / 0.6747 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000742/0.5491, allocations: 0.5868 MB / 0.6752 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02046/0.5695, allocations: 11.26 MB / 0.6862 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.5695, allocations: 44 kB / 0.6863 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/0.5695, allocations: 28 kB / 0.6863 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/0.5696, allocations: 19.92 kB / 0.6863 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/0.5934, allocations: 14.42 MB / 0.7004 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.5934, allocations: 0 / 0.7004 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.5945, allocations: 399 kB / 0.7008 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01886/0.6133, allocations: 7.641 MB / 0.7082 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.6136, allocations: 71.98 kB / 0.7083 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02501/0.6386, allocations: 15.03 MB / 0.723 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6386, allocations: 0 / 0.723 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02353/0.6622, allocations: 12.55 MB / 0.7352 GB, free: 43.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.6633, allocations: 0.5083 MB / 0.7357 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/0.6637, allocations: 64 kB / 0.7358 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.6656, allocations: 291.7 kB / 0.7361 GB, free: 43.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001741/0.6673, allocations: 0.7762 MB / 0.7368 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/0.6675, allocations: 95.42 kB / 0.7369 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001527/0.669, allocations: 1.801 MB / 0.7387 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.669, allocations: 0 / 0.7387 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00357/0.6726, allocations: 1.815 MB / 0.7405 GB, free: 38.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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.000566/0.6732, allocations: 209.5 kB / 0.7407 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01554/0.6887, allocations: 6.149 MB / 0.7467 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6887, allocations: 0 / 0.7467 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01146/0.7002, allocations: 4.529 MB / 0.7511 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/0.703, allocations: 470.1 kB / 0.7515 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009673/0.7127, allocations: 7.459 MB / 0.7588 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.7132, allocations: 0.8111 MB / 0.7596 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007215/0.7139, allocations: 383.1 kB / 0.76 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.7145, allocations: 256.4 kB / 0.7602 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/0.7145, allocations: 0 / 0.7602 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.2885/1.003, allocations: 104.3 MB / 0.862 GB, free: 121 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.492352105677128]