Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadModel(PowerSystems): time 2.222/2.222, allocations: 232.9 MB / 248.1 MB, free: 11.31 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.352e-05, allocations: 4 kB / 304.4 MB, free: 2.941 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.338, allocations: 53.23 MB / 357.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009859/0.3479, allocations: 6.382 MB / 364 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008204/0.3562, allocations: 3.778 MB / 367.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006715/0.3569, allocations: 19.94 kB / 367.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.3575, allocations: 155 kB / 367.9 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.3604, allocations: 0.6269 MB / 368.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3615, allocations: 243.3 kB / 368.8 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.3627, allocations: 383.2 kB / 369.2 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.3658, allocations: 1.197 MB / 370.4 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000963/0.3668, allocations: 338.9 kB / 370.7 MB, free: 2.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008023/0.3676, allocations: 355.1 kB / 371 MB, free: 2.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.371, allocations: 0.8577 MB / 371.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005167/0.3716, allocations: 48 kB / 371.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007727/0.3723, allocations: 494.9 kB / 372.4 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.3728, allocations: 104 kB / 372.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.3758, allocations: 1.337 MB / 373.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3758, allocations: 0 / 373.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3759, allocations: 0 / 373.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.058e-05/0.3759, allocations: 0 / 373.9 MB, free: 15.25 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002879/0.3788, allocations: 1.128 MB / 375 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3789, allocations: 8.031 kB / 375 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00705/0.3859, allocations: 0.6307 MB / 375.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.3876, allocations: 0.5432 MB / 376.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.761e-05/0.3877, allocations: 62 kB / 376.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.3881, allocations: 87.94 kB / 376.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004241/0.3923, allocations: 1.465 MB / 377.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.535e-05/0.3924, allocations: 0 / 377.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.3926, allocations: 35.98 kB / 377.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/0.3928, allocations: 102 kB / 377.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/0.3973, allocations: 1.484 MB / 379.4 MB, free: 9.566 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.4116, allocations: 4.88 MB / 384.3 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.4152, allocations: 1.159 MB / 385.4 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.4154, allocations: 21.11 kB / 385.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.4155, allocations: 43.84 kB / 385.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 3.607e-06/0.4155, allocations: 0 / 385.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=108): time 0.01487/0.4304, allocations: 3.605 MB / 389.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.4305, allocations: 94.11 kB / 389.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.4313, allocations: 420.9 kB / 389.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002318/0.4316, allocations: 41.7 kB / 389.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.4319, allocations: 465.9 kB / 390.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005885/0.4325, allocations: 374.5 kB / 390.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4327, allocations: 24 kB / 390.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4329, allocations: 350.8 kB / 390.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.4344, allocations: 0.5179 MB / 391.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.4364, allocations: 0.7461 MB / 392.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.4384, allocations: 0.6393 MB / 392.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.4384, allocations: 4 kB / 392.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005932/0.4444, allocations: 1.751 MB / 394.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.4445, allocations: 11.95 kB / 394.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.4445, allocations: 4 kB / 394.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.4466, allocations: 413.7 kB / 394.9 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.4487, allocations: 235.6 kB / 395.1 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.4607, allocations: 5.736 MB / 400.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.4622, allocations: 67.92 kB / 400.9 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.4623, allocations: 40 kB / 401 MB, free: 3.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008634/0.4632, allocations: 365.2 kB / 401.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.4635, allocations: 71.16 kB / 401.4 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005343/0.4688, allocations: 1.787 MB / 403.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/0.4689, allocations: 15.98 kB / 403.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.4689, allocations: 7.953 kB / 403.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.107e-05/0.469, allocations: 11.97 kB / 403.2 MB, free: 0.9688 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.48, allocations: 3.435 MB / 406.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/0.4801, allocations: 4 kB / 406.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.4818, allocations: 184.2 kB / 406.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/0.4837, allocations: 349.4 kB / 407.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/0.484, allocations: 27.94 kB / 407.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.4958, allocations: 5.459 MB / 412.7 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.4959, allocations: 4 kB / 412.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.5013, allocations: 1.969 MB / 414.6 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.5018, allocations: 160.1 kB / 414.8 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/0.5022, allocations: 24 kB / 414.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.5033, allocations: 55.94 kB / 414.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.5037, allocations: 92.83 kB / 415 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.5038, allocations: 39.88 kB / 415 MB, free: 4.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006067/0.5044, allocations: 323.1 kB / 415.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5044, allocations: 0 / 415.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00186/0.5063, allocations: 396 kB / 415.7 MB, free: 3.879 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003011/0.5066, allocations: 139.1 kB / 415.9 MB, free: 3.734 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004675/0.5113, allocations: 1.709 MB / 417.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.5114, allocations: 0 / 417.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.5145, allocations: 1.062 MB / 418.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5156, allocations: 98.92 kB / 418.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.5222, allocations: 2.676 MB / 421.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.5236, allocations: 1.2 MB / 422.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/0.5242, allocations: 67.42 kB / 422.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of SimCode: time 3.136e-06/0.5242, allocations: 0 / 422.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of Templates: time 0.03767/0.5619, allocations: 17.31 MB / 440 MB, free: 11.41 MB / 378.7 MB