Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001591/0.001591, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.525/1.525, allocations: 230.6 MB / 252.7 MB, free: 8.109 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.001739/0.001739, allocations: 218.4 kB / 309.2 MB, free: 2.961 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.602/0.602, allocations: 107.2 MB / 472.8 MB, free: 4.535 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.003157/0.003157, allocations: 83.86 kB / 0.6335 GB, free: 4.527 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4973, allocations: 80.14 MB / 0.7118 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006264/0.5035, allocations: 5.789 MB / 0.7174 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.5077, allocations: 1.914 MB / 0.7193 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000436/0.5082, allocations: 8.562 kB / 0.7193 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.5089, allocations: 237.8 kB / 0.7195 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.511, allocations: 0.8446 MB / 0.7204 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.5125, allocations: 0.6224 MB / 0.721 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.5142, allocations: 1.602 MB / 0.7225 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.5146, allocations: 211.1 kB / 0.7227 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000879/0.5154, allocations: 0.6826 MB / 0.7234 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.5165, allocations: 0.7654 MB / 0.7242 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.5166, allocations: 121 kB / 0.7243 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.5171, allocations: 280 kB / 0.7245 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.5175, allocations: 325.4 kB / 0.7249 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.518, allocations: 0.5497 MB / 0.7254 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.5201, allocations: 1.704 MB / 0.7271 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5201, allocations: 0.75 kB / 0.7271 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5201, allocations: 0 / 0.7271 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.442e-05/0.5201, allocations: 0 / 0.7271 GB, free: 11.37 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.01011/0.5302, allocations: 2.815 MB / 0.7298 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5303, allocations: 9.906 kB / 0.7298 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/0.5357, allocations: 0.8014 MB / 0.7306 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.5377, allocations: 0.8281 MB / 0.7314 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00039/0.5381, allocations: 335.7 kB / 0.7317 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.5383, allocations: 87.16 kB / 0.7318 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.5407, allocations: 1.114 MB / 0.7329 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.5408, allocations: 3.938 kB / 0.7329 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5409, allocations: 35.03 kB / 0.7329 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.5409, allocations: 17.88 kB / 0.733 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.5432, allocations: 1.011 MB / 0.7339 GB, free: 7.848 MB / 0.4981 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.00682/0.55, allocations: 2.838 MB / 0.7367 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007581/0.5576, allocations: 2.023 MB / 0.7387 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.559, allocations: 0.6423 MB / 0.7393 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/0.5591, allocations: 16.48 kB / 0.7393 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/0.5609, allocations: 0.8345 MB / 0.7401 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=95): time 2.845e-06/0.5609, allocations: 0 / 0.7401 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95): time 0.03062/0.5915, allocations: 7.065 MB / 0.747 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.5916, allocations: 114 kB / 0.7472 GB, free: 408 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.5936, allocations: 1.069 MB / 0.7482 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.5939, allocations: 45.3 kB / 0.7482 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.5943, allocations: 0.5059 MB / 0.7487 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/0.5948, allocations: 370.8 kB / 0.7491 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005425/0.5953, allocations: 274 kB / 0.7493 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5954, allocations: 301.1 kB / 0.7496 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.5972, allocations: 0.8025 MB / 0.7504 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.5991, allocations: 0.9714 MB / 0.7514 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02599/0.6251, allocations: 5.74 MB / 0.757 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.6251, allocations: 0 / 0.757 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.0149/0.64, allocations: 4.364 MB / 0.7612 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.6401, allocations: 55.41 kB / 0.7613 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.6401, allocations: 11.92 kB / 0.7613 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006222/0.6464, allocations: 1.569 MB / 0.7628 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.6481, allocations: 271.6 kB / 0.7631 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.6703, allocations: 8.195 MB / 0.7711 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.6724, allocations: 191.2 kB / 0.7713 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.6726, allocations: 51.98 kB / 0.7713 GB, free: 9.688 MB / 0.5294 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 (153): * Single equations (assignments): 150 * 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 {(18,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007306/0.6734, allocations: 316 kB / 0.7716 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.6736, allocations: 123.2 kB / 0.7717 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/0.6869, allocations: 3.878 MB / 0.7755 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.687, allocations: 12 kB / 0.7755 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.687, allocations: 4 kB / 0.7755 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.687, allocations: 7.984 kB / 0.7756 GB, free: 5.309 MB / 0.5294 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.01634/0.7034, allocations: 4.884 MB / 0.7803 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.7034, allocations: 0 / 0.7803 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/0.704, allocations: 107.8 kB / 0.7804 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00599/0.71, allocations: 1.591 MB / 0.782 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.7102, allocations: 23.98 kB / 0.782 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02268/0.7329, allocations: 9.198 MB / 0.791 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.7329, allocations: 4.062 kB / 0.791 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.7488, allocations: 4.766 MB / 0.7956 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009317/0.7497, allocations: 150.9 kB / 0.7958 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006218/0.7504, allocations: 16 kB / 0.7958 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.7521, allocations: 107.9 kB / 0.7959 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008374/0.7529, allocations: 208.7 kB / 0.7961 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.7531, allocations: 27.98 kB / 0.7961 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00171/0.7548, allocations: 0.7151 MB / 0.7968 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7548, allocations: 4 kB / 0.7968 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00253/0.7573, allocations: 483.5 kB / 0.7973 GB, free: 14.7 MB / 0.5606 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.0004831/0.7578, allocations: 131.2 kB / 0.7974 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007494/0.7653, allocations: 2.432 MB / 0.7998 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7653, allocations: 0 / 0.7998 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004602/0.7699, allocations: 1.551 MB / 0.8013 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.7713, allocations: 128.5 kB / 0.8014 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.7761, allocations: 2.261 MB / 0.8036 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.7767, allocations: 0.5276 MB / 0.8042 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004981/0.7772, allocations: 120.1 kB / 0.8043 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.7775, allocations: 79.41 kB / 0.8043 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.7775, allocations: 3.938 kB / 0.8043 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of Templates: time 0.04552/0.8231, allocations: 27.16 MB / 0.8309 GB, free: 12.2 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1277752462774515] Failed to read output from testmodel.py, exit status != 0: 0.8322879485785961 0.846759759 0.32334983900000003 Calling exit ...