Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadModel(PowerSystems): time 2.306/2.306, allocations: 232.9 MB / 248.1 MB, free: 10.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.193e-05, allocations: 3.984 kB / 304.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.343, allocations: 53.22 MB / 357.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009444/0.3526, allocations: 6.374 MB / 364 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007793/0.3604, allocations: 3.735 MB / 367.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006154/0.3611, allocations: 19.94 kB / 367.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.3616, allocations: 151.1 kB / 367.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.3641, allocations: 0.5643 MB / 368.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009476/0.3651, allocations: 219.4 kB / 368.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.3661, allocations: 387.1 kB / 369 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.369, allocations: 1.111 MB / 370.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.3699, allocations: 323 kB / 370.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.3706, allocations: 315.2 kB / 370.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.3728, allocations: 0.6822 MB / 371.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.3731, allocations: 40 kB / 371.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005682/0.3737, allocations: 387.1 kB / 371.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.374, allocations: 80 kB / 371.9 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.3763, allocations: 1.029 MB / 373 MB, free: 15.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3764, allocations: 4 kB / 373 MB, free: 15.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3764, allocations: 0 / 373 MB, free: 15.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.3764, allocations: 0 / 373 MB, free: 15.91 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002097/0.3785, allocations: 0.9488 MB / 373.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3786, allocations: 8.031 kB / 373.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/0.3838, allocations: 434.4 kB / 374.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.3851, allocations: 465.7 kB / 374.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.3852, allocations: 53.98 kB / 374.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.3854, allocations: 79.84 kB / 374.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.3884, allocations: 1.16 MB / 376.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.3884, allocations: 3.984 kB / 376.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.3886, allocations: 35.98 kB / 376.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.3887, allocations: 73.89 kB / 376.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.392, allocations: 1.233 MB / 377.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009431/0.4015, allocations: 3.523 MB / 381 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.4045, allocations: 1.067 MB / 382 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.4047, allocations: 28.92 kB / 382 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.4047, allocations: 51.56 kB / 382.1 MB, free: 6.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 3.957e-06/0.4047, allocations: 0 / 382.1 MB, free: 6.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.01162/0.4164, allocations: 3.053 MB / 385.2 MB, free: 3.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.4165, allocations: 94.03 kB / 385.2 MB, free: 3.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.417, allocations: 316.8 kB / 385.6 MB, free: 3.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.4172, allocations: 41.7 kB / 385.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.4175, allocations: 362.6 kB / 385.9 MB, free: 2.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.418, allocations: 311.4 kB / 386.3 MB, free: 2.312 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.418, allocations: 16 kB / 386.3 MB, free: 2.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4182, allocations: 350.8 kB / 386.6 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.4194, allocations: 465.8 kB / 387.1 MB, free: 1.492 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.4208, allocations: 0.5579 MB / 387.6 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.4222, allocations: 0.5456 MB / 388.2 MB, free: 368 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4222, allocations: 0 / 388.2 MB, free: 368 kB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004239/0.4264, allocations: 1.45 MB / 389.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4265, allocations: 8 kB / 389.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4265, allocations: 3.938 kB / 389.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.4282, allocations: 340.8 kB / 390 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.4297, allocations: 183.7 kB / 390.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008852/0.4386, allocations: 3.958 MB / 394.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000973/0.4396, allocations: 47.95 kB / 394.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.4398, allocations: 31.98 kB / 394.2 MB, free: 10.18 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.000614/0.4404, allocations: 301.3 kB / 394.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.4406, allocations: 55.34 kB / 394.5 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/0.4451, allocations: 1.559 MB / 396.1 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.4451, allocations: 12 kB / 396.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4451, allocations: 4 kB / 396.1 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.4452, allocations: 3.984 kB / 396.1 MB, free: 8.227 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.008631/0.4538, allocations: 3.032 MB / 399.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.4539, allocations: 8.062 kB / 399.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.4552, allocations: 167.8 kB / 399.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.4566, allocations: 280.5 kB / 399.6 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.4567, allocations: 35.94 kB / 399.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008147/0.4649, allocations: 3.691 MB / 403.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.4649, allocations: 7.938 kB / 403.3 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/0.4693, allocations: 1.77 MB / 405.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.4696, allocations: 148.3 kB / 405.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.4698, allocations: 20 kB / 405.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008056/0.4707, allocations: 43.95 kB / 405.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.4709, allocations: 80.78 kB / 405.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.471, allocations: 39.98 kB / 405.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.4715, allocations: 251.2 kB / 405.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4715, allocations: 4 kB / 405.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001278/0.4728, allocations: 304 kB / 406 MB, free: 13.91 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 (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.0002262/0.473, allocations: 135 kB / 406.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.4765, allocations: 1.389 MB / 407.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.4766, allocations: 7.938 kB / 407.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.4786, allocations: 0.84 MB / 408.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/0.4794, allocations: 83.08 kB / 408.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.484, allocations: 2.162 MB / 410.6 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009952/0.485, allocations: 1.093 MB / 411.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.4856, allocations: 71.41 kB / 411.7 MB, free: 8.008 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4856, allocations: 0 / 411.7 MB, free: 8.008 MB / 346.7 MB Notification: Performance of Templates: time 0.02505/0.5106, allocations: 11.75 MB / 423.5 MB, free: 12.23 MB / 362.7 MB