Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadModel(PowerSystems): time 2.328/2.328, allocations: 233 MB / 246.1 MB, free: 14.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.126e-05, allocations: 4 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09379, allocations: 53.23 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.5489, allocations: 94.34 MB / 449.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5492, allocations: 79.95 kB / 449.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07812/0.6273, allocations: 19.21 MB / 469.1 MB, free: 3.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6274, allocations: 3.938 kB / 469.1 MB, free: 3.938 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.6274, allocations: 16 kB / 469.1 MB, free: 3.922 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.001892/0.6293, allocations: 0.8929 MB / 470 MB, free: 2.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6294, allocations: 16.03 kB / 470 MB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.6302, allocations: 134.9 kB / 470.1 MB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.6329, allocations: 0.8712 MB / 471 MB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/0.633, allocations: 58 kB / 471 MB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.6331, allocations: 79.97 kB / 471.1 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.6353, allocations: 1.072 MB / 472.2 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.6353, allocations: 7.938 kB / 472.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.6354, allocations: 39.98 kB / 472.2 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.339e-05/0.6355, allocations: 41.98 kB / 472.3 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.6373, allocations: 0.7651 MB / 473 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007216/0.6445, allocations: 5.001 MB / 478 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.6455, allocations: 397.7 kB / 478.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.6459, allocations: 210.4 kB / 478.6 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.646, allocations: 8.312 kB / 478.7 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.996e-05/0.646, allocations: 42.89 kB / 478.7 MB, free: 9.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 4.439e-06/0.646, allocations: 0 / 478.7 MB, free: 9.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.002184/0.6482, allocations: 0.9159 MB / 479.6 MB, free: 8.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.6483, allocations: 81.11 kB / 479.7 MB, free: 8.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.649, allocations: 439.6 kB / 480.1 MB, free: 8.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.6491, allocations: 35.58 kB / 480.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.6495, allocations: 449.8 kB / 480.6 MB, free: 7.891 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.6497, allocations: 169.7 kB / 480.8 MB, free: 7.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.6497, allocations: 16 kB / 480.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.65, allocations: 366.8 kB / 481.1 MB, free: 7.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.6505, allocations: 233.7 kB / 481.4 MB, free: 7.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.6513, allocations: 0.6105 MB / 482 MB, free: 6.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.6521, allocations: 371.2 kB / 482.3 MB, free: 5.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.6521, allocations: 4 kB / 482.3 MB, free: 5.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001877/0.654, allocations: 0.853 MB / 483.2 MB, free: 5.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.654, allocations: 16.06 kB / 483.2 MB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.6541, allocations: 12 kB / 483.2 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/0.6541, allocations: 24 kB / 483.2 MB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000894/0.655, allocations: 199.7 kB / 483.4 MB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.663e-05/0.6551, allocations: 27.86 kB / 483.5 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.6557, allocations: 47.88 kB / 483.5 MB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.6558, allocations: 40 kB / 483.5 MB, free: 4.73 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.0002017/0.656, allocations: 164.5 kB / 483.7 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.6562, allocations: 59.28 kB / 483.8 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.6575, allocations: 0.542 MB / 484.3 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.544e-05/0.6575, allocations: 13.69 kB / 484.3 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.4e-06/0.6576, allocations: 0 / 484.3 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.6576, allocations: 3.984 kB / 484.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.6603, allocations: 1.33 MB / 485.7 MB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.6604, allocations: 0 / 485.7 MB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.661, allocations: 112.1 kB / 485.8 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.661, allocations: 4 kB / 485.8 MB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.6611, allocations: 12 kB / 485.8 MB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.6611, allocations: 7.938 kB / 485.8 MB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.6611, allocations: 4 kB / 485.8 MB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.6624, allocations: 0.7675 MB / 486.6 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.6626, allocations: 128.4 kB / 486.7 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/0.6627, allocations: 15.98 kB / 486.7 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.6631, allocations: 31.95 kB / 486.7 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.6632, allocations: 31.97 kB / 486.8 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.6632, allocations: 11.98 kB / 486.8 MB, free: 1.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005225/0.6638, allocations: 325.5 kB / 487.1 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.6638, allocations: 0 / 487.1 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001043/0.6649, allocations: 185.2 kB / 487.3 MB, free: 0.7969 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.0002683/0.6651, allocations: 151 kB / 487.4 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.6664, allocations: 0.5912 MB / 488 MB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.881e-06/0.6664, allocations: 0 / 488 MB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.6669, allocations: 244.9 kB / 488.3 MB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.6676, allocations: 95.75 kB / 488.3 MB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.67, allocations: 1.052 MB / 489.4 MB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009167/0.671, allocations: 1.016 MB / 490.4 MB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007921/0.6718, allocations: 224.9 kB / 490.6 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.6719, allocations: 43.44 kB / 490.7 MB, free: 13.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.672, allocations: 4 kB / 490.7 MB, free: 13.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02377/0.6957, allocations: 4.955 MB / 495.6 MB, free: 8.375 MB / 426.7 MB