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.136/2.136, allocations: 233 MB / 245.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.27e-05, allocations: 4 kB / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.0886, allocations: 53.23 MB / 354.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4554, allocations: 95.83 MB / 450.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4557, allocations: 88.64 kB / 450.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07044/0.5262, allocations: 18.43 MB / 468.8 MB, free: 3.578 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5262, allocations: 0 / 468.8 MB, free: 3.578 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.5263, allocations: 12 kB / 468.8 MB, free: 3.566 MB / 394.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.001798/0.5281, allocations: 0.8343 MB / 469.7 MB, free: 2.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5282, allocations: 8.031 kB / 469.7 MB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.5295, allocations: 155 kB / 469.8 MB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.5306, allocations: 488 kB / 470.3 MB, free: 2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.5307, allocations: 41.5 kB / 470.4 MB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.5308, allocations: 47.95 kB / 470.4 MB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.5321, allocations: 0.5754 MB / 471 MB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.5322, allocations: 0 / 471 MB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.5323, allocations: 19.98 kB / 471 MB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/0.5323, allocations: 28.92 kB / 471 MB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.5336, allocations: 493.8 kB / 471.5 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005013/0.5386, allocations: 2.517 MB / 474 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.5399, allocations: 0.5026 MB / 474.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.5403, allocations: 158.3 kB / 474.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.5404, allocations: 11.98 kB / 474.7 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/0.541, allocations: 256.2 kB / 474.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.961e-06/0.541, allocations: 0 / 474.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001138/0.5421, allocations: 393.3 kB / 475.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.5423, allocations: 136.6 kB / 475.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.543, allocations: 391 kB / 475.8 MB, free: 12.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.5431, allocations: 33.7 kB / 475.9 MB, free: 12.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.5434, allocations: 322.6 kB / 476.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5436, allocations: 134.1 kB / 476.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.5436, allocations: 12.33 kB / 476.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5438, allocations: 326.8 kB / 476.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.5442, allocations: 137.1 kB / 476.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.5446, allocations: 244.4 kB / 477 MB, free: 10.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.5451, allocations: 193.6 kB / 477.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.365e-06/0.5451, allocations: 0 / 477.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001638/0.5468, allocations: 0.5971 MB / 477.8 MB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006404/0.5474, allocations: 1.159 MB / 479 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5475, allocations: 8 kB / 479 MB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/0.5481, allocations: 120.8 kB / 479.1 MB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.5487, allocations: 91.89 kB / 479.2 MB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.5497, allocations: 0.7475 MB / 479.9 MB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.5505, allocations: 83.47 kB / 480 MB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.5506, allocations: 16 kB / 480 MB, free: 7.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5506, allocations: 8.062 kB / 480 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/0.5521, allocations: 0.5019 MB / 480.5 MB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5521, allocations: 4 kB / 480.5 MB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/0.5525, allocations: 117.1 kB / 480.7 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/0.5531, allocations: 91.88 kB / 480.7 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/0.5564, allocations: 2.117 MB / 482.9 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.5569, allocations: 59.72 kB / 482.9 MB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.557, allocations: 20 kB / 482.9 MB, free: 4.75 MB / 410.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.0002124/0.5572, allocations: 133.8 kB / 483.1 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.5574, allocations: 51.34 kB / 483.1 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.5585, allocations: 424.4 kB / 483.5 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.582e-06/0.5586, allocations: 4 kB / 483.5 MB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.669e-06/0.5586, allocations: 8 kB / 483.5 MB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5586, allocations: 0 / 483.5 MB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.5608, allocations: 1.041 MB / 484.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.023e-06/0.5608, allocations: 4 kB / 484.6 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.5615, allocations: 87.94 kB / 484.7 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.5617, allocations: 40.77 kB / 484.7 MB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.5617, allocations: 4 kB / 484.7 MB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.5631, allocations: 1.351 MB / 486.1 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.689e-06/0.5632, allocations: 4.031 kB / 486.1 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.5648, allocations: 0.7041 MB / 486.8 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.5651, allocations: 176.4 kB / 487 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.5653, allocations: 15.98 kB / 487 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.5658, allocations: 43.95 kB / 487 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.566, allocations: 31.95 kB / 487 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.566, allocations: 19.98 kB / 487.1 MB, free: 360 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005396/0.5666, allocations: 305.2 kB / 487.4 MB, free: 56 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.091e-06/0.5666, allocations: 0 / 487.4 MB, free: 56 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001151/0.5678, allocations: 243.4 kB / 487.6 MB, free: 15.81 MB / 426.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.0002333/0.568, allocations: 119.1 kB / 487.7 MB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.57, allocations: 0.8068 MB / 488.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.57, allocations: 3.938 kB / 488.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.5706, allocations: 285.6 kB / 488.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007124/0.5713, allocations: 98.45 kB / 488.9 MB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.5737, allocations: 0.9242 MB / 489.8 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.5744, allocations: 0.8945 MB / 490.7 MB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.5747, allocations: 35.44 kB / 490.8 MB, free: 12.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.66e-06/0.5747, allocations: 4 kB / 490.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of Templates: time 0.01579/0.5905, allocations: 8.51 MB / 499.3 MB, free: 4.039 MB / 426.7 MB