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.001518/0.001518, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.62/1.62, allocations: 230.6 MB / 252.7 MB, free: 14.26 MB / 206.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.001767/0.001767, allocations: 208.3 kB / 309.2 MB, free: 3.16 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.6923/0.6923, allocations: 107.3 MB / 473 MB, free: 30.05 MB / 350.1 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.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.002635/0.002635, allocations: 83.8 kB / 0.6337 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1777, allocations: 80.18 MB / 0.712 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008026/0.1857, allocations: 5.939 MB / 0.7178 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1904, allocations: 1.983 MB / 0.7197 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009648/0.1913, allocations: 11.94 kB / 0.7198 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.1921, allocations: 241.9 kB / 0.72 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.1945, allocations: 0.8637 MB / 0.7208 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.196, allocations: 0.6454 MB / 0.7215 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002258/0.1983, allocations: 1.698 MB / 0.7231 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.1987, allocations: 207 kB / 0.7233 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.1999, allocations: 0.7159 MB / 0.724 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.201, allocations: 0.8165 MB / 0.7248 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.2012, allocations: 132 kB / 0.7249 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.2018, allocations: 287.8 kB / 0.7252 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.2022, allocations: 350.6 kB / 0.7255 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.2028, allocations: 0.571 MB / 0.7261 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.2049, allocations: 1.782 MB / 0.7278 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2049, allocations: 0 / 0.7278 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2049, allocations: 0 / 0.7278 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.205, allocations: 0 / 0.7278 GB, free: 6.75 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.01001/0.215, allocations: 2.91 MB / 0.7307 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.215, allocations: 12.03 kB / 0.7307 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005367/0.2204, allocations: 0.7991 MB / 0.7315 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.2226, allocations: 0.8662 MB / 0.7323 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/0.223, allocations: 345.3 kB / 0.7327 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.2232, allocations: 83.95 kB / 0.7327 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.2256, allocations: 1.143 MB / 0.7339 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.2256, allocations: 11.81 kB / 0.7339 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/0.2257, allocations: 32 kB / 0.7339 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.2257, allocations: 20 kB / 0.7339 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.2279, allocations: 1.017 MB / 0.7349 GB, free: 15.34 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.006815/0.2348, allocations: 2.921 MB / 0.7378 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/0.2421, allocations: 2.049 MB / 0.7398 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.2436, allocations: 0.6583 MB / 0.7404 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.634e-05/0.2437, allocations: 16.98 kB / 0.7404 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/0.2455, allocations: 0.8596 MB / 0.7413 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 5.59e-06/0.2455, allocations: 3.984 kB / 0.7413 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.02899/0.2745, allocations: 6.955 MB / 0.7481 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.2746, allocations: 127.7 kB / 0.7482 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.2765, allocations: 1.114 MB / 0.7493 GB, free: 444 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.2768, allocations: 45.7 kB / 0.7493 GB, free: 392 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.2773, allocations: 0.5017 MB / 0.7498 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/0.2777, allocations: 384.7 kB / 0.7502 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005499/0.2783, allocations: 291.5 kB / 0.7504 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2785, allocations: 305.1 kB / 0.7507 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.2803, allocations: 0.8389 MB / 0.7516 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.2822, allocations: 1.008 MB / 0.7525 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02743/0.3096, allocations: 6.106 MB / 0.7585 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.3096, allocations: 4 kB / 0.7585 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01503/0.3247, allocations: 4.504 MB / 0.7629 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/0.3248, allocations: 63.39 kB / 0.763 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.3248, allocations: 7.938 kB / 0.763 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006511/0.3313, allocations: 1.654 MB / 0.7646 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.3329, allocations: 287.6 kB / 0.7649 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/0.355, allocations: 8.338 MB / 0.773 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.3571, allocations: 191.3 kB / 0.7732 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.3573, allocations: 55.97 kB / 0.7732 GB, free: 7.535 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.0007037/0.358, allocations: 320 kB / 0.7735 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.3582, allocations: 135.1 kB / 0.7737 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.3717, allocations: 3.918 MB / 0.7775 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.3718, allocations: 12 kB / 0.7775 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.3718, allocations: 11.98 kB / 0.7775 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.3718, allocations: 3.984 kB / 0.7775 GB, free: 3.09 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.0157/0.3875, allocations: 4.966 MB / 0.7824 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.3875, allocations: 0 / 0.7824 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.3884, allocations: 111.8 kB / 0.7825 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005856/0.3943, allocations: 1.587 MB / 0.784 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.3945, allocations: 20 kB / 0.784 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02171/0.4162, allocations: 9.192 MB / 0.793 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.4162, allocations: 0 / 0.793 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.4322, allocations: 4.848 MB / 0.7978 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005819/0.4328, allocations: 146.9 kB / 0.7979 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.433, allocations: 20 kB / 0.7979 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.4343, allocations: 111.9 kB / 0.798 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006694/0.4349, allocations: 204.6 kB / 0.7982 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/0.435, allocations: 28 kB / 0.7982 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001254/0.4363, allocations: 0.751 MB / 0.799 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4363, allocations: 0 / 0.799 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001524/0.4378, allocations: 0.4917 MB / 0.7995 GB, free: 12.29 MB / 0.5762 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.0003202/0.4381, allocations: 148.8 kB / 0.7996 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00719/0.4453, allocations: 2.525 MB / 0.8021 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4453, allocations: 0 / 0.8021 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004778/0.4501, allocations: 1.586 MB / 0.8036 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4512, allocations: 112.8 kB / 0.8037 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.4564, allocations: 2.5 MB / 0.8062 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.457, allocations: 0.544 MB / 0.8067 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005634/0.4576, allocations: 124.1 kB / 0.8068 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.4579, allocations: 79.42 kB / 0.8069 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of SimCode: time 1.322e-06/0.4579, allocations: 0 / 0.8069 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of Templates: time 0.4472/0.905, allocations: 28.17 MB / 0.8344 GB, free: 86.66 MB / 0.5762 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.771338514983654] Failed to read output from testmodel.py, exit status != 0: 0.9145933520048857 0.923954829 0.716745779 Calling exit ...