Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0009479/0.0009479, 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.9544/0.9544, allocations: 177.1 MB / 200 MB, free: 3.922 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.001305/0.001305, allocations: 170 kB / 256.6 MB, free: 172 kB / 234.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.38/0.38, allocations: 80.23 MB / 393.4 MB, free: 9.973 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 489.8 MB, free: 9.848 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.568e-05/3.864e-05, allocations: 2.312 kB / 489.8 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008619/0.008657, allocations: 6.272 MB / 496.1 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.01286, allocations: 1.982 MB / 498.1 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007154/0.01357, allocations: 8 kB / 498.1 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.01438, allocations: 245.8 kB / 498.3 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.01632, allocations: 0.8504 MB / 499.2 MB, free: 460 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2001/0.2164, allocations: 0.6389 MB / 499.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.219, allocations: 1.583 MB / 0.4896 GB, free: 44.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.2196, allocations: 217.1 kB / 0.4899 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.221, allocations: 0.9035 MB / 0.4907 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008241/0.2218, allocations: 0.6722 MB / 0.4914 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.2221, allocations: 122 kB / 0.4915 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.2226, allocations: 274.1 kB / 0.4918 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.2228, allocations: 335 kB / 0.4921 GB, free: 44.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.2233, allocations: 461.7 kB / 0.4925 GB, free: 44.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.2246, allocations: 1.229 MB / 0.4937 GB, free: 44.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2246, allocations: 0 / 0.4937 GB, free: 44.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2246, allocations: 0 / 0.4937 GB, free: 44.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.2246, allocations: 0 / 0.4937 GB, free: 44.32 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004692/0.2293, allocations: 2.909 MB / 0.4966 GB, free: 43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2294, allocations: 8.625 kB / 0.4966 GB, free: 43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/0.2321, allocations: 0.9247 MB / 0.4975 GB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009603/0.2331, allocations: 0.8035 MB / 0.4983 GB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.2332, allocations: 336.5 kB / 0.4986 GB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.2333, allocations: 87.02 kB / 0.4987 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009157/0.2343, allocations: 0.7507 MB / 0.4994 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2343, allocations: 0 / 0.4994 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.2343, allocations: 36.69 kB / 0.4994 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2343, allocations: 17.38 kB / 0.4995 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/0.2351, allocations: 499.3 kB / 0.4999 GB, free: 41.61 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.003303/0.2384, allocations: 2.73 MB / 0.5026 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.2409, allocations: 1.25 MB / 0.5038 GB, free: 40 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.2413, allocations: 344.2 kB / 0.5041 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-05/0.2414, allocations: 21.42 kB / 0.5042 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/0.2419, allocations: 0.5304 MB / 0.5047 GB, free: 39.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.304e-06/0.2419, allocations: 0 / 0.5047 GB, free: 39.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.0115/0.2534, allocations: 4.985 MB / 0.5096 GB, free: 39.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.2535, allocations: 116.2 kB / 0.5097 GB, free: 39.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.2545, allocations: 0.9807 MB / 0.5106 GB, free: 38.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.2546, allocations: 47.89 kB / 0.5107 GB, free: 38.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.2549, allocations: 0.5525 MB / 0.5112 GB, free: 38.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.2552, allocations: 371.2 kB / 0.5116 GB, free: 37.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.2556, allocations: 289.7 kB / 0.5118 GB, free: 37.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.2557, allocations: 479.8 kB / 0.5123 GB, free: 37.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.2563, allocations: 439.5 kB / 0.5127 GB, free: 37.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.257, allocations: 0.6375 MB / 0.5133 GB, free: 36.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.259, allocations: 1.639 MB / 0.5149 GB, free: 36.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.259, allocations: 0 / 0.5149 GB, free: 36.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00561/0.2646, allocations: 3.032 MB / 0.5179 GB, free: 35.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.2646, allocations: 61.77 kB / 0.518 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.2646, allocations: 7.781 kB / 0.518 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004311/0.2689, allocations: 1.529 MB / 0.5195 GB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.2698, allocations: 299 kB / 0.5197 GB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006591/0.2764, allocations: 4.343 MB / 0.524 GB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.2775, allocations: 167.8 kB / 0.5241 GB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.2776, allocations: 63.19 kB / 0.5242 GB, free: 32.56 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (161): * Single equations (assignments): 158 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004495/0.2781, allocations: 255.9 kB / 0.5244 GB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.2783, allocations: 166.3 kB / 0.5246 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00572/0.284, allocations: 2.587 MB / 0.5271 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.284, allocations: 9.438 kB / 0.5271 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.284, allocations: 7.344 kB / 0.5271 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.284, allocations: 6.438 kB / 0.5272 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006982/0.291, allocations: 3.661 MB / 0.5307 GB, free: 30.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.291, allocations: 1.125 kB / 0.5307 GB, free: 30.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.2914, allocations: 101.7 kB / 0.5308 GB, free: 30.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004508/0.2959, allocations: 1.634 MB / 0.5324 GB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/0.296, allocations: 20.62 kB / 0.5324 GB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006722/0.3027, allocations: 6.403 MB / 0.5387 GB, free: 25.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3027, allocations: 3.25 kB / 0.5387 GB, free: 25.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.3081, allocations: 3.043 MB / 0.5417 GB, free: 22.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.3084, allocations: 153.1 kB / 0.5418 GB, free: 22.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.3085, allocations: 16 kB / 0.5418 GB, free: 22.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.309, allocations: 83.67 kB / 0.5419 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/0.3094, allocations: 196.6 kB / 0.5421 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.3094, allocations: 20 kB / 0.5421 GB, free: 22.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005419/0.31, allocations: 0.6172 MB / 0.5427 GB, free: 21.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.31, allocations: 0 / 0.5427 GB, free: 21.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001157/0.3111, allocations: 475.5 kB / 0.5432 GB, free: 21.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/0.3114, allocations: 141.4 kB / 0.5433 GB, free: 21.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.314, allocations: 1.796 MB / 0.5451 GB, free: 19.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.314, allocations: 0 / 0.5451 GB, free: 19.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.3157, allocations: 1.297 MB / 0.5463 GB, free: 17.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.3162, allocations: 139.8 kB / 0.5465 GB, free: 17.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.3191, allocations: 2.052 MB / 0.5485 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.3193, allocations: 241.5 kB / 0.5487 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.3196, allocations: 116.5 kB / 0.5488 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.3198, allocations: 87.86 kB / 0.5489 GB, free: 15.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/0.3198, allocations: 0 / 0.5489 GB, free: 15.21 MB / 410.7 MB Notification: Performance of Templates: time 0.03082/0.3506, allocations: 26.85 MB / 0.5751 GB, free: 4.605 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.360210511367768]