Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001515/0.001515, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.543/1.543, allocations: 225.6 MB / 247.7 MB, free: 13.29 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.001611/0.001611, allocations: 183.2 kB / 303.1 MB, free: 8.746 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.625/0.625, allocations: 99.64 MB / 458 MB, free: 3.984 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 79.86 kB / 0.6129 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1801, allocations: 76.99 MB / 0.6881 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008698/0.1888, allocations: 6.579 MB / 0.6945 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005088/0.1939, allocations: 1.978 MB / 0.6965 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000993/0.1949, allocations: 19.88 kB / 0.6965 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008864/0.1958, allocations: 242 kB / 0.6967 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3561/0.5519, allocations: 0.8268 MB / 0.6975 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.554, allocations: 0.636 MB / 0.6982 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.5565, allocations: 1.61 MB / 0.6997 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.557, allocations: 221.7 kB / 0.6999 GB, free: 9.992 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/0.5579, allocations: 0.6776 MB / 0.7006 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008608/0.5588, allocations: 0.8409 MB / 0.7014 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.559, allocations: 125.2 kB / 0.7015 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.5595, allocations: 263 kB / 0.7018 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.5598, allocations: 330.7 kB / 0.7021 GB, free: 9.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.5603, allocations: 0.6727 MB / 0.7028 GB, free: 9.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.5623, allocations: 1.668 MB / 0.7044 GB, free: 9.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5623, allocations: 0 / 0.7044 GB, free: 9.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5623, allocations: 0 / 0.7044 GB, free: 9.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.5623, allocations: 0 / 0.7044 GB, free: 9.184 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008963/0.5713, allocations: 2.791 MB / 0.7071 GB, free: 8.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5713, allocations: 11.55 kB / 0.7071 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005197/0.5765, allocations: 0.7815 MB / 0.7079 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.5782, allocations: 0.847 MB / 0.7087 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.5785, allocations: 255.7 kB / 0.709 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.5787, allocations: 84.25 kB / 0.709 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5809, allocations: 1.078 MB / 0.7101 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.5809, allocations: 7.375 kB / 0.7101 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.581, allocations: 30.52 kB / 0.7101 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.581, allocations: 18.8 kB / 0.7101 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.5829, allocations: 0.9887 MB / 0.7111 GB, free: 6.523 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.006931/0.5899, allocations: 3.753 MB / 0.7148 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00813/0.598, allocations: 1.996 MB / 0.7167 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.5996, allocations: 0.617 MB / 0.7173 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.5998, allocations: 12.19 kB / 0.7173 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001984/0.6017, allocations: 0.816 MB / 0.7181 GB, free: 3.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 5.861e-06/0.6018, allocations: 4.938 kB / 0.7181 GB, free: 3.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.03107/0.6328, allocations: 7.01 MB / 0.725 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.6329, allocations: 120.6 kB / 0.7251 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/0.6357, allocations: 1.086 MB / 0.7262 GB, free: 172 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003884/0.6361, allocations: 46.61 kB / 0.7262 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000676/0.6368, allocations: 0.4968 MB / 0.7267 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008228/0.6376, allocations: 366.7 kB / 0.727 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.6386, allocations: 282.8 kB / 0.7273 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6388, allocations: 307.9 kB / 0.7276 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.6409, allocations: 0.7558 MB / 0.7283 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.6431, allocations: 0.9267 MB / 0.7293 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02664/0.6698, allocations: 5.542 MB / 0.7347 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.6698, allocations: 4.875 kB / 0.7347 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01701/0.6868, allocations: 4.345 MB / 0.7389 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.6869, allocations: 58.06 kB / 0.739 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6869, allocations: 3.219 kB / 0.739 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006158/0.6931, allocations: 1.588 MB / 0.7405 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.6947, allocations: 278.8 kB / 0.7408 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/0.7182, allocations: 8.417 MB / 0.749 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.7206, allocations: 207.7 kB / 0.7492 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.7209, allocations: 59.97 kB / 0.7493 GB, free: 15.83 MB / 0.5137 GB 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 (160): * Single equations (assignments): 157 * 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,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001117/0.722, allocations: 300.2 kB / 0.7495 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005534/0.7226, allocations: 135.1 kB / 0.7497 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/0.7369, allocations: 3.848 MB / 0.7534 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.7369, allocations: 15.31 kB / 0.7534 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-05/0.737, allocations: 8 kB / 0.7535 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.737, allocations: 3.984 kB / 0.7535 GB, free: 11.55 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.01735/0.7543, allocations: 5.406 MB / 0.7587 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7544, allocations: 3.875 kB / 0.7587 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/0.755, allocations: 95.89 kB / 0.7588 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006125/0.7611, allocations: 1.607 MB / 0.7604 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.7613, allocations: 16 kB / 0.7604 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0238/0.7851, allocations: 9.434 MB / 0.7696 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7851, allocations: 4 kB / 0.7696 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/0.8019, allocations: 4.712 MB / 0.7742 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/0.8026, allocations: 154.9 kB / 0.7744 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/0.803, allocations: 19.98 kB / 0.7744 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.8045, allocations: 107.9 kB / 0.7745 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007205/0.8052, allocations: 205.9 kB / 0.7747 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.8053, allocations: 24.09 kB / 0.7747 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001605/0.8069, allocations: 0.7392 MB / 0.7754 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8069, allocations: 0 / 0.7754 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002064/0.809, allocations: 479.6 kB / 0.7759 GB, free: 4.219 MB / 0.5294 GB 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.0003703/0.8094, allocations: 132.3 kB / 0.776 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007302/0.8167, allocations: 2.381 MB / 0.7784 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.8167, allocations: 8.188 kB / 0.7784 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004847/0.8215, allocations: 1.54 MB / 0.7799 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.823, allocations: 112.3 kB / 0.78 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.828, allocations: 2.234 MB / 0.7822 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.8291, allocations: 1.124 MB / 0.7833 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005439/0.8296, allocations: 119.4 kB / 0.7834 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.83, allocations: 83.41 kB / 0.7834 GB, free: 12.39 MB / 0.545 GB Notification: Performance of SimCode: time 1.283e-06/0.83, allocations: 0 / 0.7834 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Templates: time 0.0494/0.8794, allocations: 24.97 MB / 0.8078 GB, free: 3.477 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.348121341317892] Failed to read output from testmodel.py, exit status != 0: 0.8885983815416694 0.902414523 0.336939883 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3eaa8017b0>