Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.482/2.482, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.301e-05/5.322e-05, allocations: 3.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 53.23 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.606, allocations: 89.31 MB / 444.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/0.6065, allocations: 94.97 kB / 444.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03347/0.6399, allocations: 6.624 MB / 451.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.64, allocations: 4 kB / 451.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.409e-05/0.6401, allocations: 8 kB / 451.6 MB, free: 5.477 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.001316/0.6414, allocations: 0.5508 MB / 452.1 MB, free: 4.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.6415, allocations: 15.97 kB / 452.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.6416, allocations: 54.55 kB / 452.2 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.6417, allocations: 35.62 kB / 452.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.6442, allocations: 0.5953 MB / 452.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.6443, allocations: 15.61 kB / 452.8 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.6443, allocations: 27.98 kB / 452.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.6451, allocations: 317 kB / 453.2 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6451, allocations: 0 / 453.2 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.6452, allocations: 12 kB / 453.2 MB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.6452, allocations: 8 kB / 453.2 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007704/0.646, allocations: 204.7 kB / 453.4 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.6488, allocations: 1.345 MB / 454.7 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.6494, allocations: 137.2 kB / 454.9 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.6496, allocations: 61.7 kB / 454.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.6497, allocations: 0 / 454.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.6497, allocations: 42.73 kB / 455 MB, free: 1.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.978e-06/0.6497, allocations: 0 / 455 MB, free: 1.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001162/0.6509, allocations: 318.1 kB / 455.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.651, allocations: 77.11 kB / 455.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.6514, allocations: 231.4 kB / 455.6 MB, free: 1.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.6514, allocations: 25.7 kB / 455.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.6517, allocations: 207.6 kB / 455.8 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.766e-05/0.6518, allocations: 47.28 kB / 455.9 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.6518, allocations: 4 kB / 455.9 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.652, allocations: 342.8 kB / 456.2 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.6522, allocations: 47.98 kB / 456.3 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.6525, allocations: 152.7 kB / 456.4 MB, free: 320 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.6527, allocations: 67.95 kB / 456.5 MB, free: 252 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.6528, allocations: 4 kB / 456.5 MB, free: 248 kB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006635/0.6534, allocations: 229.6 kB / 456.7 MB, free: 12 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.6535, allocations: 11.98 kB / 456.7 MB, free: 0 / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.051e-05/0.6535, allocations: 5.734 kB / 456.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.6536, allocations: 7.953 kB / 456.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.654, allocations: 47.86 kB / 456.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/0.6541, allocations: 11.94 kB / 456.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.6545, allocations: 8.438 kB / 456.8 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.6546, allocations: 15.94 kB / 456.8 MB, free: 15.91 MB / 394.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.0001924/0.6548, allocations: 120.9 kB / 456.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6549, allocations: 27.7 kB / 457 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/0.6556, allocations: 187.4 kB / 457.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/0.6556, allocations: 7.953 kB / 457.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6557, allocations: 0 / 457.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6557, allocations: 0 / 457.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.6569, allocations: 0.5499 MB / 457.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.6569, allocations: 4 kB / 457.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.6572, allocations: 31.98 kB / 457.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/0.6573, allocations: 7.953 kB / 457.7 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.6573, allocations: 0.5625 kB / 457.7 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.6573, allocations: 7.938 kB / 457.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6573, allocations: 0 / 457.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.6579, allocations: 312.2 kB / 458 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.658, allocations: 104.8 kB / 458.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.6581, allocations: 7.984 kB / 458.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.6583, allocations: 5.594 kB / 458.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.6584, allocations: 7.984 kB / 458.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.6584, allocations: 12 kB / 458.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.6587, allocations: 179.1 kB / 458.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6587, allocations: 0 / 458.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005698/0.6593, allocations: 60 kB / 458.4 MB, free: 14.17 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.001099/0.6604, allocations: 0.9938 MB / 459.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.661, allocations: 156.2 kB / 459.6 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.661, allocations: 0 / 459.6 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.6612, allocations: 72.72 kB / 459.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.6619, allocations: 55.67 kB / 459.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.6634, allocations: 422 kB / 460.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.6639, allocations: 0.7911 MB / 460.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003207/0.6643, allocations: 34.06 kB / 460.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.6645, allocations: 95.39 kB / 461 MB, free: 11.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6645, allocations: 0 / 461 MB, free: 11.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.699, allocations: 4.666 MB / 465.7 MB, free: 6.871 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/0.6994, allocations: 155.1 kB / 465.8 MB, free: 6.648 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.07, allocations: 7.938 kB / 465.8 MB, free: 6.641 MB / 394.7 MB