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.192/2.192, allocations: 233 MB / 245.6 MB, free: 15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.104e-05, allocations: 4 kB / 301.3 MB, free: 8.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09295, allocations: 53.24 MB / 354.5 MB, free: 2.824 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4316/0.5246, allocations: 93.49 MB / 448 MB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.525, allocations: 87.95 kB / 448.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04705/0.572, allocations: 11.06 MB / 459.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.397e-06/0.5721, allocations: 0 / 459.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.438e-05/0.5721, allocations: 23.92 kB / 459.2 MB, free: 13.42 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001861/0.574, allocations: 0.7536 MB / 459.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.5741, allocations: 15.97 kB / 459.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.5743, allocations: 55.34 kB / 460 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/0.5788, allocations: 1.257 MB / 461.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.5789, allocations: 28.78 kB / 461.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.5791, allocations: 60.25 kB / 461.3 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5807, allocations: 0.7684 MB / 462.1 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5807, allocations: 3.938 kB / 462.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.5808, allocations: 16 kB / 462.1 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.5808, allocations: 16 kB / 462.1 MB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009361/0.5818, allocations: 429.3 kB / 462.5 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005367/0.5872, allocations: 2.759 MB / 465.3 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.5882, allocations: 471.2 kB / 465.8 MB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009539/0.5892, allocations: 446.2 kB / 466.2 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.5893, allocations: 4.531 kB / 466.2 MB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.5893, allocations: 38.56 kB / 466.2 MB, free: 6.102 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 3.568e-06/0.5893, allocations: 0 / 466.2 MB, free: 6.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.009592/0.5989, allocations: 3.098 MB / 469.3 MB, free: 2.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.5991, allocations: 81.11 kB / 469.4 MB, free: 2.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.5996, allocations: 338.8 kB / 469.8 MB, free: 2.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.5998, allocations: 33.7 kB / 469.8 MB, free: 2.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.6, allocations: 286.7 kB / 470.1 MB, free: 2.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.6002, allocations: 163.3 kB / 470.2 MB, free: 2.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.6003, allocations: 12 kB / 470.2 MB, free: 2.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6005, allocations: 326.8 kB / 470.6 MB, free: 1.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008458/0.6013, allocations: 436.9 kB / 471 MB, free: 1.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009394/0.6023, allocations: 0.5366 MB / 471.5 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009428/0.6033, allocations: 481.4 kB / 472 MB, free: 212 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.999e-06/0.6033, allocations: 0 / 472 MB, free: 212 kB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.007986/0.6113, allocations: 2.446 MB / 474.4 MB, free: 13.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.6113, allocations: 12.06 kB / 474.4 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6114, allocations: 7.953 kB / 474.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009658/0.621, allocations: 2.077 MB / 476.5 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.6216, allocations: 87.83 kB / 476.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.6368, allocations: 8.89 MB / 485.5 MB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.6374, allocations: 36.52 kB / 485.5 MB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.6376, allocations: 63.98 kB / 485.6 MB, free: 2.301 MB / 410.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 (48): * 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): 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 {8,6} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.6378, allocations: 136.8 kB / 485.7 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.638, allocations: 47.42 kB / 485.8 MB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0074/0.6454, allocations: 2.2 MB / 488 MB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.6454, allocations: 4 kB / 488 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6454, allocations: 4 kB / 488 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.6455, allocations: 7.922 kB / 488 MB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008854/0.6543, allocations: 2.997 MB / 491 MB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.285e-06/0.6544, allocations: 0 / 491 MB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.6547, allocations: 40.22 kB / 491 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/0.6677, allocations: 3.252 MB / 494.3 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/0.668, allocations: 103.9 kB / 494.4 MB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.6833, allocations: 8.921 MB / 0.4915 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.6834, allocations: 0 / 0.4915 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008167/0.6915, allocations: 2.633 MB / 0.4941 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.6918, allocations: 112.6 kB / 0.4942 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.692, allocations: 88.25 kB / 0.4943 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.6925, allocations: 27.95 kB / 0.4943 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.6928, allocations: 79.83 kB / 0.4944 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.6929, allocations: 72.05 kB / 0.4944 GB, free: 13.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000405/0.6934, allocations: 261.2 kB / 0.4947 GB, free: 12.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.6934, allocations: 0 / 0.4947 GB, free: 12.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00106/0.6945, allocations: 224 kB / 0.4949 GB, free: 12.68 MB / 442.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 (24): * 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): 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 {8,6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002881/0.6948, allocations: 143.3 kB / 0.495 GB, free: 12.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.698, allocations: 1.321 MB / 0.4963 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.449e-06/0.698, allocations: 0 / 0.4963 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.7003, allocations: 0.8955 MB / 0.4972 GB, free: 10.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007981/0.7011, allocations: 120.2 kB / 0.4973 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.7051, allocations: 2.047 MB / 0.4993 GB, free: 8.055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.7058, allocations: 0.9017 MB / 0.5002 GB, free: 7.125 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.7059, allocations: 39.42 kB / 0.5002 GB, free: 7.086 MB / 442.7 MB Notification: Performance of SimCode: time 1.764e-06/0.706, allocations: 0 / 0.5002 GB, free: 7.086 MB / 442.7 MB Notification: Performance of Templates: time 0.02209/0.7281, allocations: 12.83 MB / 0.5128 GB, free: 10.25 MB / 458.7 MB