Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadModel(PowerSystems): time 2.202/2.202, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.793e-05, allocations: 0 / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09166/0.09171, allocations: 53.24 MB / 354.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4655, allocations: 97.25 MB / 451.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4658, allocations: 87.95 kB / 451.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1355/0.6014, allocations: 32.5 MB / 484.3 MB, free: 3.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.6014, allocations: 4 kB / 484.3 MB, free: 3.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.304e-05/0.6015, allocations: 31.94 kB / 484.4 MB, free: 3.789 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003355/0.6049, allocations: 1.306 MB / 485.7 MB, free: 2.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6049, allocations: 8.031 kB / 485.7 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.6073, allocations: 282.3 kB / 486 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006192/0.6135, allocations: 1.76 MB / 487.7 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.6137, allocations: 86.34 kB / 487.8 MB, free: 260 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/0.614, allocations: 127.9 kB / 487.9 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.6177, allocations: 1.756 MB / 489.7 MB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.6178, allocations: 7.938 kB / 489.7 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.6179, allocations: 52 kB / 489.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/0.6181, allocations: 86.08 kB / 489.8 MB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.6212, allocations: 1.323 MB / 491.2 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.6336, allocations: 7.964 MB / 499.1 MB, free: 4.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.6354, allocations: 0.9201 MB / 0.4883 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.6365, allocations: 0.5585 MB / 0.4889 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.438e-05/0.6366, allocations: 24.75 kB / 0.4889 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.6367, allocations: 47.28 kB / 0.4889 GB, free: 2.832 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 5.119e-06/0.6367, allocations: 0 / 0.4889 GB, free: 2.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=99): time 0.005687/0.6424, allocations: 2.48 MB / 0.4914 GB, free: 304 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.6425, allocations: 85.89 kB / 0.4914 GB, free: 196 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.6437, allocations: 0.672 MB / 0.4921 GB, free: 15.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.66e-05/0.6438, allocations: 41.7 kB / 0.4921 GB, free: 15.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.6444, allocations: 0.6561 MB / 0.4928 GB, free: 14.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004033/0.6448, allocations: 358.9 kB / 0.4931 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.6449, allocations: 24 kB / 0.4931 GB, free: 14.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.6451, allocations: 366.8 kB / 0.4935 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.6462, allocations: 0.4913 MB / 0.494 GB, free: 13.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.6477, allocations: 0.9727 MB / 0.4949 GB, free: 12.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.6493, allocations: 0.6916 MB / 0.4956 GB, free: 11.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.6494, allocations: 4 kB / 0.4956 GB, free: 11.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004437/0.6538, allocations: 1.732 MB / 0.4973 GB, free: 9.934 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.6539, allocations: 16.2 kB / 0.4973 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002821/0.6567, allocations: 1.145 MB / 0.4984 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.6579, allocations: 248.5 kB / 0.4987 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.6594, allocations: 311.4 kB / 0.499 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.6656, allocations: 4.771 MB / 0.5036 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.667, allocations: 67.89 kB / 0.5037 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.6672, allocations: 63.98 kB / 0.5037 GB, free: 2.906 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003398/0.6676, allocations: 188.5 kB / 0.5039 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.6678, allocations: 98.69 kB / 0.504 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.6705, allocations: 1.151 MB / 0.5051 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/0.6706, allocations: 23.98 kB / 0.5052 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.592e-06/0.6706, allocations: 0 / 0.5052 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.6706, allocations: 3.984 kB / 0.5052 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/0.6766, allocations: 2.406 MB / 0.5075 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.702e-06/0.6767, allocations: 0 / 0.5075 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.678, allocations: 199.7 kB / 0.5077 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/0.678, allocations: 4 kB / 0.5077 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.434e-05/0.6782, allocations: 27.98 kB / 0.5077 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.6782, allocations: 8 kB / 0.5077 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.089e-06/0.6782, allocations: 7.953 kB / 0.5078 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/0.6817, allocations: 1.781 MB / 0.5095 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.6821, allocations: 171.9 kB / 0.5097 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.6824, allocations: 23.94 kB / 0.5097 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.6831, allocations: 48.55 kB / 0.5097 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.6833, allocations: 56.75 kB / 0.5098 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/0.6834, allocations: 27.98 kB / 0.5098 GB, free: 12.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009336/0.6843, allocations: 0.503 MB / 0.5103 GB, free: 12 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.6843, allocations: 0 / 0.5103 GB, free: 12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001641/0.686, allocations: 339.9 kB / 0.5106 GB, free: 11.67 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 4 * 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.0004486/0.6865, allocations: 220.8 kB / 0.5108 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00331/0.6898, allocations: 1.544 MB / 0.5123 GB, free: 9.871 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.937e-06/0.6898, allocations: 0 / 0.5123 GB, free: 9.871 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.6909, allocations: 0.4921 MB / 0.5128 GB, free: 9.379 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6919, allocations: 158.3 kB / 0.513 GB, free: 9.223 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.6972, allocations: 2.51 MB / 0.5154 GB, free: 6.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.6986, allocations: 1.276 MB / 0.5167 GB, free: 5.355 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/0.6992, allocations: 91.42 kB / 0.5168 GB, free: 5.266 MB / 458.7 MB Notification: Performance of SimCode: time 2.311e-06/0.6992, allocations: 4 kB / 0.5168 GB, free: 5.262 MB / 458.7 MB Notification: Performance of Templates: time 0.2776/0.9768, allocations: 20.41 MB / 0.5367 GB, free: 125.1 MB / 458.7 MB