Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadModel(PowerSystems): time 2.418/2.418, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.673e-05, allocations: 7.938 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09299, allocations: 53.24 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/0.5257, allocations: 89.27 MB / 444.7 MB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.526, allocations: 87.94 kB / 444.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03719/0.5632, allocations: 9.698 MB / 454.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.383e-06/0.5633, allocations: 0 / 454.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.5633, allocations: 4 kB / 454.5 MB, free: 2.641 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007475/0.5641, allocations: 478.9 kB / 455 MB, free: 2.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5641, allocations: 8.031 kB / 455 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009508/0.5651, allocations: 83.72 kB / 455.1 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.5656, allocations: 259 kB / 455.3 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.5656, allocations: 12.33 kB / 455.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.5657, allocations: 27.88 kB / 455.3 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.5662, allocations: 244.2 kB / 455.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.5663, allocations: 11.94 kB / 455.6 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.5663, allocations: 11.98 kB / 455.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/0.5664, allocations: 16.27 kB / 455.6 MB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.5669, allocations: 204.4 kB / 455.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.569, allocations: 1.212 MB / 457 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.5693, allocations: 109.3 kB / 457.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.5694, allocations: 41.78 kB / 457.2 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.5694, allocations: 4 kB / 457.2 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.5695, allocations: 46.48 kB / 457.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.24e-06/0.5695, allocations: 0 / 457.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003766/0.5699, allocations: 121.5 kB / 457.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.57, allocations: 77.11 kB / 457.4 MB, free: 15.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.5702, allocations: 189.7 kB / 457.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5703, allocations: 25.7 kB / 457.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.5704, allocations: 155.9 kB / 457.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.5705, allocations: 39.44 kB / 457.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.5705, allocations: 4 kB / 457.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5707, allocations: 338.8 kB / 458.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.5708, allocations: 39.92 kB / 458.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.571, allocations: 110.3 kB / 458.3 MB, free: 14.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.5712, allocations: 57.06 kB / 458.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.988e-06/0.5712, allocations: 4 kB / 458.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004298/0.5716, allocations: 190.8 kB / 458.6 MB, free: 14.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5717, allocations: 8 kB / 458.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5717, allocations: 4 kB / 458.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5717, allocations: 4 kB / 458.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.572, allocations: 56.25 kB / 458.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.572, allocations: 4 kB / 458.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.5722, allocations: 23.69 kB / 458.7 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.5723, allocations: 12 kB / 458.7 MB, free: 14.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.5724, allocations: 116.9 kB / 458.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.5724, allocations: 15.81 kB / 458.8 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.5728, allocations: 131.1 kB / 458.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.927e-06/0.5728, allocations: 0 / 458.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-06/0.5728, allocations: 4 kB / 458.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5728, allocations: 7.984 kB / 458.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.5739, allocations: 0.5343 MB / 459.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.925e-06/0.5739, allocations: 7.938 kB / 459.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.5741, allocations: 28.17 kB / 459.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.941e-06/0.5741, allocations: 4 kB / 459.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5742, allocations: 4 kB / 459.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.193e-06/0.5742, allocations: 4 kB / 459.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.475e-06/0.5742, allocations: 3.938 kB / 459.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.5748, allocations: 409.2 kB / 459.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.5749, allocations: 92.91 kB / 460 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.5749, allocations: 4 kB / 460 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.5751, allocations: 11.95 kB / 460 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.5752, allocations: 11.92 kB / 460 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.5752, allocations: 8 kB / 460 MB, free: 12.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.5754, allocations: 144.6 kB / 460.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5754, allocations: 4.062 kB / 460.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000485/0.5759, allocations: 55.84 kB / 460.2 MB, free: 12.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (inertia.w,constantTorque.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.5761, allocations: 103.2 kB / 460.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.5764, allocations: 107.8 kB / 460.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5764, allocations: 0 / 460.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.5766, allocations: 52.55 kB / 460.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.5769, allocations: 32.42 kB / 460.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.5779, allocations: 412.4 kB / 460.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.5784, allocations: 0.7441 MB / 461.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.5785, allocations: 37.52 kB / 461.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.5786, allocations: 15.44 kB / 461.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5786, allocations: 0 / 461.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of Templates: time 0.005299/0.5839, allocations: 1.222 MB / 463 MB, free: 9.59 MB / 394.7 MB