Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001576/0.001576, allocations: 110.2 kB / 17.08 MB, free: 5.965 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.465/1.465, allocations: 222.9 MB / 242.7 MB, free: 15.21 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.001818/0.001818, allocations: 193.5 kB / 295 MB, free: 12.66 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.6176/0.6176, allocations: 98.2 MB / 445.4 MB, free: 10.93 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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 99.78 kB / 0.5911 GB, free: 3.934 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1695, allocations: 72.76 MB / 0.6621 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01482/0.1843, allocations: 13.86 MB / 0.6756 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009626/0.194, allocations: 3.523 MB / 0.6791 GB, free: 9.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.1975, allocations: 28 kB / 0.6791 GB, free: 9.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.1998, allocations: 0.5654 MB / 0.6797 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006558/0.2063, allocations: 1.436 MB / 0.6811 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004758/0.2111, allocations: 1.525 MB / 0.6826 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006945/0.2181, allocations: 3.815 MB / 0.6863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.2201, allocations: 0.8935 MB / 0.6872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3738/0.5939, allocations: 1.558 MB / 0.6887 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.598, allocations: 1.997 MB / 0.6906 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009936/0.599, allocations: 299.2 kB / 0.6909 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.6003, allocations: 440.6 kB / 0.6913 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007024/0.601, allocations: 0.7814 MB / 0.6921 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.6027, allocations: 1.66 MB / 0.6937 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005143/0.6078, allocations: 4.066 MB / 0.6977 GB, free: 5.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6078, allocations: 0 / 0.6977 GB, free: 5.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6078, allocations: 0 / 0.6977 GB, free: 5.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.608, allocations: 1 kB / 0.6977 GB, free: 5.086 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.02681/0.6348, allocations: 6.784 MB / 0.7043 GB, free: 3.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.6348, allocations: 9.766 kB / 0.7043 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.6514, allocations: 2.296 MB / 0.7066 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005652/0.6571, allocations: 1.938 MB / 0.7085 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006992/0.6578, allocations: 0.725 MB / 0.7092 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007742/0.6586, allocations: 229.2 kB / 0.7094 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006793/0.6654, allocations: 3.05 MB / 0.7124 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.6654, allocations: 1.094 kB / 0.7124 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.6657, allocations: 87.47 kB / 0.7125 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.6658, allocations: 50.47 kB / 0.7125 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006372/0.6722, allocations: 2.798 MB / 0.7152 GB, free: 1.434 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.02257/0.6948, allocations: 9.909 MB / 0.7249 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.7068, allocations: 4.222 MB / 0.729 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004955/0.7118, allocations: 1.984 MB / 0.731 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/0.7122, allocations: 42.69 kB / 0.731 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005327/0.7176, allocations: 2.251 MB / 0.7332 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=250): time 4.649e-06/0.7176, allocations: 0 / 0.7332 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=250): time 0.13/0.8476, allocations: 28.84 MB / 0.7614 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.8478, allocations: 183.6 kB / 0.7615 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/0.8531, allocations: 2.329 MB / 0.7638 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/0.8544, allocations: 69.7 kB / 0.7639 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.8558, allocations: 1.201 MB / 0.7651 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00233/0.8581, allocations: 0.9276 MB / 0.766 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/0.8596, allocations: 0.5724 MB / 0.7665 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8598, allocations: 305.1 kB / 0.7668 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005/0.8648, allocations: 1.982 MB / 0.7687 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/0.8705, allocations: 2.365 MB / 0.7711 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06088/0.9314, allocations: 14.37 MB / 0.7851 GB, free: 5.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/0.9315, allocations: 4 kB / 0.7851 GB, free: 5.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04732/0.9788, allocations: 12.63 MB / 0.7974 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.979, allocations: 119.4 kB / 0.7975 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.979, allocations: 8 kB / 0.7975 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0208/0.9998, allocations: 5.432 MB / 0.8029 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/1.003, allocations: 0.5851 MB / 0.8034 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06911/1.072, allocations: 23.68 MB / 0.8266 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/1.079, allocations: 497.8 kB / 0.827 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.08, allocations: 120 kB / 0.8271 GB, free: 10.2 MB / 0.5919 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.002321/1.082, allocations: 0.5312 MB / 0.8277 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.084, allocations: 317.9 kB / 0.828 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04356/1.127, allocations: 11.94 MB / 0.8396 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.93e-05/1.127, allocations: 28 kB / 0.8397 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/1.127, allocations: 16 kB / 0.8397 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.473e-05/1.127, allocations: 18.58 kB / 0.8397 GB, free: 13.34 MB / 0.6075 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.05143/1.179, allocations: 15.58 MB / 0.8549 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.179, allocations: 4 kB / 0.8549 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.181, allocations: 251.6 kB / 0.8551 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01962/1.201, allocations: 5.282 MB / 0.8603 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009424/1.201, allocations: 47.98 kB / 0.8604 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06519/1.267, allocations: 24.97 MB / 0.8847 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.267, allocations: 0 / 0.8847 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05049/1.317, allocations: 14.37 MB / 0.8988 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.319, allocations: 426.7 kB / 0.8992 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/1.32, allocations: 51.98 kB / 0.8992 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003999/1.324, allocations: 299.6 kB / 0.8995 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002527/1.327, allocations: 0.5789 MB / 0.9001 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/1.327, allocations: 67.98 kB / 0.9001 GB, free: 14.94 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002901/1.33, allocations: 1.539 MB / 0.9016 GB, free: 13.39 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.33, allocations: 0 / 0.9016 GB, free: 13.39 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004858/1.335, allocations: 1.202 MB / 0.9028 GB, free: 12.19 MB / 0.67 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.0005651/1.336, allocations: 176.4 kB / 0.903 GB, free: 12.03 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02266/1.358, allocations: 6.796 MB / 0.9096 GB, free: 5.184 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.358, allocations: 5.75 kB / 0.9096 GB, free: 5.18 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01699/1.375, allocations: 4.441 MB / 0.914 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/1.38, allocations: 265 kB / 0.9142 GB, free: 456 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/1.392, allocations: 5.658 MB / 0.9197 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/1.394, allocations: 1.819 MB / 0.9215 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.396, allocations: 187.4 kB / 0.9217 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of SimCode: time 1.273e-06/1.396, allocations: 4 kB / 0.9217 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of Templates: time 0.4325/1.828, allocations: 64.91 MB / 0.9851 GB, free: 243.2 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.541403289011214] Failed to read output from testmodel.py, exit status != 0: 1.8357732910080813 1.846014055 1.2360812479999999 Calling exit ...