Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.001168/0.001168, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.8489/0.8489, allocations: 177.2 MB / 201.1 MB, free: 5.445 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.001128/0.001128, allocations: 163.4 kB / 257.7 MB, free: 12.84 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.2808/0.2808, allocations: 83.27 MB / 397.5 MB, free: 84 kB / 362.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 495.1 MB, free: 58.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.223e-05, allocations: 2.312 kB / 495.1 MB, free: 58.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.003529/0.003541, allocations: 6.235 MB / 0.4896 GB, free: 52.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.005588, allocations: 1.993 MB / 0.4916 GB, free: 50.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.005876, allocations: 16.5 kB / 0.4916 GB, free: 50.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.006296, allocations: 231 kB / 0.4918 GB, free: 50.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009782/0.007274, allocations: 0.8904 MB / 0.4927 GB, free: 49.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.00791, allocations: 0.6508 MB / 0.4933 GB, free: 48.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.008647, allocations: 1.635 MB / 0.4949 GB, free: 47.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.008865, allocations: 215 kB / 0.4951 GB, free: 46.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.009411, allocations: 0.9389 MB / 0.496 GB, free: 45.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.009844, allocations: 0.71 MB / 0.4967 GB, free: 45.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.009948, allocations: 128 kB / 0.4968 GB, free: 45.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.0102, allocations: 275.8 kB / 0.4971 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.01034, allocations: 355.2 kB / 0.4974 GB, free: 44.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.01056, allocations: 474.5 kB / 0.4979 GB, free: 43.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.01123, allocations: 1.258 MB / 0.4991 GB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.01123, allocations: 0 / 0.4991 GB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01123, allocations: 0 / 0.4991 GB, free: 42.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.01124, allocations: 0 / 0.4991 GB, free: 42.66 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003887/0.01513, allocations: 3.002 MB / 0.5021 GB, free: 39.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.01515, allocations: 8.031 kB / 0.5021 GB, free: 39.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.01755, allocations: 0.9302 MB / 0.503 GB, free: 38.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.01817, allocations: 0.7927 MB / 0.5037 GB, free: 37.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.01829, allocations: 329.3 kB / 0.5041 GB, free: 37.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.01838, allocations: 89.52 kB / 0.5041 GB, free: 37.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.01901, allocations: 0.6874 MB / 0.5048 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.01902, allocations: 4.625 kB / 0.5048 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/0.01908, allocations: 28 kB / 0.5048 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.01909, allocations: 24.62 kB / 0.5049 GB, free: 36.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.01952, allocations: 407.3 kB / 0.5053 GB, free: 36.24 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.002556/0.02208, allocations: 2.589 MB / 0.5078 GB, free: 33.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.02421, allocations: 1.188 MB / 0.5089 GB, free: 32.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.02447, allocations: 294.9 kB / 0.5092 GB, free: 32.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.02453, allocations: 17.56 kB / 0.5092 GB, free: 32.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.02491, allocations: 0.4947 MB / 0.5097 GB, free: 31.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.154e-06/0.02492, allocations: 0 / 0.5097 GB, free: 31.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.01015/0.03507, allocations: 4.916 MB / 0.5145 GB, free: 26.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.03509, allocations: 115.8 kB / 0.5146 GB, free: 26.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.03555, allocations: 0.9644 MB / 0.5156 GB, free: 25.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/0.03561, allocations: 45.7 kB / 0.5156 GB, free: 25.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.03579, allocations: 0.5664 MB / 0.5162 GB, free: 24.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.03594, allocations: 380.7 kB / 0.5165 GB, free: 24.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.03621, allocations: 301 kB / 0.5168 GB, free: 24.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.716e-05/0.03624, allocations: 484.7 kB / 0.5173 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.03666, allocations: 403.2 kB / 0.5177 GB, free: 23.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.03714, allocations: 0.6259 MB / 0.5183 GB, free: 22.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.03847, allocations: 1.563 MB / 0.5198 GB, free: 21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.03847, allocations: 7.938 kB / 0.5198 GB, free: 20.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004663/0.04314, allocations: 3.024 MB / 0.5228 GB, free: 17.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.04316, allocations: 59.41 kB / 0.5228 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.04317, allocations: 4 kB / 0.5228 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/0.04707, allocations: 1.649 MB / 0.5244 GB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.04768, allocations: 275.6 kB / 0.5247 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/0.05279, allocations: 4.364 MB / 0.529 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.05344, allocations: 179.1 kB / 0.5291 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.0535, allocations: 39.98 kB / 0.5292 GB, free: 11.23 MB / 410.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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 (162): * Single equations (assignments): 159 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.05378, allocations: 274.2 kB / 0.5294 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.05392, allocations: 163.1 kB / 0.5296 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.05799, allocations: 2.463 MB / 0.532 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.058, allocations: 11.94 kB / 0.532 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.058, allocations: 8 kB / 0.532 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.05801, allocations: 3.984 kB / 0.532 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004728/0.06274, allocations: 3.412 MB / 0.5354 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.06274, allocations: 7.922 kB / 0.5354 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.06302, allocations: 99.89 kB / 0.5355 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003648/0.06667, allocations: 1.597 MB / 0.537 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.06672, allocations: 27.92 kB / 0.537 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/0.07229, allocations: 6.246 MB / 0.5431 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.07229, allocations: 0 / 0.5431 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/0.07721, allocations: 2.855 MB / 0.5459 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.07737, allocations: 150.8 kB / 0.5461 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.07748, allocations: 28 kB / 0.5461 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.07795, allocations: 75.92 kB / 0.5462 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.07824, allocations: 192.6 kB / 0.5464 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.07829, allocations: 23.94 kB / 0.5464 GB, free: 9.191 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003649/0.07866, allocations: 0.5785 MB / 0.5469 GB, free: 8.605 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07866, allocations: 0 / 0.5469 GB, free: 8.605 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000829/0.07948, allocations: 495.6 kB / 0.5474 GB, free: 8.121 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.07968, allocations: 135.1 kB / 0.5475 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.0821, allocations: 1.772 MB / 0.5493 GB, free: 6.137 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0821, allocations: 4.25 kB / 0.5493 GB, free: 6.133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.08356, allocations: 1.251 MB / 0.5505 GB, free: 4.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.08404, allocations: 130.4 kB / 0.5506 GB, free: 4.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.08642, allocations: 2.132 MB / 0.5527 GB, free: 2.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.08656, allocations: 245.6 kB / 0.5529 GB, free: 2.246 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.08679, allocations: 112.1 kB / 0.553 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.08708, allocations: 206.2 kB / 0.5532 GB, free: 1.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.08708, allocations: 4 kB / 0.5532 GB, free: 1.926 MB / 426.7 MB Notification: Performance of Templates: time 0.02691/0.114, allocations: 29.59 MB / 0.5821 GB, free: 4.441 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.610058254096657]