Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.004062/0.004062, 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.964/0.964, 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.00193/0.00193, allocations: 165.4 kB / 256.9 MB, free: 12.8 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.3136/0.3136, allocations: 83.29 MB / 396.7 MB, free: 64 kB / 362.7 MB " [Timeout remaining time 179] 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 494.4 MB, free: 58.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.83e-05, allocations: 5.781 kB / 494.4 MB, free: 58.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006266/0.006294, allocations: 6.152 MB / 0.4888 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004208/0.0105, allocations: 1.972 MB / 0.4907 GB, free: 50.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008358/0.01134, allocations: 12 kB / 0.4907 GB, free: 50.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007311/0.01207, allocations: 234.5 kB / 0.4909 GB, free: 50.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.01426, allocations: 0.8769 MB / 0.4918 GB, free: 49.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.0155, allocations: 0.6376 MB / 0.4924 GB, free: 48.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.01733, allocations: 1.588 MB / 0.494 GB, free: 47.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.01775, allocations: 214.9 kB / 0.4942 GB, free: 46.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.019, allocations: 0.9097 MB / 0.4951 GB, free: 46.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009085/0.01991, allocations: 0.6698 MB / 0.4957 GB, free: 45.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.02017, allocations: 120 kB / 0.4958 GB, free: 45.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.0207, allocations: 275.7 kB / 0.4961 GB, free: 44.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.02091, allocations: 331.7 kB / 0.4964 GB, free: 44.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004071/0.02131, allocations: 470.4 kB / 0.4969 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.02269, allocations: 1.222 MB / 0.4981 GB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.02269, allocations: 6.031 kB / 0.4981 GB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02269, allocations: 0 / 0.4981 GB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.367e-05/0.02273, allocations: 0 / 0.4981 GB, free: 42.93 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.006392/0.02912, allocations: 2.929 MB / 0.5009 GB, free: 39.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/0.02918, allocations: 12.02 kB / 0.5009 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.0323, allocations: 0.9265 MB / 0.5018 GB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007916/0.03309, allocations: 0.7693 MB / 0.5026 GB, free: 38.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.03324, allocations: 333.3 kB / 0.5029 GB, free: 37.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.03333, allocations: 83.95 kB / 0.503 GB, free: 37.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.03399, allocations: 0.6807 MB / 0.5036 GB, free: 37.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.03401, allocations: 6.656 kB / 0.5037 GB, free: 37.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.03406, allocations: 35.94 kB / 0.5037 GB, free: 37.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.03407, allocations: 20 kB / 0.5037 GB, free: 37.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.03454, allocations: 399.3 kB / 0.5041 GB, free: 36.62 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.002802/0.03734, allocations: 2.556 MB / 0.5066 GB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.03946, allocations: 1.196 MB / 0.5078 GB, free: 32.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.03973, allocations: 294.8 kB / 0.508 GB, free: 32.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.0398, allocations: 18.91 kB / 0.5081 GB, free: 32.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004244/0.04023, allocations: 489.5 kB / 0.5085 GB, free: 31.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.106e-06/0.04023, allocations: 2.094 kB / 0.5085 GB, free: 31.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.009904/0.05013, allocations: 4.81 MB / 0.5132 GB, free: 27.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.05017, allocations: 119.8 kB / 0.5133 GB, free: 27.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006492/0.05082, allocations: 0.9397 MB / 0.5143 GB, free: 26.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.05089, allocations: 49.7 kB / 0.5143 GB, free: 26.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.05111, allocations: 0.5469 MB / 0.5148 GB, free: 25.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.05132, allocations: 384.7 kB / 0.5152 GB, free: 25.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.0516, allocations: 297 kB / 0.5155 GB, free: 24.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.05164, allocations: 484.7 kB / 0.5159 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.05207, allocations: 403.2 kB / 0.5163 GB, free: 23.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.05258, allocations: 0.6142 MB / 0.5169 GB, free: 23.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.054, allocations: 1.547 MB / 0.5184 GB, free: 21.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.05401, allocations: 0 / 0.5184 GB, free: 21.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004686/0.05869, allocations: 2.961 MB / 0.5213 GB, free: 18.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.05874, allocations: 59.41 kB / 0.5214 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.05876, allocations: 4 kB / 0.5214 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/0.06265, allocations: 1.503 MB / 0.5229 GB, free: 17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.06369, allocations: 295.5 kB / 0.5231 GB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005183/0.06887, allocations: 4.191 MB / 0.5272 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.06988, allocations: 163.1 kB / 0.5274 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.06994, allocations: 43.97 kB / 0.5274 GB, free: 12.2 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.0003973/0.07034, allocations: 273.5 kB / 0.5277 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.0705, allocations: 163.2 kB / 0.5278 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.07454, allocations: 2.451 MB / 0.5302 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.07455, allocations: 12 kB / 0.5303 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.07456, allocations: 11.94 kB / 0.5303 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.07458, allocations: 3.984 kB / 0.5303 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004971/0.07955, allocations: 3.389 MB / 0.5336 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.07955, allocations: 0 / 0.5336 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.07983, allocations: 95.91 kB / 0.5337 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003634/0.08347, allocations: 1.626 MB / 0.5353 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.08355, allocations: 31.92 kB / 0.5353 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007221/0.09077, allocations: 6.205 MB / 0.5413 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.09077, allocations: 0 / 0.5413 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006619/0.09739, allocations: 2.843 MB / 0.5441 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.09782, allocations: 150.9 kB / 0.5443 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.09796, allocations: 27.94 kB / 0.5443 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.09855, allocations: 71.92 kB / 0.5444 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005115/0.09906, allocations: 200.6 kB / 0.5446 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/0.09912, allocations: 16 kB / 0.5446 GB, free: 10.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005654/0.09969, allocations: 0.5662 MB / 0.5451 GB, free: 9.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09969, allocations: 0 / 0.5451 GB, free: 9.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001245/0.1009, allocations: 463.7 kB / 0.5456 GB, free: 9.207 MB / 426.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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.1012, allocations: 142 kB / 0.5457 GB, free: 9.062 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.1042, allocations: 1.716 MB / 0.5474 GB, free: 7.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1042, allocations: 0 / 0.5474 GB, free: 7.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.1064, allocations: 1.28 MB / 0.5486 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007721/0.1072, allocations: 128.4 kB / 0.5487 GB, free: 5.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.1108, allocations: 2.042 MB / 0.5507 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.111, allocations: 245.5 kB / 0.551 GB, free: 3.453 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.1113, allocations: 120 kB / 0.5511 GB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.1117, allocations: 206.2 kB / 0.5513 GB, free: 3.129 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1117, allocations: 3.938 kB / 0.5513 GB, free: 3.125 MB / 426.7 MB Notification: Performance of Templates: time 0.03698/0.1487, allocations: 27.84 MB / 0.5785 GB, free: 7.496 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.944987746886909]