Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.00084/0.00084, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.878/0.878, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.001089/0.001089, allocations: 163.5 kB / 256.7 MB, free: 13.35 MB / 250.7 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.2589/0.2589, allocations: 80.37 MB / 393.5 MB, free: 2.367 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.5562 GB, free: 12.03 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.717e-05, allocations: 13.31 kB / 0.5563 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.008065/0.008092, allocations: 11.8 MB / 0.5678 GB, free: 168 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.01406, allocations: 3.48 MB / 0.5712 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.01511, allocations: 31.94 kB / 0.5712 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009331/0.01604, allocations: 0.5576 MB / 0.5717 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.01834, allocations: 1.62 MB / 0.5733 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.02049, allocations: 1.555 MB / 0.5748 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.0227, allocations: 3.806 MB / 0.5786 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.02328, allocations: 0.5776 MB / 0.5791 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.02487, allocations: 2.15 MB / 0.5812 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.02601, allocations: 1.589 MB / 0.5828 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.02626, allocations: 292 kB / 0.5831 GB, free: 436 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.02677, allocations: 451.8 kB / 0.5835 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.02716, allocations: 0.7971 MB / 0.5843 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006373/0.0278, allocations: 1.086 MB / 0.5853 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.03047, allocations: 4.138 MB / 0.5894 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.03047, allocations: 0 / 0.5894 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.213e-06/0.03047, allocations: 0 / 0.5894 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.583e-05/0.0305, allocations: 0 / 0.5894 GB, free: 9.941 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01148/0.04197, allocations: 7.411 MB / 0.5966 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.04201, allocations: 8.031 kB / 0.5966 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007054/0.04906, allocations: 2.327 MB / 0.5989 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2085/0.2575, allocations: 1.828 MB / 0.6007 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/0.2579, allocations: 0.827 MB / 0.6015 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.2583, allocations: 217.8 kB / 0.6017 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003758/0.262, allocations: 3.1 MB / 0.6047 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.262, allocations: 0 / 0.6047 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.2622, allocations: 82.19 kB / 0.6048 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.2622, allocations: 48.72 kB / 0.6048 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.2657, allocations: 2.838 MB / 0.6076 GB, free: 88.11 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.01161/0.2773, allocations: 7.435 MB / 0.6149 GB, free: 84.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/0.2837, allocations: 3.585 MB / 0.6184 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/0.2868, allocations: 1.833 MB / 0.6202 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.287, allocations: 37.78 kB / 0.6202 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003485/0.2905, allocations: 2.306 MB / 0.6225 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 5.22e-06/0.2905, allocations: 0 / 0.6225 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=249): time 0.0588/0.3493, allocations: 27.21 MB / 0.649 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3494, allocations: 184.2 kB / 0.6492 GB, free: 67.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.3516, allocations: 2.28 MB / 0.6514 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006788/0.3522, allocations: 75.58 kB / 0.6515 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.3527, allocations: 1.199 MB / 0.6527 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007075/0.3534, allocations: 0.9108 MB / 0.6536 GB, free: 63.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006323/0.354, allocations: 0.5462 MB / 0.6541 GB, free: 62.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.015e-05/0.3541, allocations: 301.1 kB / 0.6544 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.3564, allocations: 2.063 MB / 0.6564 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.3589, allocations: 2.427 MB / 0.6588 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02762/0.3865, allocations: 14.52 MB / 0.6729 GB, free: 43.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.3865, allocations: 4 kB / 0.673 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.02088/0.4074, allocations: 12.54 MB / 0.6852 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/0.4074, allocations: 114.8 kB / 0.6853 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.4075, allocations: 12 kB / 0.6853 GB, free: 30.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008876/0.4163, allocations: 5.261 MB / 0.6905 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.4184, allocations: 0.5734 MB / 0.691 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03148/0.4499, allocations: 22.5 MB / 0.713 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.4531, allocations: 489.9 kB / 0.7135 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/0.4534, allocations: 120 kB / 0.7136 GB, free: 1.359 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (324): * Single equations (assignments): 319 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00118/0.4546, allocations: 0.5388 MB / 0.7141 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.4552, allocations: 310 kB / 0.7144 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02181/0.477, allocations: 11.88 MB / 0.726 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.477, allocations: 28 kB / 0.726 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.477, allocations: 20 kB / 0.726 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.464e-05/0.4771, allocations: 11.95 kB / 0.7261 GB, free: 4.445 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.0265/0.5036, allocations: 14.26 MB / 0.74 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.5036, allocations: 0 / 0.74 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.5047, allocations: 251.6 kB / 0.7402 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009953/0.5147, allocations: 5.299 MB / 0.7454 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005533/0.5152, allocations: 55.92 kB / 0.7454 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03575/0.551, allocations: 23.98 MB / 0.7689 GB, free: 8.176 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.551, allocations: 0 / 0.7689 GB, free: 8.176 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02707/0.578, allocations: 14.35 MB / 0.7829 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000981/0.579, allocations: 353.2 kB / 0.7832 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005805/0.5796, allocations: 48 kB / 0.7833 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.5812, allocations: 299.6 kB / 0.7835 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001784/0.583, allocations: 0.5995 MB / 0.7841 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/0.5832, allocations: 63.98 kB / 0.7842 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001739/0.5849, allocations: 1.514 MB / 0.7857 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5849, allocations: 0 / 0.7857 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003058/0.588, allocations: 1.183 MB / 0.7868 GB, free: 5.625 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0004529/0.5884, allocations: 178.9 kB / 0.787 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01171/0.6002, allocations: 6.474 MB / 0.7933 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6002, allocations: 1.219 kB / 0.7933 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.007817/0.608, allocations: 4.295 MB / 0.7975 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.6101, allocations: 277.9 kB / 0.7978 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008179/0.6183, allocations: 5.434 MB / 0.8031 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.6193, allocations: 1.261 MB / 0.8043 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/0.6202, allocations: 184.5 kB / 0.8045 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of SimCode: time 2.034e-06/0.6202, allocations: 0 / 0.8045 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of Templates: time 0.2689/0.8891, allocations: 66.21 MB / 0.8692 GB, free: 198 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.726550436578691] Failed to read output from testmodel.py, exit status != 0: 0.8957187300547957 0.902369008 0.870587069 Calling exit ...