Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.002185/0.002185, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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 1.656/1.656, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.002213/0.002213, allocations: 164.6 kB / 256.3 MB, free: 13.15 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.5015/0.5015, allocations: 80.25 MB / 393 MB, free: 2.223 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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 489.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.509e-05, allocations: 2.312 kB / 489.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02567/0.02571, allocations: 20.45 MB / 0.4977 GB, free: 7.297 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.04164, allocations: 4.87 MB / 0.5025 GB, free: 2.457 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005389/0.04703, allocations: 44 kB / 0.5025 GB, free: 2.414 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00427/0.0513, allocations: 0.8839 MB / 0.5034 GB, free: 1.523 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.06216, allocations: 2.346 MB / 0.5057 GB, free: 15.17 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007063/0.06923, allocations: 2.047 MB / 0.5077 GB, free: 13.13 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.08127, allocations: 5.862 MB / 0.5134 GB, free: 7.242 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003556/0.08483, allocations: 0.8688 MB / 0.5142 GB, free: 6.32 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/0.09608, allocations: 3.311 MB / 0.5175 GB, free: 3 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006743/0.1028, allocations: 2.285 MB / 0.5197 GB, free: 0.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003576/0.1064, allocations: 440 kB / 0.5201 GB, free: 284 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.1101, allocations: 0.5896 MB / 0.5207 GB, free: 15.69 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00281/0.1129, allocations: 1.174 MB / 0.5218 GB, free: 14.51 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005116/0.118, allocations: 1.725 MB / 0.5235 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.1311, allocations: 6.352 MB / 0.5297 GB, free: 6.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.1311, allocations: 0 / 0.5297 GB, free: 6.402 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1311, allocations: 0 / 0.5297 GB, free: 6.402 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003275/0.1314, allocations: 0 / 0.5297 GB, free: 6.402 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.04029/0.1717, allocations: 10.75 MB / 0.5402 GB, free: 11.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/0.1718, allocations: 8.031 kB / 0.5402 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/0.2015, allocations: 4.792 MB / 0.5449 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/0.2094, allocations: 2.647 MB / 0.5475 GB, free: 4.008 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00159/0.211, allocations: 1.021 MB / 0.5485 GB, free: 2.832 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/0.2129, allocations: 348 kB / 0.5488 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.2265, allocations: 4.784 MB / 0.5535 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.011e-05/0.2265, allocations: 0 / 0.5535 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000434/0.227, allocations: 140 kB / 0.5536 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.205e-05/0.2271, allocations: 87.94 kB / 0.5537 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.2387, allocations: 4.074 MB / 0.5577 GB, free: 9.359 MB / 490.7 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.04358/0.2823, allocations: 14.14 MB / 0.5715 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.2946, allocations: 3.949 MB / 0.5754 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006816/0.3015, allocations: 2.462 MB / 0.5778 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.3021, allocations: 78.95 kB / 0.5778 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008439/0.3105, allocations: 3.229 MB / 0.581 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 1.096e-05/0.3105, allocations: 0 / 0.581 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.5442/0.8547, allocations: 61.23 MB / 0.6408 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.8548, allocations: 141.8 kB / 0.6409 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006128/0.861, allocations: 3.826 MB / 0.6447 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/0.8621, allocations: 91.38 kB / 0.6448 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.8635, allocations: 2.212 MB / 0.6469 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002057/0.8655, allocations: 1.442 MB / 0.6483 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.8671, allocations: 0.7805 MB / 0.6491 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.8672, allocations: 480.8 kB / 0.6495 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004756/0.8719, allocations: 2.475 MB / 0.652 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/0.8775, allocations: 3.394 MB / 0.6553 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0167/0.8942, allocations: 9.507 MB / 0.6646 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.8942, allocations: 4 kB / 0.6646 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.0492/0.9434, allocations: 15.59 MB / 0.6798 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-05/0.9435, allocations: 67.41 kB / 0.6798 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.114e-05/0.9436, allocations: 20 kB / 0.6799 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04309/0.9866, allocations: 9.149 MB / 0.6888 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003627/0.9903, allocations: 0.6592 MB / 0.6894 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0835/1.074, allocations: 31.2 MB / 0.7199 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006722/1.08, allocations: 0.5364 MB / 0.7204 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.082, allocations: 148.6 kB / 0.7206 GB, free: 59.52 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003716/1.086, allocations: 0.7148 MB / 0.7213 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002941/1.088, allocations: 0.583 MB / 0.7219 GB, free: 58.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04926/1.138, allocations: 15.04 MB / 0.7365 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-05/1.138, allocations: 36 kB / 0.7366 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001394/1.138, allocations: 28 kB / 0.7366 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/1.138, allocations: 20.91 kB / 0.7366 GB, free: 43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06126/1.199, allocations: 19.05 MB / 0.7552 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.222e-05/1.199, allocations: 4 kB / 0.7552 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/1.202, allocations: 391.5 kB / 0.7556 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04323/1.245, allocations: 9.351 MB / 0.7647 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/1.247, allocations: 75.11 kB / 0.7648 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3387/1.585, allocations: 30.41 MB / 0.7945 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.585, allocations: 0 / 0.7945 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05952/1.645, allocations: 18.45 MB / 0.8125 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/1.647, allocations: 0.5076 MB / 0.813 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/1.648, allocations: 60.16 kB / 0.8131 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004828/1.653, allocations: 288.9 kB / 0.8134 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00318/1.656, allocations: 0.8221 MB / 0.8142 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004479/1.657, allocations: 92.73 kB / 0.8142 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00368/1.66, allocations: 2.287 MB / 0.8165 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.66, allocations: 0 / 0.8165 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006756/1.667, allocations: 1.797 MB / 0.8182 GB, free: 155.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008102/1.668, allocations: 200.7 kB / 0.8184 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02477/1.693, allocations: 8.679 MB / 0.8269 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.693, allocations: 7.781 kB / 0.8269 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01836/1.711, allocations: 5.845 MB / 0.8326 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/1.715, allocations: 484.4 kB / 0.8331 GB, free: 151 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/1.73, allocations: 8.066 MB / 0.841 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/1.732, allocations: 1.926 MB / 0.8428 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001685/1.734, allocations: 375.6 kB / 0.8432 GB, free: 142 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008455/1.735, allocations: 255.2 kB / 0.8434 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of SimCode: time 3.136e-06/1.735, allocations: 0 / 0.8434 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.1308/1.865, allocations: 101.8 MB / 0.9429 GB, free: 44.36 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.2970779070165]