Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001617/0.001617, allocations: 88.72 kB / 19.44 MB, free: 360 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 1.528/1.528, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 MB " [Timeout remaining time 178] 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.001677/0.001677, allocations: 160.6 kB / 256.3 MB, free: 13.17 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.4606/0.4606, allocations: 80.27 MB / 393 MB, free: 2.215 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 3.938 kB / 489.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.28e-05, allocations: 2.312 kB / 489.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008498/0.008531, allocations: 5.774 MB / 494.9 MB, free: 6.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.01357, allocations: 1.928 MB / 496.8 MB, free: 4.195 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.01424, allocations: 12.72 kB / 496.8 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.01503, allocations: 231 kB / 497 MB, free: 3.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.01742, allocations: 0.874 MB / 497.9 MB, free: 3.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.01896, allocations: 0.629 MB / 498.5 MB, free: 2.469 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.02137, allocations: 1.571 MB / 0.4884 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004772/0.02185, allocations: 214.8 kB / 0.4886 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.0233, allocations: 0.8961 MB / 0.4895 GB, free: 15.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.02433, allocations: 0.6737 MB / 0.4901 GB, free: 15.1 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.02454, allocations: 124 kB / 0.4902 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006629/0.0252, allocations: 271.7 kB / 0.4905 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.0256, allocations: 339.7 kB / 0.4908 GB, free: 14.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.02619, allocations: 458.5 kB / 0.4913 GB, free: 13.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.0285, allocations: 1.728 MB / 0.493 GB, free: 12.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.0285, allocations: 1.625 kB / 0.493 GB, free: 12.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.0285, allocations: 0 / 0.493 GB, free: 12.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.02852, allocations: 0 / 0.493 GB, free: 12.2 MB / 426.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.009801/0.03832, allocations: 2.798 MB / 0.4957 GB, free: 9.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.03838, allocations: 13.16 kB / 0.4957 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0052/0.04358, allocations: 0.919 MB / 0.4966 GB, free: 8.445 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.04553, allocations: 0.8502 MB / 0.4974 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/0.04602, allocations: 341.3 kB / 0.4978 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.04625, allocations: 84 kB / 0.4978 GB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.04884, allocations: 1.115 MB / 0.4989 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.04886, allocations: 0 / 0.4989 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.04898, allocations: 31.94 kB / 0.499 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.049, allocations: 20 kB / 0.499 GB, free: 5.902 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.05133, allocations: 1.005 MB / 0.5 GB, free: 4.891 MB / 426.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.007438/0.05877, allocations: 2.863 MB / 0.5027 GB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008272/0.06704, allocations: 2.01 MB / 0.5047 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.06874, allocations: 0.6465 MB / 0.5053 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.06888, allocations: 21 kB / 0.5054 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/0.07095, allocations: 0.8389 MB / 0.5062 GB, free: 14.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 3.457e-06/0.07095, allocations: 0 / 0.5062 GB, free: 14.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.03145/0.1024, allocations: 7.095 MB / 0.5131 GB, free: 7.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.1025, allocations: 119.8 kB / 0.5132 GB, free: 7.105 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.1048, allocations: 1.066 MB / 0.5143 GB, free: 6.023 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.105, allocations: 49.69 kB / 0.5143 GB, free: 5.969 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.1056, allocations: 0.5013 MB / 0.5148 GB, free: 5.461 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/0.1062, allocations: 361 kB / 0.5151 GB, free: 5.105 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000712/0.1069, allocations: 267.5 kB / 0.5154 GB, free: 4.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1071, allocations: 309.1 kB / 0.5157 GB, free: 4.535 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.1091, allocations: 0.7998 MB / 0.5165 GB, free: 3.723 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.1111, allocations: 0.9716 MB / 0.5174 GB, free: 2.703 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02977/0.1409, allocations: 5.746 MB / 0.523 GB, free: 12.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.1409, allocations: 0 / 0.523 GB, free: 12.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01537/0.1563, allocations: 4.411 MB / 0.5273 GB, free: 8.422 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.316e-05/0.1564, allocations: 63.39 kB / 0.5274 GB, free: 8.348 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.1564, allocations: 4 kB / 0.5274 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/0.1682, allocations: 2.345 MB / 0.5297 GB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.1698, allocations: 275.6 kB / 0.53 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/0.193, allocations: 8.229 MB / 0.538 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.1951, allocations: 203 kB / 0.5382 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/0.1954, allocations: 51.98 kB / 0.5382 GB, free: 13.13 MB / 474.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 (153): * Single equations (assignments): 150 * 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,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009207/0.1963, allocations: 300.2 kB / 0.5385 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/0.1968, allocations: 163.1 kB / 0.5387 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.2111, allocations: 3.87 MB / 0.5425 GB, free: 8.754 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.2111, allocations: 12 kB / 0.5425 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.2112, allocations: 4 kB / 0.5425 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.2112, allocations: 3.984 kB / 0.5425 GB, free: 8.734 MB / 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 postOpt removeSimpleEquations (simulation): time 0.01614/0.2273, allocations: 4.896 MB / 0.5473 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.2273, allocations: 0 / 0.5473 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.2279, allocations: 103.8 kB / 0.5474 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01199/0.2399, allocations: 2.387 MB / 0.5497 GB, free: 1.285 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.2401, allocations: 20 kB / 0.5497 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02474/0.2648, allocations: 9.224 MB / 0.5587 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2648, allocations: 0 / 0.5587 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/0.281, allocations: 4.793 MB / 0.5634 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000673/0.2817, allocations: 154.9 kB / 0.5635 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/0.2821, allocations: 23.98 kB / 0.5636 GB, free: 2.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.2836, allocations: 107.9 kB / 0.5637 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007543/0.2844, allocations: 200.6 kB / 0.5639 GB, free: 2.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.2844, allocations: 32.06 kB / 0.5639 GB, free: 2.469 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001431/0.2859, allocations: 0.7152 MB / 0.5646 GB, free: 1.746 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2859, allocations: 3.938 kB / 0.5646 GB, free: 1.742 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001778/0.2877, allocations: 467.7 kB / 0.565 GB, free: 1.285 MB / 490.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.0003537/0.288, allocations: 151.1 kB / 0.5652 GB, free: 1.129 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006898/0.2949, allocations: 2.432 MB / 0.5676 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2949, allocations: 0 / 0.5676 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004714/0.2996, allocations: 1.557 MB / 0.5691 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3006, allocations: 135.1 kB / 0.5692 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.3049, allocations: 2.198 MB / 0.5714 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.3055, allocations: 0.5354 MB / 0.5719 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004148/0.3059, allocations: 119.9 kB / 0.572 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.3062, allocations: 80.47 kB / 0.5721 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of SimCode: time 1.974e-06/0.3062, allocations: 0 / 0.5721 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of Templates: time 0.04428/0.3505, allocations: 25.96 MB / 0.5974 GB, free: 48 kB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7707991120405495]