Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") Notification: Performance of loadModel(PowerSystems): time 2.263/2.263, allocations: 232.9 MB / 248.1 MB, free: 11.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.497e-05, allocations: 7.938 kB / 304.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3447, allocations: 53.21 MB / 357.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.007462/0.3523, allocations: 4.517 MB / 362.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.3569, allocations: 1.896 MB / 364 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.3575, allocations: 35.88 kB / 364 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.358, allocations: 87.3 kB / 364.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.3591, allocations: 279 kB / 364.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3602, allocations: 279.3 kB / 364.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.361, allocations: 384.2 kB / 365 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.3621, allocations: 482.2 kB / 365.5 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.3626, allocations: 215.3 kB / 365.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.363, allocations: 207.2 kB / 365.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.3636, allocations: 151.7 kB / 366.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.293e-05/0.3637, allocations: 24 kB / 366.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.3639, allocations: 119.6 kB / 366.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.364, allocations: 40 kB / 366.2 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3651, allocations: 0.6468 MB / 366.9 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3651, allocations: 3.938 kB / 366.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.319e-06/0.3651, allocations: 4 kB / 366.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3652, allocations: 3.938 kB / 366.9 MB, free: 6.203 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002098/0.3673, allocations: 0.786 MB / 367.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3673, allocations: 12.03 kB / 367.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.3687, allocations: 151 kB / 367.8 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.3703, allocations: 0.4889 MB / 368.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/0.3704, allocations: 40.98 kB / 368.4 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3706, allocations: 48 kB / 368.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.3726, allocations: 0.6436 MB / 369.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.3727, allocations: 3.938 kB / 369.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/0.3728, allocations: 31.95 kB / 369.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.3729, allocations: 24.98 kB / 369.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.3752, allocations: 0.605 MB / 369.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005545/0.3807, allocations: 2.481 MB / 372.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.3834, allocations: 0.6506 MB / 372.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-05/0.3835, allocations: 8 kB / 372.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.3845, allocations: 304.7 kB / 373.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 9.558e-06/0.3845, allocations: 96 / 373.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.003103/0.3877, allocations: 0.7877 MB / 374 MB, free: 14.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.3878, allocations: 136.5 kB / 374.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.3889, allocations: 425.1 kB / 374.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.481e-05/0.389, allocations: 29.7 kB / 374.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.3894, allocations: 318.6 kB / 374.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.3896, allocations: 157.9 kB / 375 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.3896, allocations: 8 kB / 375 MB, free: 13.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3898, allocations: 330.8 kB / 375.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008728/0.3907, allocations: 197 kB / 375.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/0.3916, allocations: 305.6 kB / 375.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009293/0.3926, allocations: 253.6 kB / 376.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3926, allocations: 0 / 376.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00283/0.3954, allocations: 0.7256 MB / 376.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000545/0.396, allocations: 1.167 MB / 378 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.396, allocations: 8 kB / 378 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000888/0.3969, allocations: 152.8 kB / 378.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.3977, allocations: 95.88 kB / 378.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.399, allocations: 0.7788 MB / 379 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.4, allocations: 99.36 kB / 379.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.4001, allocations: 20 kB / 379.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4001, allocations: 12.02 kB / 379.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002252/0.4024, allocations: 0.6073 MB / 379.7 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4024, allocations: 224 / 379.7 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/0.4029, allocations: 112.8 kB / 379.8 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/0.4036, allocations: 91.88 kB / 379.9 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.4073, allocations: 2.163 MB / 382.1 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.4079, allocations: 63.62 kB / 382.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.408, allocations: 19.95 kB / 382.2 MB, free: 6.184 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004548/0.4084, allocations: 197.8 kB / 382.4 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.4086, allocations: 51.52 kB / 382.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.4107, allocations: 0.5378 MB / 383 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4107, allocations: 7.953 kB / 383 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.4107, allocations: 4 kB / 383 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4107, allocations: 3.984 kB / 383 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.414, allocations: 1.162 MB / 384.1 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.414, allocations: 3.938 kB / 384.1 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000889/0.4149, allocations: 99.88 kB / 384.2 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.4151, allocations: 28.84 kB / 384.3 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.4152, allocations: 11.98 kB / 384.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.4166, allocations: 1.359 MB / 385.6 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4166, allocations: 0 / 385.6 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.4196, allocations: 0.8914 MB / 386.5 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.42, allocations: 168.3 kB / 386.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4202, allocations: 15.95 kB / 386.7 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007301/0.4209, allocations: 47.95 kB / 386.7 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.4211, allocations: 35.94 kB / 386.8 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.4211, allocations: 16 kB / 386.8 MB, free: 1.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008231/0.422, allocations: 331.1 kB / 387.1 MB, free: 0.957 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.422, allocations: 3.938 kB / 387.1 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001107/0.4231, allocations: 227.4 kB / 387.3 MB, free: 0.7305 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.4233, allocations: 107.2 kB / 387.5 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003347/0.4267, allocations: 1.002 MB / 388.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.4267, allocations: 4 kB / 388.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.4279, allocations: 351.5 kB / 388.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.4288, allocations: 92.86 kB / 388.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.4322, allocations: 1.441 MB / 390.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/0.4329, allocations: 0.8939 MB / 391.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.4332, allocations: 43.42 kB / 391.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4332, allocations: 3.938 kB / 391.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of Templates: time 0.0191/0.4523, allocations: 8.533 MB / 399.8 MB, free: 4.168 MB / 330.7 MB