Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadModel(PowerSystems): time 2.227/2.227, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.253e-05/4.264e-05, allocations: 4 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09555, allocations: 53.25 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5328, allocations: 93.49 MB / 448.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5331, allocations: 83.95 kB / 449 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04815/0.5813, allocations: 11.06 MB / 460.1 MB, free: 13.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.162e-06/0.5813, allocations: 0 / 460.1 MB, free: 13.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.138e-05/0.5814, allocations: 16 kB / 460.1 MB, free: 13.01 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.001988/0.5834, allocations: 0.7614 MB / 460.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5835, allocations: 8.031 kB / 460.9 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.5837, allocations: 55.42 kB / 460.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/0.5886, allocations: 1.261 MB / 462.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.5887, allocations: 29.12 kB / 462.2 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.5889, allocations: 51.86 kB / 462.3 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.5905, allocations: 0.7801 MB / 463 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5906, allocations: 0 / 463 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.5906, allocations: 16 kB / 463.1 MB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.5907, allocations: 8 kB / 463.1 MB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009744/0.5917, allocations: 433.3 kB / 463.5 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/0.5972, allocations: 2.747 MB / 466.2 MB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.5984, allocations: 486.3 kB / 466.7 MB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009735/0.5994, allocations: 437.6 kB / 467.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.5994, allocations: 8.516 kB / 467.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.5995, allocations: 38.56 kB / 467.2 MB, free: 5.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 6.279e-06/0.5995, allocations: 0 / 467.2 MB, free: 5.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.009906/0.6094, allocations: 3.099 MB / 470.3 MB, free: 2.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.6096, allocations: 93.09 kB / 470.4 MB, free: 2.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.6102, allocations: 326.8 kB / 470.7 MB, free: 2.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.6103, allocations: 37.7 kB / 470.7 MB, free: 2.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.6106, allocations: 252.1 kB / 471 MB, free: 1.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.6108, allocations: 154.2 kB / 471.1 MB, free: 1.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.6109, allocations: 13.31 kB / 471.1 MB, free: 1.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.6111, allocations: 354.8 kB / 471.5 MB, free: 1.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008814/0.612, allocations: 432.9 kB / 471.9 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/0.613, allocations: 0.5366 MB / 472.4 MB, free: 284 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.614, allocations: 489.3 kB / 472.9 MB, free: 15.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.478e-06/0.6141, allocations: 4 kB / 472.9 MB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.008213/0.6223, allocations: 2.461 MB / 475.4 MB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.6224, allocations: 7.953 kB / 475.4 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.6224, allocations: 11.97 kB / 475.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009601/0.632, allocations: 2.081 MB / 477.5 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.6326, allocations: 79.89 kB / 477.6 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/0.6485, allocations: 8.894 MB / 486.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.6491, allocations: 39.95 kB / 486.5 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.6492, allocations: 71.97 kB / 486.6 MB, free: 1.863 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.0002225/0.6495, allocations: 125.4 kB / 486.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.6496, allocations: 47.39 kB / 486.7 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007666/0.6573, allocations: 2.2 MB / 488.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6574, allocations: 4 kB / 488.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-06/0.6574, allocations: 0 / 488.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.6574, allocations: 0 / 488.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/0.6666, allocations: 2.999 MB / 491.9 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.6667, allocations: 0 / 491.9 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.667, allocations: 47.94 kB / 492 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01363/0.6807, allocations: 3.244 MB / 495.2 MB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/0.681, allocations: 107.9 kB / 495.3 MB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.6971, allocations: 8.928 MB / 0.4924 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.284e-06/0.6972, allocations: 7.953 kB / 0.4925 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008509/0.7057, allocations: 2.617 MB / 0.495 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.706, allocations: 124.6 kB / 0.4951 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.7062, allocations: 83.95 kB / 0.4952 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.7067, allocations: 27.95 kB / 0.4952 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.707, allocations: 71.83 kB / 0.4953 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.7072, allocations: 71.89 kB / 0.4954 GB, free: 12.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004196/0.7076, allocations: 258.5 kB / 0.4956 GB, free: 12.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.7076, allocations: 0 / 0.4956 GB, free: 12.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001144/0.7088, allocations: 224 kB / 0.4958 GB, free: 12.27 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.0003211/0.7091, allocations: 159.2 kB / 0.496 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.7124, allocations: 1.31 MB / 0.4973 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.849e-06/0.7125, allocations: 8.062 kB / 0.4973 GB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002358/0.7149, allocations: 0.8871 MB / 0.4981 GB, free: 9.848 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/0.7157, allocations: 124.7 kB / 0.4983 GB, free: 9.727 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.7198, allocations: 1.992 MB / 0.5002 GB, free: 7.695 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/0.7206, allocations: 0.9018 MB / 0.5011 GB, free: 6.766 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004134/0.721, allocations: 76.33 kB / 0.5012 GB, free: 6.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.7211, allocations: 31.44 kB / 0.5012 GB, free: 6.656 MB / 442.7 MB Notification: Performance of SimCode: time 2.004e-06/0.7211, allocations: 0 / 0.5012 GB, free: 6.656 MB / 442.7 MB Notification: Performance of Templates: time 0.03704/0.7582, allocations: 16.78 MB / 0.5176 GB, free: 5.879 MB / 458.7 MB