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.001023/0.001023, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.9277/0.9277, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001249/0.001249, allocations: 159.3 kB / 256.9 MB, free: 12.79 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.2676/0.2676, allocations: 80.25 MB / 393.7 MB, free: 1.977 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.593e-06/1.593e-06, allocations: 0 / 490.4 MB, free: 11.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.471e-05, allocations: 8.234 kB / 490.4 MB, free: 11.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.0124/0.01242, allocations: 19.94 MB / 0.4984 GB, free: 7.129 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008996/0.02142, allocations: 4.867 MB / 0.5031 GB, free: 2.293 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.02336, allocations: 47.94 kB / 0.5032 GB, free: 2.246 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.02477, allocations: 0.8756 MB / 0.504 GB, free: 1.363 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.02857, allocations: 2.401 MB / 0.5064 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.03152, allocations: 2.035 MB / 0.5083 GB, free: 12.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003876/0.0354, allocations: 5.862 MB / 0.5141 GB, free: 7.043 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00084/0.03624, allocations: 0.861 MB / 0.5149 GB, free: 6.129 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.03842, allocations: 3.35 MB / 0.5182 GB, free: 2.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.04011, allocations: 2.286 MB / 0.5204 GB, free: 488 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003887/0.0405, allocations: 436 kB / 0.5208 GB, free: 52 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000742/0.04124, allocations: 0.5974 MB / 0.5214 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005676/0.04181, allocations: 1.178 MB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009735/0.04278, allocations: 1.721 MB / 0.5242 GB, free: 12.54 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.04577, allocations: 4.501 MB / 0.5286 GB, free: 8.023 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.04577, allocations: 0 / 0.5286 GB, free: 8.023 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.04577, allocations: 0 / 0.5286 GB, free: 8.023 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.65e-05/0.04581, allocations: 0 / 0.5286 GB, free: 8.023 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.0138/0.05961, allocations: 10.23 MB / 0.5386 GB, free: 13.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.05965, allocations: 11.97 kB / 0.5386 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.07229, allocations: 4.796 MB / 0.5433 GB, free: 8.875 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.0748, allocations: 2.492 MB / 0.5458 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/0.07527, allocations: 1.017 MB / 0.5467 GB, free: 5.121 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.07564, allocations: 348 kB / 0.5471 GB, free: 4.781 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.0789, allocations: 2.811 MB / 0.5498 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.07894, allocations: 3.984 kB / 0.5498 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.07918, allocations: 140 kB / 0.55 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.07922, allocations: 91.94 kB / 0.55 GB, free: 1.699 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.08122, allocations: 1.595 MB / 0.5516 GB, free: 88 kB / 474.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.01364/0.09487, allocations: 11.76 MB / 0.5631 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.09803, allocations: 2.301 MB / 0.5653 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.09907, allocations: 0.9819 MB / 0.5663 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.09934, allocations: 94.94 kB / 0.5664 GB, free: 496 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/0.1009, allocations: 1.639 MB / 0.568 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 5.16e-06/0.1009, allocations: 0 / 0.568 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.3221/0.4231, allocations: 55.33 MB / 0.622 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.4231, allocations: 151.3 kB / 0.6222 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.4252, allocations: 2.882 MB / 0.625 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003802/0.4256, allocations: 85.58 kB / 0.6251 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000883/0.4265, allocations: 2.133 MB / 0.6271 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008933/0.4274, allocations: 1.391 MB / 0.6285 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008794/0.4283, allocations: 0.7068 MB / 0.6292 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.4283, allocations: 480.7 kB / 0.6297 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4297, allocations: 1.012 MB / 0.6306 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.4313, allocations: 1.868 MB / 0.6325 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004665/0.436, allocations: 4.536 MB / 0.6369 GB, free: 146 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.436, allocations: 7.656 kB / 0.6369 GB, free: 146 MB / 0.5105 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.0189/0.4549, allocations: 11.29 MB / 0.6479 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.455, allocations: 67.12 kB / 0.648 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.455, allocations: 12 kB / 0.648 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/0.4722, allocations: 7.326 MB / 0.6552 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.4741, allocations: 0.6631 MB / 0.6558 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.4952, allocations: 13.13 MB / 0.6686 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/0.4984, allocations: 0.5366 MB / 0.6692 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.4986, allocations: 117.4 kB / 0.6693 GB, free: 112.9 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.001039/0.4997, allocations: 411.4 kB / 0.6697 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/0.5003, allocations: 0.583 MB / 0.6702 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/0.5174, allocations: 10.66 MB / 0.6806 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.5175, allocations: 36 kB / 0.6807 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/0.5175, allocations: 28 kB / 0.6807 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-05/0.5175, allocations: 19.92 kB / 0.6807 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/0.5378, allocations: 13.37 MB / 0.6938 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5378, allocations: 0 / 0.6938 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.5388, allocations: 383.5 kB / 0.6941 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0169/0.5557, allocations: 7.534 MB / 0.7015 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/0.5561, allocations: 67.98 kB / 0.7016 GB, free: 79.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.5757, allocations: 14.55 MB / 0.7158 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5757, allocations: 1.484 kB / 0.7158 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/0.5946, allocations: 11.65 MB / 0.7271 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/0.5953, allocations: 0.5 MB / 0.7276 GB, free: 52.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.5956, allocations: 64 kB / 0.7277 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.5971, allocations: 283.7 kB / 0.728 GB, free: 52.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/0.5981, allocations: 0.7723 MB / 0.7287 GB, free: 51.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/0.5983, allocations: 75.97 kB / 0.7288 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008778/0.5992, allocations: 1.604 MB / 0.7304 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5992, allocations: 3.828 kB / 0.7304 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002815/0.602, allocations: 1.797 MB / 0.7321 GB, free: 48.21 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.0003262/0.6023, allocations: 199 kB / 0.7323 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007301/0.6096, allocations: 5.632 MB / 0.7378 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6096, allocations: 0 / 0.7378 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005586/0.6152, allocations: 4.272 MB / 0.742 GB, free: 37.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.6164, allocations: 458.7 kB / 0.7424 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.623, allocations: 7.328 MB / 0.7496 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.6235, allocations: 0.7987 MB / 0.7504 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006058/0.6241, allocations: 379.1 kB / 0.7507 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/0.6248, allocations: 0.5021 MB / 0.7512 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/0.6248, allocations: 0 / 0.7512 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.2372/0.862, allocations: 104.7 MB / 0.8535 GB, free: 131.6 MB / 0.5261 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.117322614882141]