Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadModel(PowerSystems): time 2.505/2.505, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.898e-05, allocations: 7.938 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 53.23 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5586, allocations: 93.5 MB / 448.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.5589, allocations: 83.95 kB / 449 MB, free: 8.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04766/0.6066, allocations: 11.06 MB / 460.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.005e-06/0.6067, allocations: 0 / 460.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.316e-05/0.6067, allocations: 12 kB / 460.1 MB, free: 13 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.002101/0.6088, allocations: 0.7691 MB / 460.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.6089, allocations: 8.031 kB / 460.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.6092, allocations: 51.44 kB / 460.9 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.6141, allocations: 1.265 MB / 462.2 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.6142, allocations: 29.12 kB / 462.2 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.6144, allocations: 59.8 kB / 462.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.6161, allocations: 0.7724 MB / 463 MB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.6161, allocations: 0 / 463 MB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.795e-05/0.6162, allocations: 16 kB / 463.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.6162, allocations: 11.98 kB / 463.1 MB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009663/0.6172, allocations: 433.3 kB / 463.5 MB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005692/0.6229, allocations: 2.751 MB / 466.2 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.624, allocations: 478.3 kB / 466.7 MB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000993/0.6251, allocations: 438.2 kB / 467.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.6251, allocations: 4.531 kB / 467.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.6252, allocations: 38.56 kB / 467.2 MB, free: 5.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 7.59e-06/0.6252, allocations: 0 / 467.2 MB, free: 5.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.009761/0.635, allocations: 3.101 MB / 470.3 MB, free: 2.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.6351, allocations: 89.09 kB / 470.4 MB, free: 2.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/0.6357, allocations: 333 kB / 470.7 MB, free: 2.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.6359, allocations: 33.7 kB / 470.7 MB, free: 2.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.6361, allocations: 248.1 kB / 471 MB, free: 1.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.6364, allocations: 158.1 kB / 471.1 MB, free: 1.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.6364, allocations: 12 kB / 471.1 MB, free: 1.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.6367, allocations: 354.8 kB / 471.5 MB, free: 1.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008793/0.6376, allocations: 432.9 kB / 471.9 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009589/0.6385, allocations: 0.5367 MB / 472.4 MB, free: 272 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.6396, allocations: 489.4 kB / 472.9 MB, free: 15.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.176e-06/0.6396, allocations: 4 kB / 472.9 MB, free: 15.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.008095/0.6477, allocations: 2.461 MB / 475.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.6478, allocations: 10.3 kB / 475.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.6478, allocations: 7.938 kB / 475.4 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009439/0.6572, allocations: 2.081 MB / 477.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.6578, allocations: 83.89 kB / 477.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.6736, allocations: 8.898 MB / 486.5 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.6742, allocations: 35.95 kB / 486.5 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.6744, allocations: 67.98 kB / 486.6 MB, free: 1.855 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.0002254/0.6746, allocations: 124.9 kB / 486.7 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.6748, allocations: 47.39 kB / 486.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007533/0.6823, allocations: 2.2 MB / 488.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.6824, allocations: 7.938 kB / 488.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.144e-06/0.6824, allocations: 0 / 488.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.6825, allocations: 5.391 kB / 488.9 MB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00909/0.6916, allocations: 2.99 MB / 491.9 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.6916, allocations: 0 / 491.9 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.6919, allocations: 51.94 kB / 492 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01309/0.705, allocations: 3.244 MB / 495.2 MB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002791/0.7054, allocations: 107.9 kB / 495.3 MB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/0.7212, allocations: 8.926 MB / 0.4924 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.772e-06/0.7213, allocations: 7.953 kB / 0.4924 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008274/0.7296, allocations: 2.625 MB / 0.495 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.7299, allocations: 124.6 kB / 0.4951 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.7301, allocations: 87.94 kB / 0.4952 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.7306, allocations: 28.27 kB / 0.4952 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.7309, allocations: 67.89 kB / 0.4953 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.7311, allocations: 71.91 kB / 0.4954 GB, free: 12.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004218/0.7315, allocations: 261.2 kB / 0.4956 GB, free: 12.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.7315, allocations: 1.5 kB / 0.4956 GB, free: 12.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001095/0.7326, allocations: 220 kB / 0.4958 GB, free: 12.25 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.0002995/0.7329, allocations: 155.1 kB / 0.496 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003283/0.7362, allocations: 1.31 MB / 0.4973 GB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7363, allocations: 8.125 kB / 0.4973 GB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.7386, allocations: 0.8831 MB / 0.4981 GB, free: 9.836 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.7395, allocations: 124.8 kB / 0.4983 GB, free: 9.715 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.7435, allocations: 2 MB / 0.5002 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.7443, allocations: 0.8979 MB / 0.5011 GB, free: 6.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004014/0.7447, allocations: 76.34 kB / 0.5012 GB, free: 6.672 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.7448, allocations: 35.42 kB / 0.5012 GB, free: 6.637 MB / 442.7 MB Notification: Performance of SimCode: time 1.801e-06/0.7448, allocations: 0 / 0.5012 GB, free: 6.637 MB / 442.7 MB Notification: Performance of Templates: time 0.03776/0.7826, allocations: 16.79 MB / 0.5176 GB, free: 5.852 MB / 458.7 MB