Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadModel(PowerSystems): time 2.244/2.244, allocations: 233 MB / 246.1 MB, free: 14.87 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.519e-05, allocations: 7.938 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09173, allocations: 53.24 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.4999, allocations: 89.33 MB / 444.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.5002, allocations: 83.95 kB / 444.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02807/0.5283, allocations: 6.631 MB / 451.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.711e-06/0.5284, allocations: 0 / 451.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.5284, allocations: 8 kB / 451.5 MB, free: 5.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009628/0.5294, allocations: 0.5508 MB / 452 MB, free: 5.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5294, allocations: 8.031 kB / 452 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.5295, allocations: 35.62 kB / 452.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.5313, allocations: 0.5953 MB / 452.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.5314, allocations: 20.56 kB / 452.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.5315, allocations: 24.52 kB / 452.7 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.5321, allocations: 311.8 kB / 453 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5321, allocations: 7.891 kB / 453 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.5322, allocations: 8 kB / 453 MB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.612e-06/0.5322, allocations: 8 kB / 453.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.5327, allocations: 204.7 kB / 453.3 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.5348, allocations: 1.341 MB / 454.6 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.5352, allocations: 141.2 kB / 454.7 MB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.5354, allocations: 57.77 kB / 454.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5354, allocations: 8 kB / 454.8 MB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.5355, allocations: 30.78 kB / 454.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 5.847e-06/0.5355, allocations: 0.5625 kB / 454.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008651/0.5363, allocations: 319.5 kB / 455.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.5364, allocations: 81.11 kB / 455.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.5368, allocations: 227.4 kB / 455.4 MB, free: 1.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.5368, allocations: 33.7 kB / 455.5 MB, free: 1.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.537, allocations: 195.6 kB / 455.7 MB, free: 1.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.5371, allocations: 52.7 kB / 455.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.5371, allocations: 4 kB / 455.7 MB, free: 1.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5373, allocations: 334.8 kB / 456 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.5374, allocations: 51.98 kB / 456.1 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.5376, allocations: 148.7 kB / 456.2 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.5378, allocations: 75.95 kB / 456.3 MB, free: 0.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-06/0.5378, allocations: 4 kB / 456.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005282/0.5384, allocations: 235 kB / 456.5 MB, free: 268 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5384, allocations: 8 kB / 456.6 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.479e-06/0.5384, allocations: 0 / 456.6 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.5385, allocations: 12.39 kB / 456.6 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.5387, allocations: 51.91 kB / 456.6 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.5388, allocations: 11.92 kB / 456.6 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.539, allocations: 8 kB / 456.6 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.539, allocations: 11.94 kB / 456.6 MB, free: 164 kB / 378.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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.5391, allocations: 122.3 kB / 456.8 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.5392, allocations: 27.7 kB / 456.8 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.5397, allocations: 191.4 kB / 457 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5397, allocations: 7.953 kB / 457 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5397, allocations: 0 / 457 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.258e-06/0.5398, allocations: 4 kB / 457 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.5407, allocations: 0.5499 MB / 457.5 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.722e-06/0.5408, allocations: 3.984 kB / 457.5 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.541, allocations: 31.92 kB / 457.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.843e-06/0.541, allocations: 3.953 kB / 457.6 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.541, allocations: 8 kB / 457.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.541, allocations: 0 / 457.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.138e-06/0.541, allocations: 4.031 kB / 457.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.5415, allocations: 309.9 kB / 457.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.5416, allocations: 108.8 kB / 458 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.5417, allocations: 1.406 kB / 458 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.5419, allocations: 8 kB / 458 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.5419, allocations: 11.98 kB / 458 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.542, allocations: 7.938 kB / 458 MB, free: 14.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002299/0.5422, allocations: 179.1 kB / 458.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.5422, allocations: 0 / 458.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004829/0.5427, allocations: 56 kB / 458.3 MB, free: 14.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.5429, allocations: 115.2 kB / 458.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.5433, allocations: 147.8 kB / 458.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.958e-06/0.5433, allocations: 0 / 458.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.5435, allocations: 80.55 kB / 458.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.5439, allocations: 51.22 kB / 458.6 MB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.5448, allocations: 340.4 kB / 459 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.5453, allocations: 0.7872 MB / 459.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.5455, allocations: 38.05 kB / 459.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.5456, allocations: 31.42 kB / 459.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.459e-06/0.5456, allocations: 0 / 459.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of Templates: time 0.01131/0.557, allocations: 2.13 MB / 462 MB, free: 10.66 MB / 394.7 MB