Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadModel(PowerSystems): time 2.464/2.464, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.924e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3507, allocations: 53.23 MB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.00732/0.3581, allocations: 4.364 MB / 361.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.3616, allocations: 1.307 MB / 363.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.3621, allocations: 27.81 kB / 363.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.3625, allocations: 91.38 kB / 363.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007619/0.3632, allocations: 203.3 kB / 363.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.3639, allocations: 147.7 kB / 363.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.3644, allocations: 199.5 kB / 363.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.3655, allocations: 0.5145 MB / 364.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.366, allocations: 155.5 kB / 364.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.3665, allocations: 163.5 kB / 364.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.3668, allocations: 67.94 kB / 364.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.3668, allocations: 12 kB / 364.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.3671, allocations: 163.6 kB / 365 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.3672, allocations: 36 kB / 365 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.3679, allocations: 391 kB / 365.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3679, allocations: 3.938 kB / 365.4 MB, free: 7.602 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3679, allocations: 3.938 kB / 365.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.368, allocations: 0 / 365.4 MB, free: 7.598 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001268/0.3692, allocations: 0.598 MB / 366 MB, free: 6.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3693, allocations: 8.031 kB / 366 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009173/0.3702, allocations: 87.38 kB / 366.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/0.3712, allocations: 378.2 kB / 366.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.3713, allocations: 29 kB / 366.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.3715, allocations: 51.97 kB / 366.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3726, allocations: 472.8 kB / 367 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.3727, allocations: 3.984 kB / 367 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.3727, allocations: 12 kB / 367 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/0.3729, allocations: 28.98 kB / 367 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009391/0.3739, allocations: 343.7 kB / 367.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.3774, allocations: 1.733 MB / 369.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.3779, allocations: 153.1 kB / 369.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3779, allocations: 4.062 kB / 369.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.378, allocations: 30.56 kB / 369.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.386e-06/0.378, allocations: 0 / 369.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.002302/0.3803, allocations: 0.8874 MB / 370.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.3804, allocations: 81.06 kB / 370.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.3808, allocations: 271.7 kB / 370.5 MB, free: 2.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.3809, allocations: 29.7 kB / 370.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.3811, allocations: 309.9 kB / 370.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.3812, allocations: 67.03 kB / 370.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.3812, allocations: 8 kB / 370.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3814, allocations: 322.8 kB / 371.2 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.3817, allocations: 98 kB / 371.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.382, allocations: 197.4 kB / 371.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.3824, allocations: 136.6 kB / 371.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3824, allocations: 0 / 371.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001464/0.3839, allocations: 459.9 kB / 372.1 MB, free: 456 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3839, allocations: 8 kB / 372.1 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001012/0.385, allocations: 312.1 kB / 372.4 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000822/0.3858, allocations: 141 kB / 372.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.3862, allocations: 51.86 kB / 372.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.3907, allocations: 2.353 MB / 375 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.3911, allocations: 19.98 kB / 375 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3911, allocations: 16 kB / 375 MB, free: 13.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.3915, allocations: 193.5 kB / 375.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.3916, allocations: 27.66 kB / 375.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.3923, allocations: 272.8 kB / 375.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3923, allocations: 4 kB / 375.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3924, allocations: 0 / 375.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3924, allocations: 4 kB / 375.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.3943, allocations: 0.7351 MB / 376.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3943, allocations: 4 kB / 376.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.3947, allocations: 35.92 kB / 376.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.3949, allocations: 40.89 kB / 376.3 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.395, allocations: 4 kB / 376.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.395, allocations: 3.984 kB / 376.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.395, allocations: 4 kB / 376.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.396, allocations: 477 kB / 376.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3961, allocations: 112.7 kB / 376.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.3962, allocations: 4 kB / 376.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.3965, allocations: 7.984 kB / 376.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3965, allocations: 19.92 kB / 376.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.3966, allocations: 8 kB / 376.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003502/0.3969, allocations: 223 kB / 377.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.397, allocations: 0 / 377.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006289/0.3976, allocations: 84 kB / 377.2 MB, free: 11.01 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.3978, allocations: 107.2 kB / 377.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3989, allocations: 402.6 kB / 377.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3989, allocations: 0 / 377.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.3993, allocations: 182 kB / 377.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.3999, allocations: 69.06 kB / 378 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.4022, allocations: 1.119 MB / 379.1 MB, free: 9.062 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.4029, allocations: 0.8574 MB / 380 MB, free: 8.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.403, allocations: 23.44 kB / 380 MB, free: 8.156 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.403, allocations: 0 / 380 MB, free: 8.156 MB / 314.7 MB Notification: Performance of Templates: time 0.01307/0.4161, allocations: 5.52 MB / 385.5 MB, free: 2.629 MB / 314.7 MB