Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadModel(PowerSystems): time 2.486/2.486, allocations: 232.9 MB / 248.1 MB, free: 10.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.72e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.341, allocations: 53.22 MB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009962/0.351, allocations: 6.503 MB / 364.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007397/0.3584, allocations: 3.548 MB / 367.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006065/0.3591, allocations: 19.94 kB / 367.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.3596, allocations: 147.1 kB / 367.8 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.3617, allocations: 0.4904 MB / 368.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008977/0.3626, allocations: 207.4 kB / 368.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009105/0.3635, allocations: 387.2 kB / 368.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.3641, allocations: 274.3 kB / 369.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007457/0.3648, allocations: 307 kB / 369.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.3654, allocations: 263.2 kB / 369.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.367, allocations: 450.9 kB / 370.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.3672, allocations: 20 kB / 370.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.3675, allocations: 211.5 kB / 370.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.3677, allocations: 48 kB / 370.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3691, allocations: 0.5768 MB / 371 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3691, allocations: 0 / 371 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3691, allocations: 0 / 371 MB, free: 2.008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.3691, allocations: 4 kB / 371 MB, free: 2.004 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001343/0.3705, allocations: 0.6911 MB / 371.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3705, allocations: 12.03 kB / 371.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.3728, allocations: 139.3 kB / 371.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.3734, allocations: 321.3 kB / 372.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.3735, allocations: 25 kB / 372.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.3736, allocations: 47.98 kB / 372.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3748, allocations: 0.5748 MB / 372.8 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3749, allocations: 4 kB / 372.8 MB, free: 48 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.3749, allocations: 15.98 kB / 372.8 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.3751, allocations: 36.67 kB / 372.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.3761, allocations: 390 kB / 373.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.3797, allocations: 2.603 MB / 375.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3808, allocations: 433.9 kB / 376.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3809, allocations: 4.125 kB / 376.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3809, allocations: 42.5 kB / 376.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.036e-06/0.381, allocations: 0 / 376.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002821/0.3838, allocations: 0.7529 MB / 377 MB, free: 11.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.3839, allocations: 106.8 kB / 377.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.3844, allocations: 284 kB / 377.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3844, allocations: 33.7 kB / 377.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3846, allocations: 298.2 kB / 377.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.3848, allocations: 118.3 kB / 377.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.3848, allocations: 8 kB / 377.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.385, allocations: 334.8 kB / 378.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.3853, allocations: 124.8 kB / 378.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.3858, allocations: 280 kB / 378.6 MB, free: 9.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.3862, allocations: 181.2 kB / 378.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3863, allocations: 0 / 378.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001404/0.3877, allocations: 0.5342 MB / 379.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.3877, allocations: 8 kB / 379.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3878, allocations: 4.531 kB / 379.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005135/0.3883, allocations: 116.8 kB / 379.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.3888, allocations: 79.89 kB / 379.5 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.3927, allocations: 2.385 MB / 381.9 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.3931, allocations: 43.91 kB / 381.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.3931, allocations: 16 kB / 382 MB, free: 6.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003158/0.3935, allocations: 201.5 kB / 382.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3936, allocations: 47.42 kB / 382.2 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.3937, allocations: 51.89 kB / 382.2 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3937, allocations: 4 kB / 382.3 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.3938, allocations: 4.062 kB / 382.3 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3938, allocations: 11.92 kB / 382.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.3958, allocations: 0.9261 MB / 383.2 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.3959, allocations: 4 kB / 383.2 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.3962, allocations: 35.98 kB / 383.2 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.3966, allocations: 108.8 kB / 383.3 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3967, allocations: 11.98 kB / 383.4 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003796/0.4005, allocations: 2.365 MB / 385.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.4005, allocations: 0 / 385.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.4018, allocations: 0.6722 MB / 386.4 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.402, allocations: 120.6 kB / 386.5 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.4021, allocations: 11.94 kB / 386.5 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.4024, allocations: 12 kB / 386.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.4025, allocations: 19.97 kB / 386.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4025, allocations: 8 kB / 386.6 MB, free: 1.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003386/0.4028, allocations: 223 kB / 386.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4028, allocations: 0 / 386.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009097/0.4038, allocations: 155.8 kB / 386.9 MB, free: 1.133 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001714/0.404, allocations: 111.2 kB / 387 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.4053, allocations: 0.5072 MB / 387.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4053, allocations: 4.312 kB / 387.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007404/0.4061, allocations: 346.6 kB / 387.9 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.4066, allocations: 52.03 kB / 387.9 MB, free: 96 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.4087, allocations: 1.023 MB / 389 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.4093, allocations: 0.8902 MB / 389.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.4094, allocations: 27.44 kB / 389.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4094, allocations: 0 / 389.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of Templates: time 0.0127/0.4221, allocations: 5.92 MB / 395.8 MB, free: 8.145 MB / 330.7 MB