Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.001524/0.001524, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9179/0.9179, allocations: 177.1 MB / 200 MB, free: 5.52 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.001236/0.001236, allocations: 164.7 kB / 256.6 MB, free: 12.98 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.2662/0.2662, allocations: 80.23 MB / 393.4 MB, free: 2.172 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 489.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.494e-05, allocations: 7.391 kB / 489.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.014/0.01403, allocations: 20.62 MB / 0.4986 GB, free: 6.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009089/0.02312, allocations: 4.914 MB / 0.5034 GB, free: 1.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.02492, allocations: 44 kB / 0.5034 GB, free: 1.449 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.0263, allocations: 0.8806 MB / 0.5043 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003911/0.03021, allocations: 2.418 MB / 0.5066 GB, free: 14.14 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.0332, allocations: 2.052 MB / 0.5086 GB, free: 12.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004803/0.038, allocations: 5.917 MB / 0.5144 GB, free: 6.168 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.03914, allocations: 0.8689 MB / 0.5153 GB, free: 5.246 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.04361, allocations: 3.378 MB / 0.5186 GB, free: 1.859 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.04583, allocations: 2.317 MB / 0.5208 GB, free: 15.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005692/0.0464, allocations: 444 kB / 0.5213 GB, free: 15.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009886/0.04739, allocations: 0.6013 MB / 0.5218 GB, free: 14.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006881/0.04808, allocations: 1.186 MB / 0.523 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.04933, allocations: 1.74 MB / 0.5247 GB, free: 11.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.05295, allocations: 4.528 MB / 0.5291 GB, free: 7.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.05295, allocations: 0 / 0.5291 GB, free: 7.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.05295, allocations: 0 / 0.5291 GB, free: 7.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.05298, allocations: 0 / 0.5291 GB, free: 7.016 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01469/0.06767, allocations: 10.21 MB / 0.5391 GB, free: 12.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.06772, allocations: 8.031 kB / 0.5391 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.08086, allocations: 4.8 MB / 0.5438 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.08388, allocations: 2.574 MB / 0.5463 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005219/0.0844, allocations: 1.013 MB / 0.5473 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003985/0.0848, allocations: 356 kB / 0.5476 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/0.08897, allocations: 3.144 MB / 0.5507 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.08902, allocations: 0 / 0.5507 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/0.08929, allocations: 140 kB / 0.5508 GB, free: 400 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/0.08933, allocations: 91.92 kB / 0.5509 GB, free: 308 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.09246, allocations: 2.041 MB / 0.5529 GB, free: 14.25 MB / 442.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.01522/0.1077, allocations: 12.28 MB / 0.5649 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2133/0.3209, allocations: 2.569 MB / 0.5674 GB, free: 83.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003336/0.3243, allocations: 1.219 MB / 0.5686 GB, free: 83.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.3247, allocations: 82.03 kB / 0.5687 GB, free: 83.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003384/0.328, allocations: 1.854 MB / 0.5705 GB, free: 83.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=384): time 1.183e-05/0.328, allocations: 1.094 kB / 0.5705 GB, free: 83.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=384): time 0.1326/0.4606, allocations: 55.87 MB / 0.625 GB, free: 43.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.4607, allocations: 148.2 kB / 0.6252 GB, free: 42.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/0.4637, allocations: 3.015 MB / 0.6281 GB, free: 40.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008092/0.4645, allocations: 95.8 kB / 0.6282 GB, free: 40.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.4656, allocations: 2.071 MB / 0.6302 GB, free: 39.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002012/0.4676, allocations: 1.38 MB / 0.6316 GB, free: 38.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.4687, allocations: 0.6986 MB / 0.6323 GB, free: 38.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4688, allocations: 476.8 kB / 0.6327 GB, free: 37.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.4708, allocations: 1.148 MB / 0.6339 GB, free: 36.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/0.4731, allocations: 1.972 MB / 0.6358 GB, free: 34.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006187/0.4793, allocations: 4.926 MB / 0.6406 GB, free: 28.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.4793, allocations: 4 kB / 0.6406 GB, free: 28.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.02307/0.5024, allocations: 11.69 MB / 0.652 GB, free: 17.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.5024, allocations: 71.33 kB / 0.6521 GB, free: 17.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/0.5025, allocations: 16 kB / 0.6521 GB, free: 17.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02028/0.5228, allocations: 7.441 MB / 0.6594 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.5251, allocations: 0.6787 MB / 0.66 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02865/0.5538, allocations: 13.66 MB / 0.6734 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003905/0.5577, allocations: 0.535 MB / 0.6739 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004536/0.5582, allocations: 163.7 kB / 0.674 GB, free: 10.52 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (402): * Single equations (assignments): 399 * 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.00135/0.5595, allocations: 412.5 kB / 0.6744 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/0.5607, allocations: 0.5868 MB / 0.675 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02281/0.5835, allocations: 11.24 MB / 0.686 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/0.5835, allocations: 43.98 kB / 0.686 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.129e-05/0.5836, allocations: 32 kB / 0.6861 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.396e-05/0.5837, allocations: 15.94 kB / 0.6861 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0303/0.614, allocations: 14.41 MB / 0.7001 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.614, allocations: 0 / 0.7001 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.6156, allocations: 395.4 kB / 0.7005 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02185/0.6374, allocations: 7.661 MB / 0.708 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009972/0.6384, allocations: 71.98 kB / 0.7081 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02925/0.6677, allocations: 14.99 MB / 0.7227 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6677, allocations: 0 / 0.7227 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0264/0.6941, allocations: 12.54 MB / 0.735 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.6955, allocations: 0.5107 MB / 0.7355 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008009/0.6963, allocations: 64 kB / 0.7355 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/0.6983, allocations: 290.7 kB / 0.7358 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002004/0.7003, allocations: 0.7762 MB / 0.7366 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/0.7006, allocations: 91.98 kB / 0.7366 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00186/0.7024, allocations: 1.793 MB / 0.7384 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7024, allocations: 0 / 0.7384 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004376/0.7068, allocations: 1.808 MB / 0.7402 GB, free: 6.535 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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 {(100,36,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.0004932/0.7073, allocations: 206.6 kB / 0.7404 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01132/0.7186, allocations: 5.987 MB / 0.7462 GB, free: 256 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7186, allocations: 0 / 0.7462 GB, free: 256 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00907/0.7277, allocations: 4.535 MB / 0.7506 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/0.7308, allocations: 451.5 kB / 0.7511 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.7466, allocations: 7.427 MB / 0.7583 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.7477, allocations: 0.8064 MB / 0.7591 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001866/0.7495, allocations: 375.1 kB / 0.7595 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009041/0.7504, allocations: 260.4 kB / 0.7597 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of SimCode: time 3.667e-06/0.7504, allocations: 0 / 0.7597 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of Templates: time 0.2956/1.046, allocations: 105.1 MB / 0.8624 GB, free: 89.74 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.289416035171598]