Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001295/0.001295, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9727/0.9727, allocations: 177.1 MB / 200.5 MB, free: 5.844 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.001183/0.001183, allocations: 167.3 kB / 257 MB, free: 13.21 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.2987/0.2987, allocations: 80.35 MB / 393.8 MB, free: 3.355 MB / 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 489.9 MB, free: 63.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.174e-05, allocations: 4.562 kB / 490 MB, free: 63.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006525/0.006557, allocations: 6.234 MB / 496.2 MB, free: 57.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.01069, allocations: 1.964 MB / 498.2 MB, free: 55.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/0.01153, allocations: 12 kB / 498.2 MB, free: 55.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008309/0.01236, allocations: 241.8 kB / 498.4 MB, free: 54.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.01496, allocations: 0.8625 MB / 499.3 MB, free: 54.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.01642, allocations: 0.6311 MB / 499.9 MB, free: 53.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002329/0.01875, allocations: 1.572 MB / 0.4897 GB, free: 51.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005848/0.01933, allocations: 222.6 kB / 0.4899 GB, free: 51.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.02123, allocations: 0.8999 MB / 0.4908 GB, free: 50.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.02314, allocations: 0.6702 MB / 0.4915 GB, free: 50.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.02338, allocations: 124.5 kB / 0.4916 GB, free: 50 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.02385, allocations: 280.5 kB / 0.4918 GB, free: 49.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.02402, allocations: 334.5 kB / 0.4922 GB, free: 49.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.0243, allocations: 458.5 kB / 0.4926 GB, free: 48.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009775/0.02528, allocations: 1.226 MB / 0.4938 GB, free: 47.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02528, allocations: 1.656 kB / 0.4938 GB, free: 47.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.02528, allocations: 0 / 0.4938 GB, free: 47.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.0253, allocations: 0 / 0.4938 GB, free: 47.71 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004424/0.02973, allocations: 2.911 MB / 0.4966 GB, free: 44.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.466e-05/0.02976, allocations: 8.031 kB / 0.4966 GB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.03234, allocations: 0.9212 MB / 0.4975 GB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008405/0.03318, allocations: 0.8124 MB / 0.4983 GB, free: 43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.03332, allocations: 330 kB / 0.4987 GB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.03342, allocations: 84 kB / 0.4987 GB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.03425, allocations: 0.755 MB / 0.4995 GB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.03427, allocations: 2.094 kB / 0.4995 GB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.03433, allocations: 31.94 kB / 0.4995 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.03434, allocations: 27.92 kB / 0.4995 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.03503, allocations: 493.3 kB / 0.5 GB, free: 41.22 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.002882/0.03791, allocations: 2.695 MB / 0.5026 GB, free: 38.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.04028, allocations: 1.251 MB / 0.5039 GB, free: 37.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.04066, allocations: 336.8 kB / 0.5042 GB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.974e-05/0.04072, allocations: 17 kB / 0.5042 GB, free: 36.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005067/0.04123, allocations: 0.5305 MB / 0.5047 GB, free: 36.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=95): time 2.004e-06/0.04123, allocations: 5.156 kB / 0.5047 GB, free: 36.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.01139/0.05262, allocations: 5.094 MB / 0.5097 GB, free: 31.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.05265, allocations: 115.8 kB / 0.5098 GB, free: 31.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.05334, allocations: 0.9798 MB / 0.5108 GB, free: 30.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.05341, allocations: 45.7 kB / 0.5108 GB, free: 29.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.05361, allocations: 0.5547 MB / 0.5113 GB, free: 29.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.05378, allocations: 372.9 kB / 0.5117 GB, free: 29.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.05405, allocations: 281.2 kB / 0.512 GB, free: 28.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.05409, allocations: 480.7 kB / 0.5124 GB, free: 28.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.05459, allocations: 427.2 kB / 0.5128 GB, free: 27.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.05519, allocations: 0.6339 MB / 0.5135 GB, free: 27.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.05679, allocations: 1.617 MB / 0.515 GB, free: 25.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.0568, allocations: 3.938 kB / 0.515 GB, free: 25.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00508/0.06188, allocations: 3.059 MB / 0.518 GB, free: 22.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.06192, allocations: 59.41 kB / 0.5181 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.06193, allocations: 0 / 0.5181 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/0.06614, allocations: 1.637 MB / 0.5197 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.06678, allocations: 271.6 kB / 0.5199 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006003/0.07278, allocations: 4.496 MB / 0.5243 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/0.07349, allocations: 167.2 kB / 0.5245 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/0.07356, allocations: 51.98 kB / 0.5245 GB, free: 15.55 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (155): * Single equations (assignments): 152 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003162/0.07387, allocations: 255 kB / 0.5248 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.07404, allocations: 159.1 kB / 0.5249 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004617/0.07866, allocations: 2.592 MB / 0.5275 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.07866, allocations: 8 kB / 0.5275 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.07867, allocations: 8 kB / 0.5275 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.07868, allocations: 3.984 kB / 0.5275 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/0.0843, allocations: 3.636 MB / 0.531 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.0843, allocations: 0 / 0.531 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.08473, allocations: 103.8 kB / 0.5311 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005021/0.08975, allocations: 1.659 MB / 0.5328 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.08982, allocations: 19.98 kB / 0.5328 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/0.09601, allocations: 6.397 MB / 0.539 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.09601, allocations: 0 / 0.539 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.1015, allocations: 3.026 MB / 0.542 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.1017, allocations: 154.9 kB / 0.5421 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.1018, allocations: 19.94 kB / 0.5421 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.1023, allocations: 75.92 kB / 0.5422 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/0.1026, allocations: 196.6 kB / 0.5424 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.1027, allocations: 27.98 kB / 0.5424 GB, free: 12.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005286/0.1032, allocations: 0.6174 MB / 0.543 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1032, allocations: 4 kB / 0.543 GB, free: 12.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009436/0.1041, allocations: 471.6 kB / 0.5435 GB, free: 11.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002406/0.1044, allocations: 130.6 kB / 0.5436 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.107, allocations: 1.813 MB / 0.5454 GB, free: 9.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.107, allocations: 192 / 0.5454 GB, free: 9.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.1087, allocations: 1.319 MB / 0.5467 GB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.1092, allocations: 140.8 kB / 0.5468 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.1118, allocations: 2.009 MB / 0.5488 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.112, allocations: 245.5 kB / 0.549 GB, free: 5.852 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.1122, allocations: 111.9 kB / 0.5491 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.1124, allocations: 84.47 kB / 0.5492 GB, free: 5.656 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1124, allocations: 0 / 0.5492 GB, free: 5.656 MB / 426.7 MB Notification: Performance of Templates: time 0.02598/0.1384, allocations: 27.05 MB / 0.5756 GB, free: 10.72 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1317275741603225]