Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadModel(PowerSystems): time 2.302/2.302, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.024e-05, allocations: 4 kB / 304.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3571, allocations: 53.22 MB / 357.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.00785/0.365, allocations: 4.797 MB / 362.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.3686, allocations: 1.361 MB / 363.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.3691, allocations: 35.75 kB / 363.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.3695, allocations: 112.8 kB / 363.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009767/0.3705, allocations: 286.5 kB / 364.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.3712, allocations: 173.5 kB / 364.3 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.3718, allocations: 269.4 kB / 364.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.372, allocations: 101.5 kB / 364.7 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004415/0.3725, allocations: 195.2 kB / 364.9 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.3732, allocations: 326.9 kB / 365.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3734, allocations: 23.81 kB / 365.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.3735, allocations: 25.97 kB / 365.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.3738, allocations: 188.4 kB / 365.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.374, allocations: 46.72 kB / 365.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.3747, allocations: 482.8 kB / 366 MB, free: 8.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3747, allocations: 0 / 366 MB, free: 8.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3747, allocations: 0 / 366 MB, free: 8.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.3748, allocations: 0 / 366 MB, free: 8.195 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002264/0.377, allocations: 0.761 MB / 366.7 MB, free: 7.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3771, allocations: 12.16 kB / 366.7 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.3773, allocations: 57.8 kB / 366.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.3792, allocations: 0.5755 MB / 367.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.3792, allocations: 31.34 kB / 367.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.3794, allocations: 42.67 kB / 367.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3807, allocations: 0.553 MB / 368 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3807, allocations: 4.969 kB / 368 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.3808, allocations: 18.84 kB / 368 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006022/0.3814, allocations: 87.52 kB / 368.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.3824, allocations: 355.8 kB / 368.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/0.3873, allocations: 2.113 MB / 370.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.3888, allocations: 385.2 kB / 370.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.3888, allocations: 4.062 kB / 370.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3889, allocations: 30.56 kB / 371 MB, free: 3.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 3.106e-06/0.3889, allocations: 0 / 371 MB, free: 3.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.007889/0.3968, allocations: 2.533 MB / 373.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.3969, allocations: 81.11 kB / 373.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006062/0.3975, allocations: 340.7 kB / 373.9 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.3976, allocations: 37.73 kB / 373.9 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.3979, allocations: 286.7 kB / 374.2 MB, free: 428 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.3981, allocations: 138.1 kB / 374.4 MB, free: 288 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.3982, allocations: 12 kB / 374.4 MB, free: 276 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3984, allocations: 330.8 kB / 374.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.3991, allocations: 253 kB / 374.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007805/0.3999, allocations: 374.7 kB / 375.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.4007, allocations: 309.4 kB / 375.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4007, allocations: 0 / 375.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00286/0.4036, allocations: 0.9637 MB / 376.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4037, allocations: 8 kB / 376.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.4037, allocations: 4.375 kB / 376.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.4054, allocations: 381.7 kB / 377 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.4061, allocations: 91.84 kB / 377.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008609/0.4148, allocations: 6.308 MB / 383.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.4155, allocations: 47.92 kB / 383.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/0.4156, allocations: 20 kB / 383.4 MB, free: 6.586 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 (53): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004226/0.416, allocations: 209.6 kB / 383.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.4162, allocations: 47.39 kB / 383.7 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.4187, allocations: 0.8371 MB / 384.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4187, allocations: 4 kB / 384.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4187, allocations: 4 kB / 384.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4188, allocations: 0 / 384.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.4225, allocations: 1.414 MB / 385.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4225, allocations: 0 / 385.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.4229, allocations: 47.91 kB / 386 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/0.4251, allocations: 445.4 kB / 386.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.4252, allocations: 35.97 kB / 386.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008301/0.4336, allocations: 6.304 MB / 392.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4336, allocations: 3.938 kB / 392.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.4367, allocations: 1.148 MB / 393.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.437, allocations: 116.6 kB / 394 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.4372, allocations: 31.98 kB / 394.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.4378, allocations: 35.94 kB / 394.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.4379, allocations: 43.88 kB / 394.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/0.438, allocations: 15.98 kB / 394.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004418/0.4384, allocations: 259.1 kB / 394.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4384, allocations: 0 / 394.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009062/0.4394, allocations: 156 kB / 394.6 MB, free: 10.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002353/0.4396, allocations: 123.2 kB / 394.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.4429, allocations: 1.388 MB / 396.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.443, allocations: 384 / 396.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002588/0.4456, allocations: 1.086 MB / 397.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.4466, allocations: 109.5 kB / 397.3 MB, free: 7.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.4516, allocations: 2.244 MB / 399.5 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.4523, allocations: 0.8937 MB / 400.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4525, allocations: 39.44 kB / 400.4 MB, free: 4.527 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4525, allocations: 0 / 400.4 MB, free: 4.527 MB / 330.7 MB Notification: Performance of Templates: time 0.03049/0.4831, allocations: 16.45 MB / 416.9 MB, free: 4.07 MB / 346.7 MB