Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.437/2.437, allocations: 233 MB / 245.6 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.527e-05/4.533e-05, allocations: 7.938 kB / 301.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 53.24 MB / 354.6 MB, free: 2.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5722, allocations: 89.33 MB / 443.9 MB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/0.5726, allocations: 91.94 kB / 444 MB, free: 12.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03062/0.6033, allocations: 6.636 MB / 450.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6033, allocations: 0 / 450.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.834e-05/0.6034, allocations: 8 kB / 450.7 MB, free: 5.867 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001235/0.6046, allocations: 0.5582 MB / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.6047, allocations: 8.031 kB / 451.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.784e-05/0.6048, allocations: 58.53 kB / 451.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.779e-05/0.6049, allocations: 31.62 kB / 451.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.6071, allocations: 0.5873 MB / 451.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.6071, allocations: 17.08 kB / 451.9 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.6072, allocations: 27.98 kB / 451.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.6079, allocations: 311.7 kB / 452.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.608, allocations: 0 / 452.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.608, allocations: 8 kB / 452.3 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.6081, allocations: 12 kB / 452.3 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.6087, allocations: 208.6 kB / 452.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.6111, allocations: 1.342 MB / 453.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.6116, allocations: 133.2 kB / 453.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.6118, allocations: 65.75 kB / 454 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.6118, allocations: 4.219 kB / 454 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.6119, allocations: 42.39 kB / 454.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.096e-06/0.6119, allocations: 0 / 454.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001038/0.6129, allocations: 311.6 kB / 454.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.613, allocations: 81.67 kB / 454.4 MB, free: 1.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.6134, allocations: 231.4 kB / 454.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6135, allocations: 25.7 kB / 454.7 MB, free: 1.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.6136, allocations: 250.1 kB / 454.9 MB, free: 1.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/0.6137, allocations: 59.22 kB / 455 MB, free: 1.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.6138, allocations: 4 kB / 455 MB, free: 1.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6139, allocations: 324.3 kB / 455.3 MB, free: 0.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.6141, allocations: 43.98 kB / 455.4 MB, free: 0.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.6143, allocations: 152.8 kB / 455.5 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.6146, allocations: 72.55 kB / 455.6 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6146, allocations: 8 kB / 455.6 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005731/0.6152, allocations: 219.2 kB / 455.8 MB, free: 392 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6152, allocations: 4 kB / 455.8 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.6152, allocations: 7.953 kB / 455.8 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.6152, allocations: 8.438 kB / 455.8 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.6156, allocations: 51.91 kB / 455.9 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.6157, allocations: 11.88 kB / 455.9 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.6159, allocations: 12 kB / 455.9 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.616, allocations: 8 kB / 455.9 MB, free: 288 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.6161, allocations: 120.9 kB / 456 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.6162, allocations: 27.7 kB / 456 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.6167, allocations: 187.4 kB / 456.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6168, allocations: 13.17 kB / 456.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6168, allocations: 0 / 456.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6168, allocations: 0 / 456.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.6179, allocations: 0.5499 MB / 456.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6179, allocations: 0 / 456.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.6182, allocations: 27.98 kB / 456.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.6182, allocations: 3.953 kB / 456.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6183, allocations: 8 kB / 456.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.6183, allocations: 0 / 456.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6183, allocations: 7.969 kB / 456.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.6188, allocations: 312.2 kB / 457.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.619, allocations: 104.7 kB / 457.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.619, allocations: 4 kB / 457.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.6192, allocations: 8.656 kB / 457.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.6193, allocations: 11.98 kB / 457.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.6193, allocations: 4 kB / 457.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.6196, allocations: 179.1 kB / 457.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6196, allocations: 0 / 457.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005146/0.6202, allocations: 60 kB / 457.5 MB, free: 14.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009895/0.6212, allocations: 0.998 MB / 458.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.6217, allocations: 146 kB / 458.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6217, allocations: 4.312 kB / 458.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.6219, allocations: 79.84 kB / 458.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.6225, allocations: 51.56 kB / 458.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.6239, allocations: 455.7 kB / 459.2 MB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.6244, allocations: 0.7834 MB / 460 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.6246, allocations: 95.39 kB / 460.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6246, allocations: 3.938 kB / 460.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.489/3.114, allocations: 4.481 MB / 464.6 MB, free: 7.355 MB / 394.7 MB