Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001409/0.001409, allocations: 105.7 kB / 19.59 MB, free: 2.211 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.263/1.263, allocations: 225.6 MB / 248.2 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 179] 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.001387/0.001387, allocations: 195.2 kB / 303.6 MB, free: 8.703 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4087/0.4087, allocations: 79.72 MB / 438.6 MB, free: 5.281 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 83.88 kB / 0.5844 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1129, allocations: 72.14 MB / 0.6548 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01359/0.1265, allocations: 13.86 MB / 0.6684 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00704/0.1335, allocations: 3.523 MB / 0.6718 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.1348, allocations: 28 kB / 0.6718 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.136, allocations: 0.5693 MB / 0.6724 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.1395, allocations: 1.589 MB / 0.6739 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.1426, allocations: 1.537 MB / 0.6754 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004206/0.1468, allocations: 3.878 MB / 0.6792 GB, free: 6.707 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008608/0.1476, allocations: 0.6128 MB / 0.6798 GB, free: 6.047 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.1496, allocations: 1.606 MB / 0.6814 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.1517, allocations: 2.05 MB / 0.6834 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.1521, allocations: 296 kB / 0.6837 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007412/0.1528, allocations: 431.9 kB / 0.6841 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006687/0.1535, allocations: 0.7857 MB / 0.6848 GB, free: 0.875 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.1548, allocations: 1.662 MB / 0.6865 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.1589, allocations: 4.076 MB / 0.6905 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1589, allocations: 0 / 0.6905 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1589, allocations: 0 / 0.6905 GB, free: 11.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.957e-05/0.1589, allocations: 0 / 0.6905 GB, free: 11.11 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02323/0.1822, allocations: 7.437 MB / 0.6977 GB, free: 3.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1822, allocations: 12.03 kB / 0.6977 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/0.1965, allocations: 2.3 MB / 0.7 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2248/0.4213, allocations: 1.841 MB / 0.7018 GB, free: 39.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006714/0.422, allocations: 0.728 MB / 0.7025 GB, free: 39.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007324/0.4227, allocations: 217.4 kB / 0.7027 GB, free: 39.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006815/0.4295, allocations: 3.056 MB / 0.7057 GB, free: 38.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.4296, allocations: 0.75 kB / 0.7057 GB, free: 38.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.4298, allocations: 85.61 kB / 0.7058 GB, free: 38.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.4299, allocations: 49.47 kB / 0.7058 GB, free: 38.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005974/0.4358, allocations: 2.807 MB / 0.7085 GB, free: 37.78 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.01646/0.4523, allocations: 9.773 MB / 0.7181 GB, free: 32.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009676/0.462, allocations: 3.567 MB / 0.7216 GB, free: 31.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.4654, allocations: 1.791 MB / 0.7233 GB, free: 31.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.4656, allocations: 39.14 kB / 0.7234 GB, free: 31.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003872/0.4695, allocations: 2.264 MB / 0.7256 GB, free: 30.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 3.636e-06/0.4695, allocations: 2.156 kB / 0.7256 GB, free: 30.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1105/0.5799, allocations: 28.5 MB / 0.7534 GB, free: 8.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.58, allocations: 184.2 kB / 0.7536 GB, free: 8.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.5827, allocations: 2.331 MB / 0.7559 GB, free: 6.395 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003259/0.5831, allocations: 73.7 kB / 0.7559 GB, free: 6.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/0.5836, allocations: 1.201 MB / 0.7571 GB, free: 5.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000705/0.5843, allocations: 0.9181 MB / 0.758 GB, free: 4.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.5854, allocations: 0.5739 MB / 0.7586 GB, free: 3.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 2.843e-05/0.5855, allocations: 305.1 kB / 0.7588 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/0.5892, allocations: 1.986 MB / 0.7608 GB, free: 1.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/0.5934, allocations: 2.359 MB / 0.7631 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05569/0.6491, allocations: 14.36 MB / 0.7771 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.6491, allocations: 0 / 0.7771 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04449/0.6936, allocations: 12.54 MB / 0.7894 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.6937, allocations: 118.8 kB / 0.7895 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.6937, allocations: 7.938 kB / 0.7895 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01956/0.7133, allocations: 5.433 MB / 0.7948 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.7163, allocations: 0.5773 MB / 0.7953 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0633/0.7796, allocations: 23.58 MB / 0.8184 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/0.7837, allocations: 0.4979 MB / 0.8189 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/0.784, allocations: 116 kB / 0.819 GB, free: 5.555 MB / 0.545 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001185/0.7852, allocations: 0.5372 MB / 0.8195 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/0.7857, allocations: 314 kB / 0.8198 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04075/0.8264, allocations: 11.86 MB / 0.8314 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.8265, allocations: 24 kB / 0.8314 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.327e-05/0.8265, allocations: 20 kB / 0.8314 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/0.8265, allocations: 15.95 kB / 0.8314 GB, free: 8.672 MB / 0.5606 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.04552/0.872, allocations: 15.47 MB / 0.8465 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.8721, allocations: 4.062 kB / 0.8465 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.8736, allocations: 255.6 kB / 0.8468 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01807/0.8917, allocations: 5.266 MB / 0.8519 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005067/0.8922, allocations: 51.98 kB / 0.852 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06008/0.9523, allocations: 24.67 MB / 0.8761 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9523, allocations: 0 / 0.8761 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04612/0.9984, allocations: 14.28 MB / 0.89 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009085/0.9993, allocations: 361.4 kB / 0.8904 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004926/0.9998, allocations: 44 kB / 0.8904 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.003, allocations: 303.6 kB / 0.8907 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/1.005, allocations: 0.5995 MB / 0.8913 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/1.005, allocations: 67.97 kB / 0.8913 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002298/1.007, allocations: 1.551 MB / 0.8929 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/1.007, allocations: 0 / 0.8929 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003045/1.01, allocations: 1.194 MB / 0.894 GB, free: 7.93 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004147/1.011, allocations: 181.9 kB / 0.8942 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01847/1.029, allocations: 6.481 MB / 0.9005 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.029, allocations: 0 / 0.9005 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01332/1.043, allocations: 4.254 MB / 0.9047 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.044, allocations: 270.3 kB / 0.9049 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00974/1.054, allocations: 5.658 MB / 0.9105 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.056, allocations: 1.819 MB / 0.9122 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008959/1.056, allocations: 187.4 kB / 0.9124 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/1.057, allocations: 7.938 kB / 0.9124 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.2884/1.345, allocations: 65.4 MB / 0.9763 GB, free: 230.3 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.743122214000323] Failed to read output from testmodel.py, exit status != 0: 1.3517617560137296 1.361526247 1.200494254 Calling exit ...