Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.33/2.33, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.106e-05, allocations: 4 kB / 302.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 53.24 MB / 355.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5778, allocations: 96.59 MB / 452.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.5782, allocations: 87.95 kB / 452.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07632/0.6545, allocations: 15.67 MB / 467.9 MB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6546, allocations: 4 kB / 467.9 MB, free: 5.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.695e-05/0.6546, allocations: 12 kB / 467.9 MB, free: 5.238 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.001901/0.6565, allocations: 0.7862 MB / 468.7 MB, free: 4.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.6566, allocations: 8.031 kB / 468.7 MB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.6568, allocations: 99.06 kB / 468.8 MB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000717/0.6575, allocations: 87.3 kB / 468.9 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.6599, allocations: 0.6973 MB / 469.6 MB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.6599, allocations: 29.12 kB / 469.6 MB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.6601, allocations: 43.94 kB / 469.6 MB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.6619, allocations: 0.8286 MB / 470.5 MB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.6619, allocations: 9.156 kB / 470.5 MB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.662, allocations: 16 kB / 470.5 MB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/0.6623, allocations: 60.73 kB / 470.5 MB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.6641, allocations: 0.7474 MB / 471.3 MB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.6695, allocations: 2.642 MB / 473.9 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.6709, allocations: 0.5721 MB / 474.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009154/0.6719, allocations: 479.1 kB / 475 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.644e-05/0.6719, allocations: 11.98 kB / 475 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.672, allocations: 34.81 kB / 475 MB, free: 13.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 4.037e-06/0.672, allocations: 0 / 475 MB, free: 13.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.003605/0.6756, allocations: 1.496 MB / 476.5 MB, free: 12.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6758, allocations: 144.2 kB / 476.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.6762, allocations: 242.8 kB / 476.9 MB, free: 11.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.6762, allocations: 29.7 kB / 476.9 MB, free: 11.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.6765, allocations: 252.4 kB / 477.2 MB, free: 11.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.6767, allocations: 205 kB / 477.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.6768, allocations: 4 kB / 477.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.677, allocations: 350.8 kB / 477.7 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.6782, allocations: 357 kB / 478.1 MB, free: 10.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.6794, allocations: 478.6 kB / 478.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6804, allocations: 482.8 kB / 479 MB, free: 9.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.6804, allocations: 4 kB / 479 MB, free: 9.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002306/0.6827, allocations: 0.9871 MB / 480 MB, free: 8.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.6829, allocations: 73.66 kB / 480.1 MB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.6829, allocations: 4 kB / 480.1 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.6832, allocations: 40.84 kB / 480.1 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.6839, allocations: 87.75 kB / 480.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.6855, allocations: 1.445 MB / 481.6 MB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.6861, allocations: 35.97 kB / 481.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.6862, allocations: 23.98 kB / 481.7 MB, free: 6.82 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.0003127/0.6865, allocations: 202.5 kB / 481.9 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6867, allocations: 43.59 kB / 481.9 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.6893, allocations: 1.12 MB / 483.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-05/0.6894, allocations: 23.94 kB / 483.1 MB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6894, allocations: 0 / 483.1 MB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.6894, allocations: 3.984 kB / 483.1 MB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/0.6933, allocations: 1.796 MB / 484.9 MB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6933, allocations: 0 / 484.9 MB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.6939, allocations: 63.89 kB / 484.9 MB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.694, allocations: 36.83 kB / 485 MB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/0.6941, allocations: 8 kB / 485 MB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.6957, allocations: 1.433 MB / 486.4 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6957, allocations: 3.938 kB / 486.4 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.6982, allocations: 1.254 MB / 487.7 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.6986, allocations: 180.5 kB / 487.9 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.6987, allocations: 16 kB / 487.9 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.6992, allocations: 31.95 kB / 487.9 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.6994, allocations: 39.95 kB / 487.9 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.6995, allocations: 19.98 kB / 488 MB, free: 244 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002759/0.6998, allocations: 190.2 kB / 488.2 MB, free: 56 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.879e-06/0.6998, allocations: 0 / 488.2 MB, free: 56 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008809/0.7007, allocations: 164 kB / 488.3 MB, free: 15.89 MB / 426.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.003065/0.7038, allocations: 2.063 MB / 490.4 MB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.7065, allocations: 1.384 MB / 491.8 MB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7065, allocations: 0 / 491.8 MB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.7082, allocations: 0.935 MB / 492.7 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.7088, allocations: 73.73 kB / 492.8 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.7122, allocations: 1.345 MB / 494.1 MB, free: 9.953 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.7129, allocations: 0.9181 MB / 495 MB, free: 9.012 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004995/0.7134, allocations: 99.19 kB / 495.1 MB, free: 8.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.7137, allocations: 155.4 kB / 495.3 MB, free: 8.758 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.7137, allocations: 0 / 495.3 MB, free: 8.758 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.7606, allocations: 9.935 MB / 0.4934 GB, free: 14.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/0.761, allocations: 163.5 kB / 0.4935 GB, free: 14.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.512, allocations: 3.938 kB / 0.4935 GB, free: 14.68 MB / 442.7 MB