Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadModel(PowerSystems): time 2.187/2.187, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.601e-05, allocations: 4 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09043, allocations: 53.23 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.5059, allocations: 96.59 MB / 452 MB, free: 5.168 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005437/0.5065, allocations: 91.95 kB / 452.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07218/0.5787, allocations: 15.67 MB / 467.8 MB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.097e-06/0.5788, allocations: 0 / 467.8 MB, free: 5.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.5788, allocations: 11.94 kB / 467.8 MB, free: 5.254 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.001685/0.5805, allocations: 0.7824 MB / 468.6 MB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5806, allocations: 12.03 kB / 468.6 MB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.5813, allocations: 87.3 kB / 468.7 MB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.5837, allocations: 0.6933 MB / 469.4 MB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.5838, allocations: 33.11 kB / 469.4 MB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.5839, allocations: 43.95 kB / 469.4 MB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.5857, allocations: 0.8247 MB / 470.3 MB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.5857, allocations: 1.312 kB / 470.3 MB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.5858, allocations: 23.98 kB / 470.3 MB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/0.586, allocations: 60.69 kB / 470.4 MB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.5877, allocations: 0.7435 MB / 471.1 MB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005049/0.5927, allocations: 2.646 MB / 473.7 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.594, allocations: 0.5799 MB / 474.3 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.5948, allocations: 471.1 kB / 474.8 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.5949, allocations: 8 kB / 474.8 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.5949, allocations: 34.83 kB / 474.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 4.498e-06/0.595, allocations: 0 / 474.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.003378/0.5984, allocations: 1.5 MB / 476.3 MB, free: 12.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.5985, allocations: 146.8 kB / 476.5 MB, free: 12.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.5989, allocations: 243.3 kB / 476.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.599, allocations: 29.7 kB / 476.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.5993, allocations: 248.4 kB / 477 MB, free: 11.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.5995, allocations: 209 kB / 477.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.5996, allocations: 4 kB / 477.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5998, allocations: 350.8 kB / 477.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.6005, allocations: 358.2 kB / 477.9 MB, free: 10.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.6013, allocations: 478.6 kB / 478.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.6022, allocations: 482.8 kB / 478.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.477e-06/0.6022, allocations: 0 / 478.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002461/0.6047, allocations: 0.9832 MB / 479.8 MB, free: 8.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.6049, allocations: 77.69 kB / 479.9 MB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.6049, allocations: 4 kB / 479.9 MB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/0.6051, allocations: 44.81 kB / 479.9 MB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.6057, allocations: 83.88 kB / 480 MB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.6074, allocations: 1.433 MB / 481.4 MB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.608, allocations: 31.95 kB / 481.5 MB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.6081, allocations: 27.98 kB / 481.5 MB, free: 6.957 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.0003298/0.6084, allocations: 211.8 kB / 481.7 MB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6086, allocations: 43.47 kB / 481.7 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.6109, allocations: 1.112 MB / 482.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/0.611, allocations: 23.94 kB / 482.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.611, allocations: 0 / 482.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.6111, allocations: 0 / 482.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/0.6148, allocations: 1.808 MB / 484.7 MB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.207e-06/0.6149, allocations: 0 / 484.7 MB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.6153, allocations: 63.89 kB / 484.8 MB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.6155, allocations: 36.83 kB / 484.8 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/0.6156, allocations: 12 kB / 484.8 MB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.6173, allocations: 1.439 MB / 486.2 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.215e-06/0.6173, allocations: 0 / 486.2 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.6197, allocations: 1.258 MB / 487.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.6201, allocations: 176.6 kB / 487.7 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.6203, allocations: 15.98 kB / 487.7 MB, free: 464 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.6207, allocations: 31.95 kB / 487.7 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.6209, allocations: 43.89 kB / 487.8 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/0.621, allocations: 16 kB / 487.8 MB, free: 372 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002935/0.6213, allocations: 194.2 kB / 488 MB, free: 180 kB / 410.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.6213, allocations: 0 / 488 MB, free: 180 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008905/0.6222, allocations: 160 kB / 488.1 MB, free: 20 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.00038/0.6226, allocations: 163 kB / 488.3 MB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002506/0.6251, allocations: 1.396 MB / 489.7 MB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.193e-06/0.6251, allocations: 0 / 489.7 MB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.6267, allocations: 0.935 MB / 490.6 MB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.6273, allocations: 68.08 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.002619/0.63, 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.0007353/0.6307, allocations: 0.914 MB / 492.8 MB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004612/0.6312, allocations: 103.3 kB / 492.9 MB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.6314, allocations: 31.42 kB / 492.9 MB, free: 11.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.715e-06/0.6314, allocations: 0 / 492.9 MB, free: 11.12 MB / 426.7 MB Notification: Performance of Templates: time 0.01638/0.6478, allocations: 5.742 MB / 498.7 MB, free: 5.391 MB / 426.7 MB