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.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.0005919/0.0005919, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8803/0.8803, allocations: 177.2 MB / 200.2 MB, free: 5.926 MB / 186.7 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.00106/0.00106, allocations: 156.6 kB / 256.7 MB, free: 13.33 MB / 250.7 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.2564/0.2564, allocations: 80.26 MB / 393.4 MB, free: 2.441 MB / 314.7 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.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 1.333e-06/1.333e-06, allocations: 0 / 0.5561 GB, free: 12.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.397e-05, allocations: 12.61 kB / 0.5561 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.008177/0.008201, allocations: 11.84 MB / 0.5676 GB, free: 264 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.01281, allocations: 3.496 MB / 0.5711 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006308/0.01344, allocations: 35.94 kB / 0.5711 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008633/0.0143, allocations: 0.5613 MB / 0.5716 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.01663, allocations: 1.618 MB / 0.5732 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.01842, allocations: 1.573 MB / 0.5748 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.02053, allocations: 3.833 MB / 0.5785 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.02111, allocations: 0.5776 MB / 0.5791 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.02278, allocations: 2.174 MB / 0.5812 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.02391, allocations: 1.593 MB / 0.5827 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.02417, allocations: 296 kB / 0.583 GB, free: 436 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004978/0.02467, allocations: 459.8 kB / 0.5835 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004047/0.02507, allocations: 0.7933 MB / 0.5842 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006414/0.02571, allocations: 1.106 MB / 0.5853 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.02851, allocations: 4.166 MB / 0.5894 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.02852, allocations: 4 kB / 0.5894 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.333e-06/0.02852, allocations: 0 / 0.5894 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.02854, allocations: 0 / 0.5894 GB, free: 9.887 MB / 0.5105 GB 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.01154/0.04008, allocations: 7.437 MB / 0.5967 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.04011, allocations: 12.03 kB / 0.5967 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006884/0.047, allocations: 2.324 MB / 0.5989 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2203/0.2673, allocations: 1.834 MB / 0.6007 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/0.2677, allocations: 0.83 MB / 0.6015 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.268, allocations: 218.9 kB / 0.6017 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/0.2715, allocations: 3.109 MB / 0.6048 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.2715, allocations: 3.938 kB / 0.6048 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.2717, allocations: 91.45 kB / 0.6049 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.2717, allocations: 52.22 kB / 0.6049 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/0.275, allocations: 2.832 MB / 0.6077 GB, free: 88.05 MB / 0.5105 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.009498/0.2845, allocations: 7.471 MB / 0.615 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006182/0.2906, allocations: 3.6 MB / 0.6185 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.2932, allocations: 1.846 MB / 0.6203 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.2934, allocations: 38.44 kB / 0.6203 GB, free: 82.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003127/0.2965, allocations: 2.308 MB / 0.6226 GB, free: 81.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 4.288e-06/0.2965, allocations: 0 / 0.6226 GB, free: 81.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.06091/0.3574, allocations: 28.6 MB / 0.6505 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3575, allocations: 188.2 kB / 0.6507 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.3596, allocations: 2.3 MB / 0.6529 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.3599, allocations: 71.58 kB / 0.653 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.3603, allocations: 1.194 MB / 0.6542 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/0.3609, allocations: 0.9147 MB / 0.6551 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006129/0.3615, allocations: 0.5464 MB / 0.6556 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.052e-05/0.3615, allocations: 301.1 kB / 0.6559 GB, free: 61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/0.3638, allocations: 2.082 MB / 0.6579 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.3662, allocations: 2.443 MB / 0.6603 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02599/0.3922, allocations: 14.65 MB / 0.6746 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.3922, allocations: 0 / 0.6746 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01963/0.4118, allocations: 12.46 MB / 0.6868 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.4118, allocations: 114.8 kB / 0.6869 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.4119, allocations: 8 kB / 0.6869 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00876/0.4206, allocations: 5.433 MB / 0.6922 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.4221, allocations: 0.5656 MB / 0.6928 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03106/0.4532, allocations: 22.96 MB / 0.7152 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.4558, allocations: 481.9 kB / 0.7157 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.456, allocations: 124 kB / 0.7158 GB, free: 15.11 MB / 0.5261 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 (326): * Single equations (assignments): 321 * 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.001065/0.4571, allocations: 0.5334 MB / 0.7163 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.4574, allocations: 322 kB / 0.7166 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02179/0.4792, allocations: 11.91 MB / 0.7282 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4792, allocations: 24 kB / 0.7283 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.4793, allocations: 24 kB / 0.7283 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.4793, allocations: 11.95 kB / 0.7283 GB, free: 2.172 MB / 0.5261 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.02461/0.5039, allocations: 14.28 MB / 0.7422 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.5039, allocations: 0 / 0.7422 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008041/0.5047, allocations: 255.6 kB / 0.7425 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009506/0.5142, allocations: 5.264 MB / 0.7476 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.5144, allocations: 55.98 kB / 0.7477 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03545/0.5498, allocations: 23.99 MB / 0.7711 GB, free: 5.934 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5498, allocations: 0 / 0.7711 GB, free: 5.934 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02518/0.575, allocations: 14.38 MB / 0.7851 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007799/0.5758, allocations: 353.5 kB / 0.7855 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/0.5761, allocations: 48 kB / 0.7855 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.5776, allocations: 299.6 kB / 0.7858 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001398/0.579, allocations: 0.5995 MB / 0.7864 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.5791, allocations: 71.98 kB / 0.7865 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001905/0.581, allocations: 1.515 MB / 0.7879 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.581, allocations: 3.938 kB / 0.7879 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002428/0.5835, allocations: 1.202 MB / 0.7891 GB, free: 3.328 MB / 0.5886 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.0003592/0.5838, allocations: 178.5 kB / 0.7893 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01046/0.5943, allocations: 6.613 MB / 0.7957 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.5943, allocations: 0 / 0.7957 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00667/0.601, allocations: 4.28 MB / 0.7999 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6022, allocations: 270.2 kB / 0.8002 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006885/0.6091, allocations: 5.486 MB / 0.8055 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008718/0.61, allocations: 1.27 MB / 0.8068 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.6105, allocations: 188.4 kB / 0.807 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of SimCode: time 2.294e-06/0.6105, allocations: 0 / 0.807 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of Templates: time 0.2375/0.848, allocations: 66.56 MB / 0.872 GB, free: 196.2 MB / 0.6355 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: 8.174337233416736] Failed to read output from testmodel.py, exit status != 0: 0.8536234302446246 0.860263982 0.830350837 Calling exit ...