Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadModel(PowerSystems): time 2.38/2.38, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.351e-05, allocations: 7.938 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09186, allocations: 53.23 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4652, allocations: 96.58 MB / 452 MB, free: 5.164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.4655, allocations: 91.94 kB / 452.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06659/0.5321, allocations: 15.67 MB / 467.8 MB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.092e-06/0.5321, allocations: 0 / 467.8 MB, free: 5.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.5322, allocations: 15.94 kB / 467.8 MB, free: 5.25 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.001693/0.5339, allocations: 0.7785 MB / 468.6 MB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.534, allocations: 8.031 kB / 468.6 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.5347, allocations: 87.3 kB / 468.7 MB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.537, allocations: 0.703 MB / 469.4 MB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.5371, allocations: 33.11 kB / 469.4 MB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.5373, allocations: 43.94 kB / 469.4 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.539, allocations: 0.8286 MB / 470.3 MB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.539, allocations: 0 / 470.3 MB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.5391, allocations: 23.92 kB / 470.3 MB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.5393, allocations: 60.72 kB / 470.4 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.5409, allocations: 0.7435 MB / 471.1 MB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004996/0.5459, allocations: 2.642 MB / 473.7 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.5471, allocations: 0.576 MB / 474.3 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007911/0.5479, allocations: 475.1 kB / 474.8 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.548, allocations: 7.984 kB / 474.8 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.5481, allocations: 42.83 kB / 474.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 4.188e-06/0.5481, allocations: 0 / 474.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.003295/0.5514, allocations: 1.496 MB / 476.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.5516, allocations: 138.7 kB / 476.5 MB, free: 12.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.552, allocations: 242.8 kB / 476.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.552, allocations: 37.69 kB / 476.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.5523, allocations: 252.4 kB / 477 MB, free: 11.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.5525, allocations: 197.6 kB / 477.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.5526, allocations: 11.98 kB / 477.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.5528, allocations: 350.8 kB / 477.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/0.5535, allocations: 353 kB / 477.9 MB, free: 10.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000782/0.5543, allocations: 482.6 kB / 478.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.5552, allocations: 478.8 kB / 478.8 MB, free: 9.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.146e-06/0.5552, allocations: 0.75 kB / 478.8 MB, free: 9.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002044/0.5572, allocations: 0.9866 MB / 479.8 MB, free: 8.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.5574, allocations: 73.66 kB / 479.9 MB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.5574, allocations: 4 kB / 479.9 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.5577, allocations: 45.31 kB / 479.9 MB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.5582, allocations: 79.88 kB / 480 MB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.5599, allocations: 1.441 MB / 481.4 MB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.5604, allocations: 35.95 kB / 481.5 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/0.5605, allocations: 24.84 kB / 481.5 MB, free: 6.949 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.0003101/0.5608, allocations: 202.4 kB / 481.7 MB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.561, allocations: 39.53 kB / 481.7 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.5633, allocations: 1.124 MB / 482.9 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.743e-05/0.5634, allocations: 19.95 kB / 482.9 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.724e-06/0.5634, allocations: 1.875 kB / 482.9 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5634, allocations: 7.984 kB / 482.9 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.567, allocations: 1.792 MB / 484.7 MB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.896e-06/0.567, allocations: 4 kB / 484.7 MB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.5675, allocations: 67.88 kB / 484.8 MB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.5676, allocations: 36.91 kB / 484.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/0.5677, allocations: 19.97 kB / 484.8 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.5694, allocations: 1.426 MB / 486.2 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.5694, allocations: 8.016 kB / 486.2 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.5718, allocations: 1.251 MB / 487.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.5723, allocations: 176.6 kB / 487.7 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.5724, allocations: 12 kB / 487.7 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.5728, allocations: 31.95 kB / 487.7 MB, free: 436 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.573, allocations: 43.89 kB / 487.7 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/0.5731, allocations: 27.97 kB / 487.8 MB, free: 364 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.5734, allocations: 190.2 kB / 488 MB, free: 176 kB / 410.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.5734, allocations: 4 kB / 488 MB, free: 172 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008303/0.5742, allocations: 160 kB / 488.1 MB, free: 12 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.000372/0.5746, allocations: 161.3 kB / 488.3 MB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.5771, allocations: 1.393 MB / 489.7 MB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.385e-06/0.5771, allocations: 8.062 kB / 489.7 MB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.5786, allocations: 0.9311 MB / 490.6 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.5792, allocations: 67.38 kB / 490.7 MB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.5818, allocations: 1.19 MB / 491.9 MB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.5826, allocations: 0.9102 MB / 492.8 MB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004472/0.583, allocations: 107.2 kB / 492.9 MB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.5832, allocations: 27.44 kB / 492.9 MB, free: 11.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.885e-06/0.5832, allocations: 0 / 492.9 MB, free: 11.12 MB / 426.7 MB Notification: Performance of Templates: time 0.01631/0.5995, allocations: 5.741 MB / 498.7 MB, free: 5.395 MB / 426.7 MB