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.001845/0.001845, 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.626/1.626, allocations: 177.1 MB / 199.7 MB, free: 5.793 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.002008/0.002008, allocations: 156.6 kB / 256.3 MB, free: 13.17 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.5116/0.5116, allocations: 80.37 MB / 393.1 MB, free: 2.156 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 1.863e-06/1.863e-06, allocations: 0 / 489.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.89e-05, allocations: 4.281 kB / 489.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01673/0.01676, allocations: 12.91 MB / 0.4904 GB, free: 14.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009035/0.0258, allocations: 3.508 MB / 0.4939 GB, free: 11.36 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.02844, allocations: 28 kB / 0.4939 GB, free: 11.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.03045, allocations: 0.5658 MB / 0.4944 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.0362, allocations: 1.61 MB / 0.496 GB, free: 9.156 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.04036, allocations: 1.54 MB / 0.4975 GB, free: 7.652 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006211/0.04657, allocations: 3.798 MB / 0.5012 GB, free: 3.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.04788, allocations: 0.5815 MB / 0.5018 GB, free: 3.195 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.0518, allocations: 2.158 MB / 0.5039 GB, free: 1.031 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.05438, allocations: 1.589 MB / 0.5055 GB, free: 15.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.05506, allocations: 292 kB / 0.5057 GB, free: 15.15 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.05635, allocations: 459.7 kB / 0.5062 GB, free: 14.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008604/0.05721, allocations: 0.7934 MB / 0.5069 GB, free: 13.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.0589, allocations: 1.09 MB / 0.508 GB, free: 12.81 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005905/0.06481, allocations: 4.161 MB / 0.5121 GB, free: 8.637 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.06481, allocations: 0 / 0.5121 GB, free: 8.637 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.06481, allocations: 4 kB / 0.5121 GB, free: 8.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.06491, allocations: 0 / 0.5121 GB, free: 8.633 MB / 442.7 MB 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.02772/0.09263, allocations: 8.207 MB / 0.5201 GB, free: 312 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.09268, allocations: 8.031 kB / 0.5201 GB, free: 304 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/0.109, allocations: 2.737 MB / 0.5228 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/0.1133, allocations: 1.851 MB / 0.5246 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009517/0.1143, allocations: 0.8139 MB / 0.5254 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005471/0.1148, allocations: 220 kB / 0.5256 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007208/0.1221, allocations: 3.101 MB / 0.5286 GB, free: 7.281 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.1221, allocations: 0 / 0.5286 GB, free: 7.281 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.1224, allocations: 80 kB / 0.5287 GB, free: 7.203 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.1224, allocations: 55.94 kB / 0.5287 GB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006601/0.129, allocations: 2.69 MB / 0.5314 GB, free: 4.43 MB / 458.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.021/0.15, allocations: 8.118 MB / 0.5393 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.1607, allocations: 3.139 MB / 0.5424 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004674/0.1654, allocations: 1.796 MB / 0.5441 GB, free: 7.148 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.1657, allocations: 49.98 kB / 0.5442 GB, free: 7.102 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005506/0.1712, allocations: 2.305 MB / 0.5464 GB, free: 4.758 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.48e-06/0.1712, allocations: 0 / 0.5464 GB, free: 4.758 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.1202/0.2914, allocations: 24.3 MB / 0.5701 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.2916, allocations: 188.2 kB / 0.5703 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/0.296, allocations: 2.674 MB / 0.5729 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005913/0.2966, allocations: 69.7 kB / 0.573 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.298, allocations: 1.364 MB / 0.5743 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001523/0.2996, allocations: 0.9648 MB / 0.5753 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.301, allocations: 0.6629 MB / 0.5759 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004535/0.3015, allocations: 476.8 kB / 0.5764 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004842/0.3063, allocations: 1.938 MB / 0.5783 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006207/0.3125, allocations: 2.476 MB / 0.5807 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/0.3284, allocations: 7.037 MB / 0.5876 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.3284, allocations: 0 / 0.5876 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.1887/0.5171, allocations: 11.34 MB / 0.5986 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.538e-05/0.5172, allocations: 116.5 kB / 0.5987 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.5172, allocations: 9.188 kB / 0.5988 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02869/0.5459, allocations: 6.548 MB / 0.6051 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.5492, allocations: 0.5747 MB / 0.6057 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05411/0.6033, allocations: 21.74 MB / 0.6269 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/0.6075, allocations: 415 kB / 0.6273 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000572/0.6081, allocations: 120.9 kB / 0.6274 GB, free: 145.6 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 (328): * Single equations (assignments): 323 * 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.001735/0.6098, allocations: 0.5618 MB / 0.628 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/0.6109, allocations: 386 kB / 0.6284 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03412/0.645, allocations: 10.57 MB / 0.6387 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.645, allocations: 24 kB / 0.6387 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/0.645, allocations: 24 kB / 0.6387 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/0.6451, allocations: 11.39 kB / 0.6387 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03748/0.6826, allocations: 13.46 MB / 0.6519 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.6826, allocations: 4 kB / 0.6519 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.6842, allocations: 251.7 kB / 0.6521 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02916/0.7134, allocations: 6.605 MB / 0.6586 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007397/0.7141, allocations: 49.48 kB / 0.6586 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04966/0.7638, allocations: 24.5 MB / 0.6826 GB, free: 97.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7638, allocations: 0 / 0.6826 GB, free: 97.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03756/0.8013, allocations: 13.01 MB / 0.6953 GB, free: 84.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008619/0.8022, allocations: 353.2 kB / 0.6956 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005238/0.8027, allocations: 48.47 kB / 0.6956 GB, free: 84.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/0.8055, allocations: 223.5 kB / 0.6959 GB, free: 84.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001619/0.8071, allocations: 0.6111 MB / 0.6965 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/0.8073, allocations: 63.98 kB / 0.6965 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001808/0.8091, allocations: 1.624 MB / 0.6981 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8091, allocations: 1.203 kB / 0.6981 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002886/0.812, allocations: 1.18 MB / 0.6993 GB, free: 80.73 MB / 0.5105 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.0003926/0.8124, allocations: 180.1 kB / 0.6994 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0152/0.8276, allocations: 6.377 MB / 0.7057 GB, free: 74.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8276, allocations: 0 / 0.7057 GB, free: 74.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01128/0.8389, allocations: 4.296 MB / 0.7098 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.841, allocations: 326.4 kB / 0.7102 GB, free: 69.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008276/0.8493, allocations: 5.473 MB / 0.7155 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.8501, allocations: 1.254 MB / 0.7167 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009947/0.8511, allocations: 262.5 kB / 0.717 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.8517, allocations: 180.5 kB / 0.7171 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/0.8517, allocations: 0 / 0.7171 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.0848/0.9365, allocations: 73.21 MB / 0.7886 GB, free: 5.156 MB / 0.5261 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.7412809379166]