Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0007745/0.0007745, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.8622/0.8622, allocations: 177.2 MB / 200.2 MB, free: 5.938 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.00125/0.00125, allocations: 156.6 kB / 256.7 MB, free: 13.34 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.2537/0.2537, allocations: 80.25 MB / 393.4 MB, free: 2.43 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5561 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.254e-05, allocations: 6.219 kB / 0.5561 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.008147/0.00817, allocations: 11.79 MB / 0.5676 GB, free: 256 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.01326, allocations: 3.484 MB / 0.571 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000877/0.01414, allocations: 31.94 kB / 0.571 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.0153, allocations: 0.5575 MB / 0.5716 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.01758, allocations: 1.624 MB / 0.5732 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.01955, allocations: 1.558 MB / 0.5747 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002554/0.02211, allocations: 3.794 MB / 0.5784 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009048/0.02301, allocations: 0.5854 MB / 0.579 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.02472, allocations: 2.158 MB / 0.5811 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.0259, allocations: 1.577 MB / 0.5826 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.02618, allocations: 296 kB / 0.5829 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.02671, allocations: 455.7 kB / 0.5833 GB, free: 68 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004133/0.02713, allocations: 0.7857 MB / 0.5841 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007394/0.02786, allocations: 1.098 MB / 0.5852 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.03094, allocations: 4.134 MB / 0.5892 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.03094, allocations: 0 / 0.5892 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.03095, allocations: 4 kB / 0.5892 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.924e-05/0.03098, allocations: 0 / 0.5892 GB, free: 10.02 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.01209/0.04307, allocations: 7.412 MB / 0.5964 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.04311, allocations: 8.031 kB / 0.5965 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00705/0.05016, allocations: 2.327 MB / 0.5987 GB, free: 168 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2269/0.277, allocations: 1.818 MB / 0.6005 GB, free: 90.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/0.2774, allocations: 0.8306 MB / 0.6013 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.2777, allocations: 218.8 kB / 0.6015 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.2813, allocations: 3.098 MB / 0.6045 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.2813, allocations: 3.938 kB / 0.6045 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.2815, allocations: 85.62 kB / 0.6046 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.2815, allocations: 47.09 kB / 0.6047 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/0.2848, allocations: 2.83 MB / 0.6074 GB, free: 88.03 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.009839/0.2946, allocations: 7.443 MB / 0.6147 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006223/0.3009, allocations: 3.579 MB / 0.6182 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.3034, allocations: 1.834 MB / 0.62 GB, free: 82.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.3036, allocations: 38.36 kB / 0.62 GB, free: 82.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003219/0.3068, allocations: 2.306 MB / 0.6223 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 4.468e-06/0.3068, allocations: 0 / 0.6223 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=249): time 0.06128/0.3681, allocations: 27.21 MB / 0.6489 GB, free: 68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3681, allocations: 184.2 kB / 0.649 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.3702, allocations: 2.28 MB / 0.6513 GB, free: 65.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.3705, allocations: 75.58 kB / 0.6513 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.3709, allocations: 1.195 MB / 0.6525 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/0.3715, allocations: 0.9142 MB / 0.6534 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006398/0.3721, allocations: 0.5462 MB / 0.6539 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.804e-05/0.3721, allocations: 305.1 kB / 0.6542 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.3745, allocations: 2.059 MB / 0.6562 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.3769, allocations: 2.427 MB / 0.6586 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02787/0.4048, allocations: 14.52 MB / 0.6728 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.4048, allocations: 4 kB / 0.6728 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.02017/0.425, allocations: 12.54 MB / 0.685 GB, free: 30.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.425, allocations: 118.8 kB / 0.6851 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.425, allocations: 12 kB / 0.6851 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008637/0.4337, allocations: 5.26 MB / 0.6903 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.4354, allocations: 0.5734 MB / 0.6908 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0309/0.4663, allocations: 22.49 MB / 0.7128 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.469, allocations: 493.8 kB / 0.7133 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.4692, allocations: 116 kB / 0.7134 GB, free: 1.473 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.0009852/0.4702, allocations: 0.5377 MB / 0.7139 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/0.4705, allocations: 314 kB / 0.7142 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02128/0.4918, allocations: 11.88 MB / 0.7258 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.4918, allocations: 24 kB / 0.7258 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.4918, allocations: 24 kB / 0.7259 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.4918, allocations: 11.95 kB / 0.7259 GB, free: 4.555 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.5164, allocations: 14.27 MB / 0.7398 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.5164, allocations: 0 / 0.7398 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009177/0.5174, allocations: 251.6 kB / 0.7401 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009499/0.5269, allocations: 5.297 MB / 0.7452 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/0.5272, allocations: 55.98 kB / 0.7453 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03334/0.5605, allocations: 23.99 MB / 0.7687 GB, free: 8.297 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5605, allocations: 0 / 0.7687 GB, free: 8.297 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02478/0.5853, allocations: 14.35 MB / 0.7827 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008617/0.5861, allocations: 349.3 kB / 0.7831 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.5864, allocations: 44 kB / 0.7831 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.5879, allocations: 299.6 kB / 0.7834 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001465/0.5894, allocations: 0.6073 MB / 0.784 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.5895, allocations: 63.98 kB / 0.784 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001481/0.591, allocations: 1.51 MB / 0.7855 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/0.591, allocations: 0 / 0.7855 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002735/0.5937, allocations: 1.183 MB / 0.7867 GB, free: 5.75 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.0003547/0.5941, allocations: 186.8 kB / 0.7868 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01002/0.6041, allocations: 6.471 MB / 0.7932 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6041, allocations: 0 / 0.7932 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.006994/0.6111, allocations: 4.281 MB / 0.7973 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6124, allocations: 278 kB / 0.7976 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.6191, allocations: 5.437 MB / 0.8029 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.6199, allocations: 1.261 MB / 0.8041 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/0.6204, allocations: 184.5 kB / 0.8043 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.6204, allocations: 0 / 0.8043 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of Templates: time 0.239/0.8593, allocations: 66.2 MB / 0.869 GB, free: 198 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4696513414382935] Failed to read output from testmodel.py, exit status != 0: 0.8649883819743991 0.872196816 0.8399062899999999 Calling exit ...