Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001632/0.001632, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 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.517/1.517, allocations: 177.2 MB / 200.1 MB, free: 8.344 MB / 190.1 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.002054/0.002054, allocations: 168.9 kB / 256.6 MB, free: 4.297 MB / 238.1 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.5778/0.5778, allocations: 80.29 MB / 393.3 MB, free: 29.29 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 87.52 kB / 0.5558 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.16, allocations: 80.12 MB / 0.6341 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.009112/0.1691, allocations: 5.932 MB / 0.6399 GB, free: 128 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004943/0.1741, allocations: 1.986 MB / 0.6418 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.1753, allocations: 8 kB / 0.6418 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1764, allocations: 241.9 kB / 0.642 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.1798, allocations: 0.8676 MB / 0.6429 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.1817, allocations: 0.6401 MB / 0.6435 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002865/0.1846, allocations: 1.694 MB / 0.6452 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005832/0.1851, allocations: 218.9 kB / 0.6454 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.1865, allocations: 0.7198 MB / 0.6461 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.1879, allocations: 0.8165 MB / 0.6469 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.1884, allocations: 132 kB / 0.647 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008431/0.1892, allocations: 275.9 kB / 0.6473 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005393/0.1897, allocations: 350.5 kB / 0.6476 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009149/0.1907, allocations: 0.575 MB / 0.6482 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.1929, allocations: 1.774 MB / 0.6499 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1929, allocations: 0 / 0.6499 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1929, allocations: 0 / 0.6499 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.193, allocations: 3.938 kB / 0.6499 GB, free: 5.809 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01015/0.2031, allocations: 2.917 MB / 0.6528 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2032, allocations: 8.031 kB / 0.6528 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005345/0.2085, allocations: 0.8069 MB / 0.6535 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.2103, allocations: 0.8624 MB / 0.6544 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.2107, allocations: 345.2 kB / 0.6547 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.2108, allocations: 87.89 kB / 0.6548 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.2132, allocations: 1.135 MB / 0.6559 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.2132, allocations: 4 kB / 0.6559 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.2133, allocations: 32 kB / 0.6559 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.2134, allocations: 20 kB / 0.656 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.2157, allocations: 1.025 MB / 0.657 GB, free: 14.39 MB / 0.5137 GB 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.006895/0.2226, allocations: 2.914 MB / 0.6598 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007824/0.2304, allocations: 2.058 MB / 0.6618 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.2322, allocations: 0.6671 MB / 0.6625 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.2323, allocations: 17 kB / 0.6625 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001855/0.2341, allocations: 0.8585 MB / 0.6633 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 2.775e-06/0.2341, allocations: 0 / 0.6633 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.03062/0.2648, allocations: 6.959 MB / 0.6701 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.2649, allocations: 115.8 kB / 0.6702 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.2668, allocations: 1.114 MB / 0.6713 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.2671, allocations: 49.73 kB / 0.6714 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.2676, allocations: 0.5015 MB / 0.6719 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000593/0.2682, allocations: 388.7 kB / 0.6722 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005979/0.2688, allocations: 287.5 kB / 0.6725 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.269, allocations: 305.1 kB / 0.6728 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.2709, allocations: 0.835 MB / 0.6736 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.2731, allocations: 1.02 MB / 0.6746 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02822/0.3013, allocations: 6.106 MB / 0.6806 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.3013, allocations: 0 / 0.6806 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01549/0.3168, allocations: 4.512 MB / 0.685 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.3169, allocations: 63.34 kB / 0.685 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.3169, allocations: 0 / 0.685 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006794/0.3237, allocations: 1.658 MB / 0.6867 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.3254, allocations: 283.6 kB / 0.6869 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/0.3479, allocations: 8.331 MB / 0.6951 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.35, allocations: 203.2 kB / 0.6953 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.3501, allocations: 55.97 kB / 0.6953 GB, free: 6.586 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (164): * Single equations (assignments): 161 * 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,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006546/0.3508, allocations: 316.1 kB / 0.6956 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.351, allocations: 131.1 kB / 0.6957 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.3647, allocations: 3.914 MB / 0.6996 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.3647, allocations: 12 kB / 0.6996 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.3647, allocations: 8 kB / 0.6996 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.137e-05/0.3647, allocations: 3.984 kB / 0.6996 GB, free: 2.156 MB / 0.545 GB 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.01565/0.3804, allocations: 4.966 MB / 0.7044 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.3804, allocations: 3.938 kB / 0.7044 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/0.3812, allocations: 103.9 kB / 0.7045 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005857/0.3871, allocations: 1.59 MB / 0.7061 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.3873, allocations: 19.98 kB / 0.7061 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/0.4087, allocations: 9.193 MB / 0.7151 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4087, allocations: 3.938 kB / 0.7151 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3557/0.7644, allocations: 4.836 MB / 0.7198 GB, free: 76.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005532/0.7649, allocations: 151.4 kB / 0.72 GB, free: 76.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.7651, allocations: 22 kB / 0.72 GB, free: 76.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.7665, allocations: 115.4 kB / 0.7201 GB, free: 76.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006823/0.7671, allocations: 202 kB / 0.7203 GB, free: 76.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-05/0.7672, allocations: 28.48 kB / 0.7203 GB, free: 76.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001299/0.7685, allocations: 0.7507 MB / 0.721 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7685, allocations: 6.5 kB / 0.721 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001863/0.7704, allocations: 499.8 kB / 0.7215 GB, free: 76.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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.0002968/0.7707, allocations: 135.1 kB / 0.7216 GB, free: 76.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007456/0.7781, allocations: 2.531 MB / 0.7241 GB, free: 76.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.7782, allocations: 0 / 0.7241 GB, free: 76.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004881/0.783, allocations: 1.592 MB / 0.7257 GB, free: 75.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.7844, allocations: 115.7 kB / 0.7258 GB, free: 75.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.7895, allocations: 2.477 MB / 0.7282 GB, free: 74.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.7903, allocations: 0.5395 MB / 0.7287 GB, free: 73.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005497/0.7909, allocations: 119.6 kB / 0.7288 GB, free: 73.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.7912, allocations: 84.8 kB / 0.7289 GB, free: 73.83 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.7912, allocations: 0 / 0.7289 GB, free: 73.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.03793/0.8291, allocations: 26.89 MB / 0.7552 GB, free: 60.25 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.103760506026447] Failed to read output from testmodel.py, exit status != 0: 0.8379439810523763 0.846881996 0.651722616 Calling exit ...