Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.363/2.363, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.096e-05, allocations: 4 kB / 302.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 53.23 MB / 355.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5163/0.6448, allocations: 96.59 MB / 452.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004197/0.6453, allocations: 83.95 kB / 452.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08086/0.7262, allocations: 15.68 MB / 467.9 MB, free: 5.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7262, allocations: 3.938 kB / 467.9 MB, free: 5.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.184e-05/0.7263, allocations: 12 kB / 467.9 MB, free: 5.219 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.002111/0.7284, allocations: 0.7901 MB / 468.7 MB, free: 4.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.7285, allocations: 8.031 kB / 468.7 MB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002685/0.7288, allocations: 94.52 kB / 468.8 MB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.7296, allocations: 87.28 kB / 468.9 MB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.7321, allocations: 0.7012 MB / 469.6 MB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.7322, allocations: 33.11 kB / 469.6 MB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.7324, allocations: 43.94 kB / 469.6 MB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.7344, allocations: 0.8286 MB / 470.5 MB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.7345, allocations: 4 kB / 470.5 MB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.7346, allocations: 16 kB / 470.5 MB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002636/0.7349, allocations: 56.73 kB / 470.5 MB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.7368, allocations: 0.7396 MB / 471.3 MB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005786/0.7426, allocations: 2.649 MB / 473.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.7441, allocations: 0.5766 MB / 474.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009441/0.745, allocations: 479 kB / 475 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.7451, allocations: 4 kB / 475 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.7451, allocations: 38.83 kB / 475 MB, free: 13.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 4.147e-06/0.7452, allocations: 1.969 kB / 475 MB, free: 13.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.003722/0.7489, allocations: 1.5 MB / 476.5 MB, free: 12.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.749, allocations: 134.8 kB / 476.7 MB, free: 12.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.7495, allocations: 246.7 kB / 476.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.7495, allocations: 29.7 kB / 476.9 MB, free: 11.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.7498, allocations: 248.5 kB / 477.2 MB, free: 11.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.75, allocations: 208.9 kB / 477.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.7501, allocations: 4 kB / 477.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.7503, allocations: 354.8 kB / 477.7 MB, free: 11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/0.7512, allocations: 361 kB / 478.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/0.7521, allocations: 478.6 kB / 478.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.7531, allocations: 474.8 kB / 479 MB, free: 9.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.7532, allocations: 4 kB / 479 MB, free: 9.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002373/0.7555, allocations: 0.9828 MB / 480 MB, free: 8.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.7557, allocations: 73.66 kB / 480.1 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.7557, allocations: 8.453 kB / 480.1 MB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.756, allocations: 48.78 kB / 480.1 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.7567, allocations: 83.81 kB / 480.2 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.7584, allocations: 1.437 MB / 481.6 MB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.759, allocations: 39.95 kB / 481.7 MB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/0.7591, allocations: 20 kB / 481.7 MB, free: 6.805 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.0003345/0.7595, allocations: 203.6 kB / 481.9 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.7596, allocations: 39.53 kB / 481.9 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.7623, allocations: 1.124 MB / 483.1 MB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.912e-05/0.7624, allocations: 19.95 kB / 483.1 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7624, allocations: 0 / 483.1 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.7624, allocations: 3.984 kB / 483.1 MB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.7665, allocations: 1.8 MB / 484.9 MB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.7666, allocations: 4 kB / 484.9 MB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.7672, allocations: 65.23 kB / 484.9 MB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.7674, allocations: 32.84 kB / 485 MB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/0.7675, allocations: 11.98 kB / 485 MB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.7691, allocations: 1.437 MB / 486.4 MB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7691, allocations: 0 / 486.4 MB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.7718, allocations: 1.254 MB / 487.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.7722, allocations: 176.6 kB / 487.9 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7723, allocations: 12 kB / 487.9 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.7728, allocations: 35.94 kB / 487.9 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.773, allocations: 43.94 kB / 487.9 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.7731, allocations: 16 kB / 488 MB, free: 228 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003033/0.7734, allocations: 198.1 kB / 488.2 MB, free: 32 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.605e-06/0.7735, allocations: 0 / 488.2 MB, free: 32 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008982/0.7744, allocations: 171.9 kB / 488.3 MB, free: 15.86 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.003272/0.7777, allocations: 2.061 MB / 490.4 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.7805, allocations: 1.373 MB / 491.8 MB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7806, allocations: 4 kB / 491.8 MB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.7823, allocations: 0.9466 MB / 492.7 MB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.783, allocations: 55.5 kB / 492.8 MB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.7867, allocations: 1.348 MB / 494.1 MB, free: 9.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.7875, allocations: 0.914 MB / 495 MB, free: 9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005342/0.788, allocations: 103.2 kB / 495.1 MB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.7884, allocations: 155.4 kB / 495.3 MB, free: 8.742 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/0.7884, allocations: 0 / 495.3 MB, free: 8.742 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.8296, allocations: 9.944 MB / 0.4934 GB, free: 14.89 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.83, allocations: 175 kB / 0.4935 GB, free: 14.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.592, allocations: 7.938 kB / 0.4936 GB, free: 14.66 MB / 442.7 MB