Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadModel(PowerSystems): time 2.392/2.392, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.544e-05, allocations: 0 / 304.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3665, allocations: 53.21 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.01011/0.3767, allocations: 6.426 MB / 364 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008168/0.3849, allocations: 3.744 MB / 367.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006375/0.3856, allocations: 18.62 kB / 367.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.3862, allocations: 147.9 kB / 367.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.3887, allocations: 0.5709 MB / 368.5 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.3898, allocations: 212.2 kB / 368.7 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.3908, allocations: 383.9 kB / 369.1 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.3938, allocations: 1.12 MB / 370.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3949, allocations: 332.4 kB / 370.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007262/0.3956, allocations: 313.9 kB / 370.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.3981, allocations: 0.6825 MB / 371.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003497/0.3985, allocations: 40 kB / 371.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006509/0.3991, allocations: 383.2 kB / 371.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.3995, allocations: 76 kB / 372 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.402, allocations: 1.029 MB / 373 MB, free: 2.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4021, allocations: 4 kB / 373 MB, free: 2.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4021, allocations: 0 / 373 MB, free: 2.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.4021, allocations: 0 / 373 MB, free: 2.07 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002245/0.4044, allocations: 0.9527 MB / 374 MB, free: 1.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4044, allocations: 12.03 kB / 374 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/0.4096, allocations: 430.4 kB / 374.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.411, allocations: 461.7 kB / 374.9 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.4111, allocations: 53.98 kB / 374.9 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.4113, allocations: 79.84 kB / 375 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.4144, allocations: 1.156 MB / 376.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.4144, allocations: 7.938 kB / 376.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.4146, allocations: 31.97 kB / 376.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.4148, allocations: 77.95 kB / 376.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003283/0.4181, allocations: 1.233 MB / 377.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009296/0.4274, allocations: 3.525 MB / 381 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.4304, allocations: 1.072 MB / 382.1 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.4306, allocations: 28.94 kB / 382.1 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.4306, allocations: 43.56 kB / 382.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 4.328e-06/0.4306, allocations: 4 kB / 382.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.01174/0.4424, allocations: 3.061 MB / 385.2 MB, free: 5.605 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.4425, allocations: 86.11 kB / 385.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.4431, allocations: 324.8 kB / 385.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.4433, allocations: 37.7 kB / 385.7 MB, free: 5.137 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.4436, allocations: 354.6 kB / 386 MB, free: 4.785 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005597/0.4442, allocations: 315.4 kB / 386.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.4443, allocations: 24.03 kB / 386.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4445, allocations: 338.8 kB / 386.7 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.4458, allocations: 473.7 kB / 387.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.4471, allocations: 0.5578 MB / 387.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.4487, allocations: 0.5418 MB / 388.2 MB, free: 2.516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4488, allocations: 0 / 388.2 MB, free: 2.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004491/0.4533, allocations: 1.458 MB / 389.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.4534, allocations: 4 kB / 389.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4534, allocations: 4 kB / 389.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.4551, allocations: 336.6 kB / 390 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.4566, allocations: 183.7 kB / 390.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009213/0.4659, allocations: 3.962 MB / 394.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009677/0.4669, allocations: 47.94 kB / 394.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.467, allocations: 35.98 kB / 394.2 MB, free: 12.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006304/0.4677, allocations: 297.3 kB / 394.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.4678, allocations: 55.41 kB / 394.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.4724, allocations: 1.559 MB / 396.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.4725, allocations: 12 kB / 396.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4725, allocations: 8 kB / 396.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.4726, allocations: 7.969 kB / 396.2 MB, free: 10.37 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.008691/0.4813, allocations: 3.024 MB / 399.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.4813, allocations: 4 kB / 399.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.4827, allocations: 163.8 kB / 399.4 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.4842, allocations: 284.8 kB / 399.6 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/0.4844, allocations: 31.94 kB / 399.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008352/0.4927, allocations: 3.71 MB / 403.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.4928, allocations: 4 kB / 403.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.4972, allocations: 1.75 MB / 405.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.4976, allocations: 156.3 kB / 405.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.4978, allocations: 23.94 kB / 405.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/0.4986, allocations: 35.97 kB / 405.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.4988, allocations: 80.84 kB / 405.4 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.4989, allocations: 43.92 kB / 405.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000443/0.4994, allocations: 255.1 kB / 405.7 MB, free: 376 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4994, allocations: 0 / 405.7 MB, free: 376 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.00137/0.5008, allocations: 308 kB / 406 MB, free: 68 kB / 330.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 (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/0.5011, allocations: 131.2 kB / 406.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.5048, allocations: 1.377 MB / 407.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.5049, allocations: 0.5625 kB / 407.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.5071, allocations: 0.8507 MB / 408.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009088/0.5081, allocations: 87.27 kB / 408.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.5133, allocations: 2.165 MB / 410.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.5145, allocations: 1.085 MB / 411.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.515, allocations: 71.39 kB / 411.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of SimCode: time 8.797e-06/0.515, allocations: 0 / 411.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of Templates: time 0.02767/0.5427, allocations: 11.75 MB / 423.5 MB, free: 14.39 MB / 362.7 MB