Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadModel(PowerSystems): time 2.22/2.22, allocations: 233 MB / 245.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.111e-05, allocations: 4 kB / 301.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.0905, allocations: 53.24 MB / 354.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4514, allocations: 89.32 MB / 443.8 MB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4517, allocations: 87.95 kB / 443.9 MB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02831/0.4801, allocations: 6.632 MB / 450.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.424e-06/0.4801, allocations: 7.984 kB / 450.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.4801, allocations: 4 kB / 450.5 MB, free: 5.957 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.0009901/0.4811, allocations: 0.5544 MB / 451.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4812, allocations: 8.031 kB / 451.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.4813, allocations: 35.62 kB / 451.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.4832, allocations: 0.5872 MB / 451.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.4832, allocations: 20.56 kB / 451.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.4833, allocations: 16.52 kB / 451.8 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.4839, allocations: 315.7 kB / 452.1 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.484, allocations: 3.953 kB / 452.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.484, allocations: 12 kB / 452.1 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.484, allocations: 4 kB / 452.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.4845, allocations: 204.7 kB / 452.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.4867, allocations: 1.349 MB / 453.6 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.4871, allocations: 137.2 kB / 453.8 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.4872, allocations: 61.75 kB / 453.8 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.4873, allocations: 6.703 kB / 453.8 MB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4873, allocations: 38.78 kB / 453.9 MB, free: 2.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 6.186e-06/0.4874, allocations: 4 kB / 453.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008798/0.4882, allocations: 319.5 kB / 454.2 MB, free: 2.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.4883, allocations: 77.11 kB / 454.3 MB, free: 1.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.4886, allocations: 227.4 kB / 454.5 MB, free: 1.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.4887, allocations: 29.7 kB / 454.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.4889, allocations: 254.1 kB / 454.8 MB, free: 1.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.489, allocations: 47.3 kB / 454.8 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.489, allocations: 4 kB / 454.8 MB, free: 1.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4891, allocations: 322.8 kB / 455.1 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.4893, allocations: 51.98 kB / 455.2 MB, free: 1.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.4895, allocations: 148.7 kB / 455.3 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.4897, allocations: 76.55 kB / 455.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4897, allocations: 0 / 455.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004993/0.4903, allocations: 222.9 kB / 455.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4903, allocations: 8 kB / 455.6 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4903, allocations: 7.984 kB / 455.6 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4903, allocations: 7.953 kB / 455.6 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.4906, allocations: 47.91 kB / 455.7 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.4907, allocations: 4 kB / 455.7 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.4909, allocations: 12.44 kB / 455.7 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.4909, allocations: 19.94 kB / 455.7 MB, free: 444 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.0001148/0.4911, allocations: 116.9 kB / 455.8 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.4912, allocations: 27.7 kB / 455.9 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.4916, allocations: 183.5 kB / 456.1 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.727e-06/0.4917, allocations: 7.953 kB / 456.1 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.76e-06/0.4917, allocations: 0 / 456.1 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.162e-06/0.4917, allocations: 0 / 456.1 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.4927, allocations: 0.5547 MB / 456.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.838e-06/0.4927, allocations: 8 kB / 456.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.4929, allocations: 31.92 kB / 456.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.493, allocations: 7.953 kB / 456.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.493, allocations: 0 / 456.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.56e-06/0.493, allocations: 0 / 456.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.453e-06/0.493, allocations: 4 kB / 456.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.4935, allocations: 312.2 kB / 457 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.4936, allocations: 104.8 kB / 457.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.4937, allocations: 4 kB / 457.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.4939, allocations: 5.5 kB / 457.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4939, allocations: 11.92 kB / 457.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.494, allocations: 8 kB / 457.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002361/0.4942, allocations: 183.1 kB / 457.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.4942, allocations: 0 / 457.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.4948, allocations: 60 kB / 457.3 MB, free: 14.7 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.0001928/0.495, allocations: 111.2 kB / 457.4 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.4954, allocations: 150.9 kB / 457.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.994e-06/0.4954, allocations: 0 / 457.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4955, allocations: 76.03 kB / 457.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.496, allocations: 55.5 kB / 457.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008906/0.4969, allocations: 378.1 kB / 458.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.4975, allocations: 0.7951 MB / 458.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4976, allocations: 27.42 kB / 458.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.732e-06/0.4976, allocations: 0 / 458.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of Templates: time 0.006852/0.5044, allocations: 3.172 MB / 462.1 MB, free: 9.887 MB / 394.7 MB