Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadModel(PowerSystems): time 2.183/2.183, allocations: 233 MB / 245.6 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.14e-05, allocations: 4 kB / 301.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08885, allocations: 53.24 MB / 354.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.4587, allocations: 99.48 MB / 454 MB, free: 2.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.459, allocations: 103.9 kB / 454.1 MB, free: 2.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07148/0.5305, allocations: 17.39 MB / 471.5 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.882e-06/0.5306, allocations: 0 / 471.5 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.841e-05/0.5306, allocations: 12 kB / 471.5 MB, free: 0.7656 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001689/0.5323, allocations: 0.7733 MB / 472.3 MB, free: 15.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5324, allocations: 8.031 kB / 472.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.5338, allocations: 151.1 kB / 472.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.5382, allocations: 1.214 MB / 473.6 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.5383, allocations: 29 kB / 473.7 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.5385, allocations: 60.34 kB / 473.7 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.5402, allocations: 0.8369 MB / 474.5 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.5403, allocations: 0 / 474.5 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.5404, allocations: 16 kB / 474.6 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/0.5406, allocations: 36.77 kB / 474.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.5419, allocations: 0.5755 MB / 475.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.5564, allocations: 5.778 MB / 481 MB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.558, allocations: 0.7522 MB / 481.7 MB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.5592, allocations: 0.6396 MB / 482.3 MB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.274e-05/0.5593, allocations: 8.438 kB / 482.4 MB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5593, allocations: 39 kB / 482.4 MB, free: 5.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 4.33e-06/0.5594, allocations: 0 / 482.4 MB, free: 5.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.02009/0.5795, allocations: 5.315 MB / 487.7 MB, free: 136 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.5796, allocations: 81.55 kB / 487.8 MB, free: 36 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.5802, allocations: 355.2 kB / 488.1 MB, free: 15.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.5805, allocations: 38.36 kB / 488.2 MB, free: 15.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.5807, allocations: 362.2 kB / 488.5 MB, free: 15.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.5811, allocations: 261 kB / 488.8 MB, free: 15.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.5812, allocations: 12 kB / 488.8 MB, free: 15.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.5814, allocations: 346.8 kB / 489.1 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.5831, allocations: 0.7944 MB / 489.9 MB, free: 13.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.585, allocations: 0.9928 MB / 490.9 MB, free: 12.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.5869, allocations: 0.8963 MB / 491.8 MB, free: 11.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.33e-06/0.5869, allocations: 4 kB / 491.8 MB, free: 11.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.02097/0.6079, allocations: 5.326 MB / 497.1 MB, free: 6.543 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.6079, allocations: 8 kB / 497.1 MB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01567/0.6236, allocations: 4.246 MB / 0.4896 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02473/0.6484, allocations: 5.842 MB / 0.4953 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.6491, allocations: 117.3 kB / 0.4955 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/0.6726, allocations: 10.94 MB / 0.5061 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.6735, allocations: 63.84 kB / 0.5062 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/0.6738, allocations: 167.9 kB / 0.5064 GB, free: 1.004 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003355/0.6742, allocations: 149.5 kB / 0.5065 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.6744, allocations: 47.44 kB / 0.5066 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/0.6915, allocations: 4.06 MB / 0.5105 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.21e-05/0.6916, allocations: 12.64 kB / 0.5105 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.977e-06/0.6916, allocations: 4 kB / 0.5105 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.6916, allocations: 0 / 0.5105 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/0.7123, allocations: 5.473 MB / 0.5159 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/0.7124, allocations: 4 kB / 0.5159 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.7128, allocations: 55.89 kB / 0.5159 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2728/0.9855, allocations: 7.962 MB / 0.5237 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005139/0.9861, allocations: 235.1 kB / 0.5239 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0255/1.012, allocations: 13.63 MB / 0.5373 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.776e-06/1.012, allocations: 3.031 kB / 0.5373 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.029, allocations: 4.521 MB / 0.5417 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/1.03, allocations: 128.3 kB / 0.5418 GB, free: 132.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/1.03, allocations: 195.1 kB / 0.542 GB, free: 132.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/1.031, allocations: 46.62 kB / 0.542 GB, free: 132.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006278/1.032, allocations: 142.9 kB / 0.5422 GB, free: 132.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002945/1.032, allocations: 169 kB / 0.5423 GB, free: 132.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003996/1.032, allocations: 270 kB / 0.5426 GB, free: 132.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.74e-07/1.032, allocations: 0 / 0.5426 GB, free: 132.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001735/1.034, allocations: 387 kB / 0.5429 GB, free: 132.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000371/1.034, allocations: 166.9 kB / 0.5431 GB, free: 132 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005695/1.04, allocations: 2.367 MB / 0.5454 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.627e-06/1.04, allocations: 0 / 0.5454 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004359/1.045, allocations: 1.55 MB / 0.5469 GB, free: 130.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/1.045, allocations: 111.4 kB / 0.547 GB, free: 130.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/1.051, allocations: 3.328 MB / 0.5503 GB, free: 129.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/1.052, allocations: 0.9855 MB / 0.5512 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/1.052, allocations: 46.2 kB / 0.5513 GB, free: 128.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.75e-06/1.052, allocations: 0 / 0.5513 GB, free: 128.3 MB / 458.7 MB Notification: Performance of Templates: time 0.0317/1.084, allocations: 22.71 MB / 0.5735 GB, free: 120.7 MB / 458.7 MB