Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001698/0.001698, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.428/1.428, allocations: 177.1 MB / 199.4 MB, free: 8.441 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.001614/0.001614, allocations: 161.2 kB / 256 MB, free: 4.316 MB / 238.1 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.5894/0.5894, allocations: 80.25 MB / 392.6 MB, free: 29.68 MB / 334.1 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5553 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.727e-05, allocations: 6.906 kB / 0.5553 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005961/0.005988, allocations: 5.939 MB / 0.5611 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.0101, allocations: 1.983 MB / 0.563 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004983/0.0106, allocations: 10.12 kB / 0.563 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.0113, allocations: 245.6 kB / 0.5633 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.01324, allocations: 0.894 MB / 0.5641 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.01442, allocations: 0.6467 MB / 0.5648 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.01587, allocations: 1.681 MB / 0.5664 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.01621, allocations: 213.6 kB / 0.5666 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009456/0.01715, allocations: 0.9502 MB / 0.5676 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007953/0.01795, allocations: 0.7077 MB / 0.5682 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.01816, allocations: 132.2 kB / 0.5684 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.01873, allocations: 283 kB / 0.5686 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.019, allocations: 354.2 kB / 0.569 GB, free: 5.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.01945, allocations: 487.5 kB / 0.5694 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.02099, allocations: 1.804 MB / 0.5712 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.02099, allocations: 1.531 kB / 0.5712 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02099, allocations: 4 kB / 0.5712 GB, free: 3.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.02101, allocations: 0 / 0.5712 GB, free: 3.359 MB / 430.1 MB 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.008936/0.02994, allocations: 2.897 MB / 0.574 GB, free: 1.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.02999, allocations: 8.844 kB / 0.574 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.03513, allocations: 0.8054 MB / 0.5748 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.03657, allocations: 0.8609 MB / 0.5757 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.03686, allocations: 338.7 kB / 0.576 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.03703, allocations: 83.59 kB / 0.5761 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.03935, allocations: 1.138 MB / 0.5772 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.03937, allocations: 0 / 0.5772 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.03948, allocations: 34.95 kB / 0.5772 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.03951, allocations: 25.94 kB / 0.5772 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.04174, allocations: 1.021 MB / 0.5782 GB, free: 14.6 MB / 446.1 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.006387/0.04813, allocations: 2.922 MB / 0.5811 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008023/0.05615, allocations: 2.059 MB / 0.5831 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.05764, allocations: 0.6583 MB / 0.5838 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.499e-05/0.05774, allocations: 12.94 kB / 0.5838 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.05955, allocations: 0.8663 MB / 0.5846 GB, free: 7.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=98): time 3.416e-06/0.05955, allocations: 0 / 0.5846 GB, free: 7.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=98): time 0.03091/0.09047, allocations: 6.955 MB / 0.5914 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.09057, allocations: 115.8 kB / 0.5915 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.09266, allocations: 1.118 MB / 0.5926 GB, free: 15.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.09292, allocations: 45.7 kB / 0.5926 GB, free: 15.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.09337, allocations: 0.5054 MB / 0.5931 GB, free: 15.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/0.09383, allocations: 380.8 kB / 0.5935 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005589/0.09439, allocations: 291.5 kB / 0.5938 GB, free: 14.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.09454, allocations: 305.1 kB / 0.5941 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.09633, allocations: 0.8389 MB / 0.5949 GB, free: 13.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.09825, allocations: 1.016 MB / 0.5959 GB, free: 12.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02834/0.1266, allocations: 6.102 MB / 0.6018 GB, free: 6.062 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.1266, allocations: 0 / 0.6018 GB, free: 6.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01551/0.1421, allocations: 4.508 MB / 0.6062 GB, free: 1.512 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/0.1422, allocations: 61.91 kB / 0.6063 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.1422, allocations: 4 kB / 0.6063 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007006/0.1492, allocations: 1.662 MB / 0.6079 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.151, allocations: 291.5 kB / 0.6082 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/0.1743, allocations: 8.324 MB / 0.6163 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.1768, allocations: 207.2 kB / 0.6165 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/0.1772, allocations: 59.97 kB / 0.6166 GB, free: 6.789 MB / 478.1 MB 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.001102/0.1783, allocations: 305.7 kB / 0.6169 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/0.1788, allocations: 135.1 kB / 0.617 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.1934, allocations: 3.918 MB / 0.6208 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.1934, allocations: 11.94 kB / 0.6208 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/0.1934, allocations: 8 kB / 0.6209 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.1934, allocations: 3.984 kB / 0.6209 GB, free: 2.367 MB / 478.1 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.01679/0.2102, allocations: 4.962 MB / 0.6257 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2102, allocations: 0 / 0.6257 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/0.211, allocations: 111.8 kB / 0.6258 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006343/0.2173, allocations: 1.59 MB / 0.6274 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.2175, allocations: 27.98 kB / 0.6274 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02276/0.2402, allocations: 9.177 MB / 0.6364 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2402, allocations: 0 / 0.6364 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/0.2563, allocations: 4.836 MB / 0.6411 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.2569, allocations: 158.8 kB / 0.6412 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/0.2572, allocations: 20 kB / 0.6412 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.2587, allocations: 107.9 kB / 0.6414 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006419/0.2593, allocations: 204.6 kB / 0.6415 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.2594, allocations: 35.98 kB / 0.6416 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00135/0.2608, allocations: 0.7472 MB / 0.6423 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2608, allocations: 3.938 kB / 0.6423 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001698/0.2625, allocations: 499.6 kB / 0.6428 GB, free: 11.57 MB / 0.4981 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.0003703/0.2629, allocations: 147 kB / 0.6429 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007405/0.2703, allocations: 2.53 MB / 0.6454 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2703, allocations: 0 / 0.6454 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004854/0.2751, allocations: 1.585 MB / 0.6469 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.2765, allocations: 114.1 kB / 0.6471 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.2815, allocations: 2.317 MB / 0.6493 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.2821, allocations: 0.5401 MB / 0.6498 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00053/0.2827, allocations: 116.1 kB / 0.65 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.283, allocations: 88.47 kB / 0.65 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of SimCode: time 1.323e-06/0.283, allocations: 0 / 0.65 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.0456/0.3286, allocations: 26.81 MB / 0.6762 GB, free: 9.242 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6151960752904415] Failed to read output from testmodel.py, exit status != 0: 0.337603572756052 0.353225435 0.32917317199999996 Calling exit ...