Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadModel(PowerSystems): time 2.129/2.129, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.949e-05, allocations: 3.938 kB / 301.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09327, allocations: 53.25 MB / 354.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.4623, allocations: 94.32 MB / 448.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4626, allocations: 79.95 kB / 448.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07896/0.5416, allocations: 19.23 MB / 468.1 MB, free: 4.227 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.198e-06/0.5416, allocations: 4 kB / 468.1 MB, free: 4.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.929e-05/0.5417, allocations: 16 kB / 468.1 MB, free: 4.207 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002059/0.5438, allocations: 0.889 MB / 469 MB, free: 3.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5438, allocations: 12.03 kB / 469 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.5447, allocations: 138.9 kB / 469.2 MB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.5475, allocations: 0.8678 MB / 470.1 MB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/0.5476, allocations: 62 kB / 470.1 MB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.5478, allocations: 72 kB / 470.2 MB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.55, allocations: 1.075 MB / 471.3 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.5501, allocations: 7.938 kB / 471.3 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5502, allocations: 32 kB / 471.3 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.532e-05/0.5503, allocations: 45.98 kB / 471.3 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.552, allocations: 0.7626 MB / 472.1 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00732/0.5594, allocations: 5.009 MB / 477.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/0.5603, allocations: 400.4 kB / 477.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/0.5608, allocations: 214.4 kB / 477.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.5609, allocations: 8.328 kB / 477.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.5609, allocations: 38.88 kB / 477.8 MB, free: 10.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 3.988e-06/0.5609, allocations: 4 kB / 477.8 MB, free: 10.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.002238/0.5632, allocations: 0.9159 MB / 478.7 MB, free: 9.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.5633, allocations: 85.09 kB / 478.8 MB, free: 9.102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/0.564, allocations: 439.6 kB / 479.2 MB, free: 8.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.5641, allocations: 29.7 kB / 479.2 MB, free: 8.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.5644, allocations: 496.2 kB / 479.7 MB, free: 8.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.5647, allocations: 169.6 kB / 479.9 MB, free: 7.969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.5647, allocations: 16.03 kB / 479.9 MB, free: 7.953 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.5649, allocations: 342.8 kB / 480.2 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.5654, allocations: 237.7 kB / 480.5 MB, free: 7.375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.5663, allocations: 0.6105 MB / 481.1 MB, free: 6.582 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.567, allocations: 371.8 kB / 481.4 MB, free: 6.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.5671, allocations: 4 kB / 481.4 MB, free: 6.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001858/0.5689, allocations: 0.8259 MB / 482.3 MB, free: 5.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.569, allocations: 12.22 kB / 482.3 MB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.569, allocations: 16 kB / 482.3 MB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/0.5691, allocations: 23.94 kB / 482.3 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/0.57, allocations: 205.1 kB / 482.5 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/0.5701, allocations: 27.86 kB / 482.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.5708, allocations: 51.88 kB / 482.6 MB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/0.5709, allocations: 36 kB / 482.6 MB, free: 5.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (97): * Single equations (assignments): 95 * Array equations: 2 * 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.0002039/0.5711, allocations: 156.6 kB / 482.8 MB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.5712, allocations: 67.23 kB / 482.8 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5725, allocations: 0.542 MB / 483.4 MB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/0.5726, allocations: 12 kB / 483.4 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.826e-06/0.5726, allocations: 0 / 483.4 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.637e-06/0.5726, allocations: 0 / 483.4 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.5754, allocations: 1.329 MB / 484.7 MB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.45e-06/0.5755, allocations: 0 / 484.7 MB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.5761, allocations: 112.1 kB / 484.8 MB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.5761, allocations: 8 kB / 484.8 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.5762, allocations: 11.98 kB / 484.9 MB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.5762, allocations: 5.031 kB / 484.9 MB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.571e-06/0.5762, allocations: 7.938 kB / 484.9 MB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.5775, allocations: 0.7598 MB / 485.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.5778, allocations: 140.3 kB / 485.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.5779, allocations: 8 kB / 485.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.5783, allocations: 27.97 kB / 485.8 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.5784, allocations: 39.89 kB / 485.8 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.5784, allocations: 16 kB / 485.8 MB, free: 1.578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005195/0.579, allocations: 317.5 kB / 486.2 MB, free: 1.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.579, allocations: 0 / 486.2 MB, free: 1.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001061/0.58, allocations: 187.9 kB / 486.3 MB, free: 1.086 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (48): * Single equations (assignments): 45 * Array equations: 2 * 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.000272/0.5803, allocations: 152.4 kB / 486.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.5816, allocations: 0.5878 MB / 487.1 MB, free: 356 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.261e-06/0.5817, allocations: 0 / 487.1 MB, free: 356 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.5821, allocations: 243.7 kB / 487.3 MB, free: 112 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.5828, allocations: 99.03 kB / 487.4 MB, free: 12 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.5855, allocations: 1.115 MB / 488.5 MB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009103/0.5864, allocations: 1.02 MB / 489.6 MB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.5867, allocations: 59.38 kB / 489.6 MB, free: 13.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.847e-06/0.5867, allocations: 0 / 489.6 MB, free: 13.72 MB / 426.7 MB Notification: Performance of Templates: time 0.01599/0.6027, allocations: 8.217 MB / 497.8 MB, free: 5.52 MB / 426.7 MB