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.001477/0.001477, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9881/0.9881, allocations: 177.2 MB / 200.5 MB, free: 5.5 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.001297/0.001297, allocations: 156.7 kB / 257 MB, free: 13.04 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.2852/0.2852, allocations: 80.24 MB / 393.7 MB, free: 2.234 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.393e-06/1.393e-06, allocations: 0 / 489.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.946e-05, allocations: 6.969 kB / 489.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01434/0.01437, allocations: 20.48 MB / 0.4985 GB, free: 7.234 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.02478, allocations: 4.866 MB / 0.5032 GB, free: 2.398 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00377/0.02856, allocations: 47.94 kB / 0.5033 GB, free: 2.352 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.03172, allocations: 0.8788 MB / 0.5041 GB, free: 1.465 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007661/0.03938, allocations: 2.354 MB / 0.5064 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.04386, allocations: 2.044 MB / 0.5084 GB, free: 13.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007844/0.0517, allocations: 5.854 MB / 0.5141 GB, free: 7.191 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.05344, allocations: 0.8649 MB / 0.515 GB, free: 6.273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.05909, allocations: 3.311 MB / 0.5182 GB, free: 2.953 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.06203, allocations: 2.282 MB / 0.5204 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.06311, allocations: 444 kB / 0.5209 GB, free: 236 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.06431, allocations: 0.5934 MB / 0.5214 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006575/0.06497, allocations: 1.178 MB / 0.5226 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.06694, allocations: 1.729 MB / 0.5243 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.07185, allocations: 4.489 MB / 0.5287 GB, free: 8.211 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.07186, allocations: 0 / 0.5287 GB, free: 8.211 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07186, allocations: 0 / 0.5287 GB, free: 8.211 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000122/0.07198, allocations: 0 / 0.5287 GB, free: 8.211 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.01746/0.08944, allocations: 10.13 MB / 0.5386 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.08948, allocations: 12.03 kB / 0.5386 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.1058, allocations: 4.796 MB / 0.5432 GB, free: 9.168 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.1101, allocations: 2.566 MB / 0.5458 GB, free: 6.512 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000646/0.1108, allocations: 1.013 MB / 0.5467 GB, free: 5.344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006502/0.1114, allocations: 348 kB / 0.5471 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.1159, allocations: 3.14 MB / 0.5501 GB, free: 1.824 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/0.116, allocations: 0 / 0.5501 GB, free: 1.824 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002803/0.1163, allocations: 140 kB / 0.5503 GB, free: 1.688 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.1163, allocations: 87.94 kB / 0.5504 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.1198, allocations: 2.033 MB / 0.5523 GB, free: 15.55 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.02048/0.1403, allocations: 12.28 MB / 0.5643 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004777/0.1451, allocations: 2.57 MB / 0.5668 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.147, allocations: 1.22 MB / 0.568 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.1473, allocations: 82.94 kB / 0.5681 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00274/0.1501, allocations: 1.847 MB / 0.5699 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 8.787e-06/0.1501, allocations: 0 / 0.5699 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.3439/0.4939, allocations: 56.15 MB / 0.6247 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.494, allocations: 145.8 kB / 0.6249 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003013/0.497, allocations: 2.991 MB / 0.6278 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000719/0.4977, allocations: 90.33 kB / 0.6279 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000964/0.4987, allocations: 2.068 MB / 0.6299 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.5, allocations: 1.378 MB / 0.6313 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.501, allocations: 0.6865 MB / 0.6319 GB, free: 151 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.501, allocations: 488.7 kB / 0.6324 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.5029, allocations: 1.134 MB / 0.6335 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.5049, allocations: 1.963 MB / 0.6354 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/0.5105, allocations: 4.888 MB / 0.6402 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/0.5106, allocations: 4 kB / 0.6402 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02289/0.5334, allocations: 11.67 MB / 0.6516 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.5335, allocations: 63.41 kB / 0.6517 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.5335, allocations: 16 kB / 0.6517 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02083/0.5544, allocations: 7.439 MB / 0.6589 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.5566, allocations: 0.6631 MB / 0.6596 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02858/0.5851, allocations: 13.67 MB / 0.6729 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/0.5889, allocations: 0.5307 MB / 0.6735 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/0.5893, allocations: 152 kB / 0.6736 GB, free: 109.6 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.001251/0.5906, allocations: 415.7 kB / 0.674 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/0.5915, allocations: 0.5897 MB / 0.6746 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/0.6127, allocations: 11.23 MB / 0.6855 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.6128, allocations: 36 kB / 0.6856 GB, free: 97.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.091e-05/0.6128, allocations: 31.98 kB / 0.6856 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.833e-05/0.6129, allocations: 15.94 kB / 0.6856 GB, free: 97.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02679/0.6397, allocations: 14.41 MB / 0.6997 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.6397, allocations: 0 / 0.6997 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.6411, allocations: 391.5 kB / 0.7001 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02057/0.6617, allocations: 7.64 MB / 0.7075 GB, free: 74.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007867/0.6625, allocations: 71.98 kB / 0.7076 GB, free: 74.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02743/0.6899, allocations: 15.01 MB / 0.7223 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6899, allocations: 0 / 0.7223 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02499/0.7149, allocations: 12.5 MB / 0.7345 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.7161, allocations: 0.4983 MB / 0.7349 GB, free: 46.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007307/0.7168, allocations: 64 kB / 0.735 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/0.7188, allocations: 283.7 kB / 0.7353 GB, free: 46.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001724/0.7205, allocations: 0.7761 MB / 0.736 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/0.7207, allocations: 95.98 kB / 0.7361 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001585/0.7223, allocations: 1.778 MB / 0.7379 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7223, allocations: 0 / 0.7379 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00414/0.7264, allocations: 1.8 MB / 0.7396 GB, free: 41.71 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.0005513/0.727, allocations: 200.4 kB / 0.7398 GB, free: 41.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01058/0.7376, allocations: 5.966 MB / 0.7456 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7376, allocations: 4.062 kB / 0.7456 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008481/0.7461, allocations: 4.485 MB / 0.75 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.7483, allocations: 453.8 kB / 0.7505 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.7588, allocations: 7.348 MB / 0.7576 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.7595, allocations: 0.8032 MB / 0.7584 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001109/0.7606, allocations: 367.1 kB / 0.7588 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/0.7612, allocations: 256.4 kB / 0.759 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of SimCode: time 1.943e-06/0.7612, allocations: 0 / 0.759 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of Templates: time 0.2827/1.044, allocations: 101.9 MB / 0.8585 GB, free: 129.7 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.640329845016822]