Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001066/0.001066, allocations: 93.06 kB / 19.65 MB, free: 280 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.981/0.981, allocations: 177.1 MB / 200 MB, free: 5.531 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.001248/0.001248, allocations: 152.7 kB / 256.6 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2719/0.2719, allocations: 80.24 MB / 393.4 MB, free: 2.164 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 489.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.073e-05, allocations: 8.922 kB / 489.9 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01409/0.01411, allocations: 20.54 MB / 0.4985 GB, free: 6.848 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.02501, allocations: 4.875 MB / 0.5033 GB, free: 2.004 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.02717, allocations: 44.84 kB / 0.5033 GB, free: 1.961 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.02863, allocations: 0.8749 MB / 0.5042 GB, free: 1.078 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.03244, allocations: 2.362 MB / 0.5065 GB, free: 14.71 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.03565, allocations: 2.046 MB / 0.5085 GB, free: 12.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004165/0.03981, allocations: 5.854 MB / 0.5142 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.04084, allocations: 0.861 MB / 0.515 GB, free: 5.883 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.04369, allocations: 3.319 MB / 0.5183 GB, free: 2.555 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.04574, allocations: 2.289 MB / 0.5205 GB, free: 264 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005867/0.04632, allocations: 436 kB / 0.5209 GB, free: 15.83 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008386/0.04716, allocations: 0.5935 MB / 0.5215 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006442/0.04781, allocations: 1.178 MB / 0.5226 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.04916, allocations: 1.725 MB / 0.5243 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004193/0.05335, allocations: 4.497 MB / 0.5287 GB, free: 7.809 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.05335, allocations: 0 / 0.5287 GB, free: 7.809 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.05335, allocations: 0 / 0.5287 GB, free: 7.809 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.893e-05/0.0534, allocations: 0 / 0.5287 GB, free: 7.809 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.0158/0.0692, allocations: 10.13 MB / 0.5386 GB, free: 13.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.06924, allocations: 8.031 kB / 0.5386 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/0.08374, allocations: 4.8 MB / 0.5433 GB, free: 8.762 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.08768, allocations: 2.558 MB / 0.5458 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008518/0.08853, allocations: 1.013 MB / 0.5468 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004402/0.08897, allocations: 344 kB / 0.5471 GB, free: 4.609 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004413/0.09339, allocations: 3.144 MB / 0.5502 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.09343, allocations: 0 / 0.5502 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/0.09372, allocations: 144 kB / 0.5503 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/0.09377, allocations: 91.94 kB / 0.5504 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.09718, allocations: 2.025 MB / 0.5524 GB, free: 15.16 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.02139/0.1186, allocations: 12.28 MB / 0.5644 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005645/0.1242, allocations: 2.57 MB / 0.5669 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/0.1268, allocations: 1.215 MB / 0.5681 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003553/0.1271, allocations: 86.95 kB / 0.5682 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003042/0.1302, allocations: 1.843 MB / 0.57 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 7.103e-06/0.1302, allocations: 0 / 0.57 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.3907/0.5208, allocations: 56.15 MB / 0.6248 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.5209, allocations: 144.2 kB / 0.6249 GB, free: 129 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.524, allocations: 2.986 MB / 0.6279 GB, free: 128 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007911/0.5248, allocations: 88.27 kB / 0.6279 GB, free: 128 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009372/0.5257, allocations: 2.072 MB / 0.63 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/0.5271, allocations: 1.377 MB / 0.6313 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009472/0.5281, allocations: 0.6882 MB / 0.632 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.5281, allocations: 480.7 kB / 0.6324 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.5299, allocations: 1.139 MB / 0.6335 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.532, allocations: 1.967 MB / 0.6355 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00627/0.5383, allocations: 4.891 MB / 0.6402 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/0.5383, allocations: 3.969 kB / 0.6403 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02248/0.5608, allocations: 11.67 MB / 0.6516 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/0.5608, allocations: 67.34 kB / 0.6517 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.5609, allocations: 12 kB / 0.6517 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02025/0.5811, allocations: 7.443 MB / 0.659 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.5833, allocations: 0.6696 MB / 0.6596 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02792/0.6113, allocations: 13.66 MB / 0.673 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/0.615, allocations: 0.5355 MB / 0.6735 GB, free: 93.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/0.6154, allocations: 148 kB / 0.6736 GB, free: 93.85 MB / 0.5105 GB 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.001143/0.6165, allocations: 423.5 kB / 0.674 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009794/0.6175, allocations: 0.5791 MB / 0.6746 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02084/0.6384, allocations: 11.23 MB / 0.6856 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.6384, allocations: 40.55 kB / 0.6856 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-05/0.6384, allocations: 33.97 kB / 0.6856 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.534e-05/0.6385, allocations: 19.92 kB / 0.6857 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/0.6646, allocations: 14.41 MB / 0.6997 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.6646, allocations: 0 / 0.6997 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.6661, allocations: 387.2 kB / 0.7001 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02035/0.6865, allocations: 7.638 MB / 0.7076 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008716/0.6874, allocations: 71.98 kB / 0.7076 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02668/0.714, allocations: 15.01 MB / 0.7223 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.714, allocations: 0 / 0.7223 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02538/0.7394, allocations: 12.51 MB / 0.7345 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.7407, allocations: 0.5018 MB / 0.735 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008849/0.7416, allocations: 68 kB / 0.7351 GB, free: 31.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.7437, allocations: 287.7 kB / 0.7353 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001846/0.7455, allocations: 0.7723 MB / 0.7361 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/0.7457, allocations: 95.73 kB / 0.7362 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001778/0.7475, allocations: 1.765 MB / 0.7379 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7475, allocations: 0 / 0.7379 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004741/0.7523, allocations: 1.797 MB / 0.7397 GB, free: 26.45 MB / 0.5105 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.0005951/0.7529, allocations: 201.8 kB / 0.7399 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.7639, allocations: 5.974 MB / 0.7457 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7639, allocations: 0 / 0.7457 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008373/0.7722, allocations: 4.499 MB / 0.7501 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.7747, allocations: 453.5 kB / 0.7505 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.785, allocations: 7.344 MB / 0.7577 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.7857, allocations: 0.8052 MB / 0.7585 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001128/0.7869, allocations: 371.1 kB / 0.7588 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.7875, allocations: 256.4 kB / 0.7591 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of SimCode: time 2.886e-06/0.7875, allocations: 0 / 0.7591 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of Templates: time 0.2991/1.087, allocations: 101.8 MB / 0.8585 GB, free: 127.7 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.834105338901281]