Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadModel(PowerSystems): time 2.114/2.114, allocations: 233 MB / 245.6 MB, free: 14.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.171e-05, allocations: 4 kB / 301.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09084, allocations: 53.25 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.4579, allocations: 96.58 MB / 451.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4581, allocations: 86.48 kB / 451.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07306/0.5312, allocations: 15.67 MB / 466.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.861e-06/0.5313, allocations: 0 / 466.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.494e-05/0.5313, allocations: 11.94 kB / 466.9 MB, free: 5.551 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002455/0.5338, allocations: 0.7863 MB / 467.6 MB, free: 4.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.5339, allocations: 8.031 kB / 467.6 MB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.5349, allocations: 87.95 kB / 467.7 MB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.5383, allocations: 0.7011 MB / 468.4 MB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.5384, allocations: 29.12 kB / 468.5 MB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.5386, allocations: 39.94 kB / 468.5 MB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.5415, allocations: 0.8325 MB / 469.3 MB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.5415, allocations: 0 / 469.3 MB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.5417, allocations: 27.98 kB / 469.4 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002902/0.542, allocations: 53.31 kB / 469.4 MB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.5447, allocations: 0.7435 MB / 470.2 MB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007833/0.5526, allocations: 2.638 MB / 472.8 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.5546, allocations: 0.5841 MB / 473.4 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.5559, allocations: 480.3 kB / 473.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.328e-05/0.556, allocations: 4 kB / 473.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.5561, allocations: 42.83 kB / 473.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 6.026e-06/0.5561, allocations: 0 / 473.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.005279/0.5614, allocations: 1.5 MB / 475.4 MB, free: 12.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.5616, allocations: 138.8 kB / 475.5 MB, free: 12.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005813/0.5622, allocations: 246.7 kB / 475.8 MB, free: 12.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/0.5623, allocations: 33.7 kB / 475.8 MB, free: 12.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.5627, allocations: 302.8 kB / 476.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.563, allocations: 201 kB / 476.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.5631, allocations: 8 kB / 476.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.5634, allocations: 338.8 kB / 476.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.5645, allocations: 357 kB / 477 MB, free: 11.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5659, allocations: 474.6 kB / 477.4 MB, free: 10.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.5674, allocations: 474.8 kB / 477.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.64e-06/0.5675, allocations: 0 / 477.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003316/0.5708, allocations: 0.9804 MB / 478.9 MB, free: 9.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.571, allocations: 77.66 kB / 479 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.571, allocations: 4 kB / 479 MB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.5714, allocations: 32.84 kB / 479 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.5722, allocations: 87.88 kB / 479.1 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.5747, allocations: 1.441 MB / 480.5 MB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008246/0.5755, allocations: 31.95 kB / 480.6 MB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.5757, allocations: 24 kB / 480.6 MB, free: 7.227 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004814/0.5762, allocations: 210.5 kB / 480.8 MB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.5764, allocations: 40.19 kB / 480.8 MB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.5791, allocations: 1.12 MB / 481.9 MB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-05/0.5792, allocations: 15.95 kB / 482 MB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.5792, allocations: 4 kB / 482 MB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.5792, allocations: 3.984 kB / 482 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005769/0.585, allocations: 1.808 MB / 483.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.605e-06/0.5851, allocations: 0 / 483.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.5857, allocations: 57.64 kB / 483.8 MB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.586, allocations: 36.78 kB / 483.9 MB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.5861, allocations: 19.97 kB / 483.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.5885, allocations: 1.433 MB / 485.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.077e-06/0.5886, allocations: 4.031 kB / 485.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005584/0.5942, allocations: 1.251 MB / 486.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00082/0.595, allocations: 176.6 kB / 486.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.5953, allocations: 12 kB / 486.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009748/0.5963, allocations: 35.95 kB / 486.8 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.5967, allocations: 43.89 kB / 486.8 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.5969, allocations: 19.98 kB / 486.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004101/0.5974, allocations: 194.2 kB / 487 MB, free: 456 kB / 410.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.5974, allocations: 0 / 487 MB, free: 456 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009088/0.5983, allocations: 168 kB / 487.2 MB, free: 288 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003712/0.5987, allocations: 159 kB / 487.4 MB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.6015, allocations: 1.388 MB / 488.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.135e-06/0.6015, allocations: 0 / 488.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.6031, allocations: 0.932 MB / 489.7 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.6037, allocations: 63.52 kB / 489.8 MB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.6066, allocations: 1.246 MB / 491 MB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009244/0.6075, allocations: 0.918 MB / 491.9 MB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.6078, allocations: 31.44 kB / 491.9 MB, free: 11.44 MB / 426.7 MB Notification: Performance of SimCode: time 2.717e-06/0.6078, allocations: 0 / 491.9 MB, free: 11.44 MB / 426.7 MB Notification: Performance of Templates: time 0.01544/0.6232, allocations: 8.344 MB / 0.4886 GB, free: 3.098 MB / 426.7 MB