Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadModel(PowerSystems): time 2.467/2.467, allocations: 233 MB / 246.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/4.141e-05, allocations: 4 kB / 302.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09387, allocations: 53.23 MB / 355.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4674, allocations: 94.33 MB / 449.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4677, allocations: 81.89 kB / 449.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07996/0.5477, allocations: 19.22 MB / 469.1 MB, free: 4.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.887e-06/0.5478, allocations: 4 kB / 469.1 MB, free: 4.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.467e-05/0.5478, allocations: 19.98 kB / 469.1 MB, free: 4.055 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.001977/0.5498, allocations: 0.889 MB / 470 MB, free: 3.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5499, allocations: 12.03 kB / 470 MB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.5508, allocations: 138.9 kB / 470.1 MB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.5536, allocations: 0.8634 MB / 471 MB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.5537, allocations: 62.55 kB / 471 MB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.5539, allocations: 76 kB / 471.1 MB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.5561, allocations: 1.076 MB / 472.2 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.5561, allocations: 15.88 kB / 472.2 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.5563, allocations: 28 kB / 472.2 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.962e-05/0.5564, allocations: 49.98 kB / 472.3 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.5581, allocations: 0.7623 MB / 473.1 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007443/0.5656, allocations: 5.001 MB / 478.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/0.5665, allocations: 393.8 kB / 478.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.567, allocations: 218.4 kB / 478.6 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.5671, allocations: 12.31 kB / 478.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.5671, allocations: 38.89 kB / 478.7 MB, free: 9.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 6.304e-06/0.5671, allocations: 0 / 478.7 MB, free: 9.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.002266/0.5694, allocations: 0.9159 MB / 479.6 MB, free: 9.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.5695, allocations: 81.11 kB / 479.7 MB, free: 8.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.5702, allocations: 435.6 kB / 480.1 MB, free: 8.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.5703, allocations: 37.7 kB / 480.2 MB, free: 8.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.5707, allocations: 449.7 kB / 480.6 MB, free: 8.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.5709, allocations: 173.6 kB / 480.8 MB, free: 7.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.571, allocations: 25.28 kB / 480.8 MB, free: 7.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.5712, allocations: 370.8 kB / 481.2 MB, free: 7.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.5717, allocations: 233.7 kB / 481.4 MB, free: 7.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008225/0.5725, allocations: 0.6027 MB / 482 MB, free: 6.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007417/0.5733, allocations: 371.3 kB / 482.3 MB, free: 6.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.5733, allocations: 4 kB / 482.4 MB, free: 6.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001906/0.5752, allocations: 0.8488 MB / 483.2 MB, free: 5.223 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.5753, allocations: 16.25 kB / 483.2 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.5753, allocations: 12 kB / 483.2 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.773e-05/0.5754, allocations: 20 kB / 483.2 MB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.5764, allocations: 199.6 kB / 483.4 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-05/0.5764, allocations: 27.92 kB / 483.5 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.5771, allocations: 47.88 kB / 483.5 MB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/0.5772, allocations: 44 kB / 483.6 MB, free: 4.863 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.0001959/0.5774, allocations: 164.5 kB / 483.7 MB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.5775, allocations: 63.28 kB / 483.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.5789, allocations: 0.5381 MB / 484.3 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/0.5789, allocations: 12 kB / 484.3 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.406e-06/0.5789, allocations: 0 / 484.3 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.579, allocations: 7.984 kB / 484.3 MB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.5818, allocations: 1.318 MB / 485.7 MB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.5818, allocations: 4 kB / 485.7 MB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.5824, allocations: 108.1 kB / 485.8 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.5824, allocations: 8 kB / 485.8 MB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.5825, allocations: 16 kB / 485.8 MB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.5825, allocations: 7.938 kB / 485.8 MB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5825, allocations: 0 / 485.8 MB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.5838, allocations: 0.7675 MB / 486.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.5841, allocations: 136.3 kB / 486.7 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.5842, allocations: 11.98 kB / 486.7 MB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.5846, allocations: 23.97 kB / 486.7 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.5847, allocations: 31.97 kB / 486.8 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.5847, allocations: 19.98 kB / 486.8 MB, free: 1.426 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005292/0.5853, allocations: 321.5 kB / 487.1 MB, free: 1.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.5853, allocations: 4 kB / 487.1 MB, free: 1.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001041/0.5863, allocations: 175.9 kB / 487.3 MB, free: 0.9375 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.0002587/0.5866, allocations: 147 kB / 487.4 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.5879, allocations: 0.5953 MB / 488 MB, free: 200 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5879, allocations: 0 / 488 MB, free: 200 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.5885, allocations: 244.9 kB / 488.3 MB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/0.5892, allocations: 110 kB / 488.4 MB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.5917, allocations: 1.047 MB / 489.4 MB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/0.5926, allocations: 1.016 MB / 490.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000825/0.5935, allocations: 212.9 kB / 490.6 MB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.5937, allocations: 51.44 kB / 490.7 MB, free: 13.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.989e-06/0.5937, allocations: 4 kB / 490.7 MB, free: 13.43 MB / 426.7 MB Notification: Performance of Templates: time 0.01608/0.6098, allocations: 4.963 MB / 495.6 MB, free: 8.504 MB / 426.7 MB