Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.001538/0.001538, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.314/1.314, allocations: 230.6 MB / 253.4 MB, free: 8.293 MB / 206.1 MB " [Timeout remaining time 179] 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.001564/0.001564, allocations: 213.1 kB / 310 MB, free: 3.113 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.5101/0.5101, allocations: 101.4 MB / 467.8 MB, free: 10.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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.002452/0.002452, allocations: 87.86 kB / 0.6258 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.394, allocations: 78.6 MB / 0.7025 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01669/0.4107, allocations: 21.88 MB / 0.7239 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.4219, allocations: 4.91 MB / 0.7287 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.4246, allocations: 43.38 kB / 0.7287 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.4265, allocations: 0.8854 MB / 0.7296 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006055/0.4326, allocations: 2.31 MB / 0.7319 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.4375, allocations: 2.059 MB / 0.7339 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009129/0.4467, allocations: 5.743 MB / 0.7395 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.4483, allocations: 0.9129 MB / 0.7404 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004065/0.4523, allocations: 2.396 MB / 0.7427 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004411/0.4568, allocations: 2.96 MB / 0.7456 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007558/0.4575, allocations: 437.1 kB / 0.746 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.459, allocations: 0.601 MB / 0.7466 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.46, allocations: 1.15 MB / 0.7477 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002976/0.463, allocations: 2.613 MB / 0.7503 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00753/0.4705, allocations: 6.266 MB / 0.7564 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4705, allocations: 0 / 0.7564 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4705, allocations: 1.094 kB / 0.7564 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001428/0.4706, allocations: 0 / 0.7564 GB, free: 4.473 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03017/0.5008, allocations: 9.902 MB / 0.7661 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.5009, allocations: 9.625 kB / 0.7661 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02568/0.5265, allocations: 4.061 MB / 0.77 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005732/0.5323, allocations: 2.566 MB / 0.7726 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/0.5333, allocations: 1.04 MB / 0.7736 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006429/0.5339, allocations: 352 kB / 0.7739 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009326/0.5433, allocations: 4.719 MB / 0.7785 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.989e-05/0.5433, allocations: 7.938 kB / 0.7785 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.5437, allocations: 140 kB / 0.7787 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.597e-05/0.5438, allocations: 84 kB / 0.7787 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008535/0.5523, allocations: 4.244 MB / 0.7829 GB, free: 13.83 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 preOpt removeSimpleEquations (simulation): time 0.03189/0.5842, allocations: 18.03 MB / 0.8005 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.5957, allocations: 4.343 MB / 0.8047 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/0.6008, allocations: 2.47 MB / 0.8071 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003947/0.6012, allocations: 66.91 kB / 0.8072 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006061/0.6073, allocations: 3.173 MB / 0.8103 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=382): time 5.189e-06/0.6073, allocations: 4 kB / 0.8103 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=382): time 0.2904/0.8977, allocations: 67.93 MB / 0.8766 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.8978, allocations: 141.8 kB / 0.8768 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005344/0.9031, allocations: 3.238 MB / 0.8799 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007175/0.9039, allocations: 89.7 kB / 0.88 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.9056, allocations: 1.997 MB / 0.882 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/0.9079, allocations: 1.375 MB / 0.8833 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/0.9102, allocations: 0.6743 MB / 0.884 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.9103, allocations: 301.1 kB / 0.8843 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005803/0.9161, allocations: 2.577 MB / 0.8868 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/0.9225, allocations: 3.205 MB / 0.8899 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07054/0.993, allocations: 18.98 MB / 0.9084 GB, free: 11.25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/0.9931, allocations: 8 kB / 0.9084 GB, free: 11.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05573/1.049, allocations: 16.82 MB / 0.9249 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-05/1.049, allocations: 71.34 kB / 0.9249 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.049, allocations: 16 kB / 0.9249 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02569/1.075, allocations: 7.225 MB / 0.932 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/1.078, allocations: 0.6631 MB / 0.9327 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08997/1.168, allocations: 33.66 MB / 0.9655 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006059/1.174, allocations: 0.6301 MB / 0.9661 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/1.175, allocations: 148 kB / 0.9663 GB, free: 15.79 MB / 0.7325 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002331/1.177, allocations: 0.6598 MB / 0.9669 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/1.179, allocations: 484.8 kB / 0.9674 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3363/1.515, allocations: 16.71 MB / 0.9837 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/1.515, allocations: 41.75 kB / 0.9837 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-05/1.515, allocations: 27.44 kB / 0.9838 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-05/1.515, allocations: 17.72 kB / 0.9838 GB, free: 231.9 MB / 0.7325 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.05684/1.572, allocations: 21.66 MB / 1.005 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.572, allocations: 0 / 1.005 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.574, allocations: 392 kB / 1.005 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02318/1.597, allocations: 7.379 MB / 1.013 GB, free: 227.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003938/1.597, allocations: 69.95 kB / 1.013 GB, free: 227.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06979/1.667, allocations: 31.65 MB / 1.043 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.667, allocations: 5.844 kB / 1.043 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05428/1.721, allocations: 20.09 MB / 1.063 GB, free: 195.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.723, allocations: 0.515 MB / 1.064 GB, free: 194.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/1.724, allocations: 64 kB / 1.064 GB, free: 194.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00489/1.729, allocations: 375.6 kB / 1.064 GB, free: 194.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002833/1.732, allocations: 0.8114 MB / 1.065 GB, free: 193.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005242/1.733, allocations: 99.97 kB / 1.065 GB, free: 193.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00296/1.736, allocations: 2.117 MB / 1.067 GB, free: 191.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.736, allocations: 96 / 1.067 GB, free: 191.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005452/1.741, allocations: 1.806 MB / 1.069 GB, free: 189.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006911/1.742, allocations: 191 kB / 1.069 GB, free: 189.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02164/1.763, allocations: 8.898 MB / 1.078 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.763, allocations: 1.938 kB / 1.078 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01652/1.78, allocations: 5.881 MB / 1.083 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.784, allocations: 387.5 kB / 1.084 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.797, allocations: 8.04 MB / 1.092 GB, free: 166 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.798, allocations: 2.435 MB / 1.094 GB, free: 163.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.799, allocations: 279.4 kB / 1.094 GB, free: 163.2 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/1.799, allocations: 0 / 1.094 GB, free: 163.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.07949/1.879, allocations: 89.29 MB / 1.181 GB, free: 73.79 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.569130240939558] Failed to read output from testmodel.py, exit status != 0: 1.8872738059144467 1.895326656 1.4227380090000001 Calling exit ...