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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 247.7 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 199.8 kB / 303.1 MB, free: 8.656 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5454/0.5454, allocations: 99.66 MB / 458 MB, free: 3.996 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00385/0.00385, allocations: 79.86 kB / 0.6129 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1969, allocations: 76.98 MB / 0.6881 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008432/0.2054, allocations: 6.778 MB / 0.6947 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.2106, allocations: 2.044 MB / 0.6967 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009399/0.2115, allocations: 12 kB / 0.6967 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009998/0.2125, allocations: 245.9 kB / 0.697 GB, free: 320 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2979/0.5104, allocations: 0.8524 MB / 0.6978 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.5121, allocations: 0.656 MB / 0.6984 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002336/0.5144, allocations: 1.707 MB / 0.7001 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.5149, allocations: 224 kB / 0.7003 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.5161, allocations: 0.7099 MB / 0.701 GB, free: 9.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.5171, allocations: 0.8928 MB / 0.7019 GB, free: 9.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.5174, allocations: 137.1 kB / 0.702 GB, free: 9.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.518, allocations: 269.6 kB / 0.7023 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.5182, allocations: 346.9 kB / 0.7026 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.5188, allocations: 0.6983 MB / 0.7033 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.5211, allocations: 1.742 MB / 0.705 GB, free: 9.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5211, allocations: 0 / 0.705 GB, free: 9.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5211, allocations: 0 / 0.705 GB, free: 9.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.164e-05/0.5212, allocations: 0 / 0.705 GB, free: 9.191 MB / 494.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.01083/0.532, allocations: 2.893 MB / 0.7078 GB, free: 7.996 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.532, allocations: 12.05 kB / 0.7078 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005293/0.5373, allocations: 0.7926 MB / 0.7086 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.5394, allocations: 0.8592 MB / 0.7094 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.5396, allocations: 261 kB / 0.7097 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.5398, allocations: 89.56 kB / 0.7098 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.5421, allocations: 1.107 MB / 0.7109 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.5421, allocations: 0 / 0.7109 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5422, allocations: 29.09 kB / 0.7109 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.5422, allocations: 20 kB / 0.7109 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.5443, allocations: 1.007 MB / 0.7119 GB, free: 6.281 MB / 494.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.007544/0.5519, allocations: 3.861 MB / 0.7157 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00816/0.56, allocations: 2.028 MB / 0.7176 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.5619, allocations: 0.6369 MB / 0.7183 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.5621, allocations: 20.28 kB / 0.7183 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/0.5643, allocations: 0.842 MB / 0.7191 GB, free: 3.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.296e-06/0.5643, allocations: 0.5 kB / 0.7191 GB, free: 3.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.03015/0.5944, allocations: 6.913 MB / 0.7259 GB, free: 412 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.5945, allocations: 121.2 kB / 0.726 GB, free: 276 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.5966, allocations: 1.137 MB / 0.7271 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003974/0.597, allocations: 46.97 kB / 0.7271 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/0.5975, allocations: 0.5043 MB / 0.7276 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006298/0.5982, allocations: 390.1 kB / 0.728 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006451/0.5988, allocations: 298.1 kB / 0.7283 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.599, allocations: 302.2 kB / 0.7286 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/0.6009, allocations: 0.7985 MB / 0.7293 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.6032, allocations: 0.9753 MB / 0.7303 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02864/0.6318, allocations: 5.905 MB / 0.7361 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.6318, allocations: 2.812 kB / 0.7361 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01582/0.6476, allocations: 4.488 MB / 0.7404 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/0.6477, allocations: 64.92 kB / 0.7405 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.6477, allocations: 3.125 kB / 0.7405 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006828/0.6546, allocations: 1.663 MB / 0.7421 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.6564, allocations: 303.5 kB / 0.7424 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/0.6799, allocations: 8.523 MB / 0.7507 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/0.6824, allocations: 211.2 kB / 0.751 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/0.6827, allocations: 55.97 kB / 0.751 GB, free: 14.06 MB / 0.5137 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008084/0.6835, allocations: 306.4 kB / 0.7513 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.6839, allocations: 139.1 kB / 0.7514 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/0.6982, allocations: 3.887 MB / 0.7552 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.6983, allocations: 12 kB / 0.7552 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.6983, allocations: 8 kB / 0.7552 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/0.6983, allocations: 7.969 kB / 0.7553 GB, free: 9.664 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 postOpt removeSimpleEquations (simulation): time 0.0178/0.7161, allocations: 5.506 MB / 0.7606 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.7161, allocations: 3.938 kB / 0.7606 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/0.717, allocations: 104.8 kB / 0.7607 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006215/0.7232, allocations: 1.593 MB / 0.7623 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002445/0.7234, allocations: 24 kB / 0.7623 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02356/0.747, allocations: 9.429 MB / 0.7715 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.747, allocations: 3.938 kB / 0.7715 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/0.7639, allocations: 4.789 MB / 0.7762 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000575/0.7645, allocations: 158.9 kB / 0.7764 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.7648, allocations: 20 kB / 0.7764 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.7662, allocations: 115.9 kB / 0.7765 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006275/0.7669, allocations: 200.6 kB / 0.7767 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.082e-05/0.767, allocations: 24 kB / 0.7767 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001509/0.7685, allocations: 0.7791 MB / 0.7775 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7685, allocations: 3.938 kB / 0.7775 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002047/0.7705, allocations: 499.6 kB / 0.7779 GB, free: 2.094 MB / 0.5294 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.000381/0.7709, allocations: 131.3 kB / 0.7781 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008163/0.7791, allocations: 2.481 MB / 0.7805 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7791, allocations: 4.125 kB / 0.7805 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005007/0.7841, allocations: 1.549 MB / 0.782 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.7852, allocations: 116.2 kB / 0.7821 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.7901, allocations: 2.481 MB / 0.7845 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/0.791, allocations: 1.139 MB / 0.7856 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005515/0.7915, allocations: 125 kB / 0.7858 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.7919, allocations: 79.41 kB / 0.7858 GB, free: 9.898 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.7919, allocations: 0 / 0.7858 GB, free: 9.898 MB / 0.545 GB Notification: Performance of Templates: time 0.04518/0.8371, allocations: 25.9 MB / 0.8111 GB, free: 64 kB / 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.750664069317281] Failed to read output from testmodel.py, exit status != 0: 0.8495710622519255 0.863668194 0.33886630500000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3908e397b0>