Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.171/2.171, allocations: 233 MB / 246.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.198e-05, allocations: 4 kB / 302.3 MB, free: 7.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 53.25 MB / 355.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5405, allocations: 89.32 MB / 444.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.5409, allocations: 91.03 kB / 444.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0292/0.5701, allocations: 6.631 MB / 451.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5701, allocations: 4 kB / 451.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.5702, allocations: 4 kB / 451.6 MB, free: 5.617 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.001121/0.5713, allocations: 0.5546 MB / 452.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.5714, allocations: 12.03 kB / 452.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.667e-05/0.5715, allocations: 58.55 kB / 452.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.5716, allocations: 35.62 kB / 452.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.5735, allocations: 0.5875 MB / 452.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.5736, allocations: 16.56 kB / 452.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.5736, allocations: 16.52 kB / 452.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.5743, allocations: 315.8 kB / 453.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5744, allocations: 3.953 kB / 453.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.5744, allocations: 15.98 kB / 453.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5744, allocations: 8 kB / 453.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.575, allocations: 200.7 kB / 453.4 MB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.5772, allocations: 1.349 MB / 454.7 MB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.5777, allocations: 137.2 kB / 454.9 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.5779, allocations: 57.98 kB / 454.9 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.5779, allocations: 3.938 kB / 454.9 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.578, allocations: 50.48 kB / 455 MB, free: 1.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.836e-06/0.578, allocations: 0 / 455 MB, free: 1.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009556/0.579, allocations: 308.3 kB / 455.3 MB, free: 1.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.579, allocations: 81.05 kB / 455.4 MB, free: 1.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.5794, allocations: 231.3 kB / 455.6 MB, free: 1.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.5794, allocations: 29.7 kB / 455.6 MB, free: 1.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.5796, allocations: 203.6 kB / 455.8 MB, free: 1.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.5797, allocations: 54.02 kB / 455.9 MB, free: 1.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.5797, allocations: 4 kB / 455.9 MB, free: 1.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5798, allocations: 334.8 kB / 456.2 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.58, allocations: 47.98 kB / 456.3 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.5802, allocations: 148.8 kB / 456.4 MB, free: 472 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.5805, allocations: 76.55 kB / 456.5 MB, free: 396 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5805, allocations: 4 kB / 456.5 MB, free: 392 kB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005523/0.581, allocations: 230.7 kB / 456.7 MB, free: 156 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.5811, allocations: 8 kB / 456.7 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5811, allocations: 11.92 kB / 456.7 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.5811, allocations: 7.953 kB / 456.7 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.5815, allocations: 51.91 kB / 456.8 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.5815, allocations: 4 kB / 456.8 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.5818, allocations: 12.44 kB / 456.8 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.5818, allocations: 15.98 kB / 456.8 MB, free: 44 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.000125/0.5819, allocations: 119.6 kB / 456.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.582, allocations: 23.72 kB / 457 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.5825, allocations: 191.3 kB / 457.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5826, allocations: 7.953 kB / 457.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5826, allocations: 0 / 457.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.5826, allocations: 3.984 kB / 457.2 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.5836, allocations: 0.5499 MB / 457.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5836, allocations: 4 kB / 457.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.5839, allocations: 23.98 kB / 457.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.5839, allocations: 7.953 kB / 457.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.5839, allocations: 4 kB / 457.7 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.5839, allocations: 0 / 457.7 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.584, allocations: 7.984 kB / 457.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.5845, allocations: 312.2 kB / 458.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.5846, allocations: 105.7 kB / 458.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.5846, allocations: 8 kB / 458.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.5848, allocations: 0 / 458.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.5849, allocations: 11.98 kB / 458.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.5849, allocations: 8 kB / 458.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.5852, allocations: 183.1 kB / 458.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5852, allocations: 0 / 458.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000491/0.5857, allocations: 56 kB / 458.4 MB, free: 14.31 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.000872/0.5866, allocations: 0.9996 MB / 459.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.587, allocations: 141.5 kB / 459.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.587, allocations: 4.656 kB / 459.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.5872, allocations: 80.59 kB / 459.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.5878, allocations: 58.75 kB / 459.7 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.589, allocations: 414.1 kB / 460.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.5895, allocations: 0.795 MB / 460.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.5897, allocations: 34.06 kB / 460.9 MB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.5899, allocations: 91.39 kB / 461 MB, free: 11.6 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5899, allocations: 0 / 461 MB, free: 11.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.6208, allocations: 4.652 MB / 465.7 MB, free: 7.023 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/0.6212, allocations: 147.6 kB / 465.8 MB, free: 6.801 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.22, allocations: 0 / 465.8 MB, free: 6.801 MB / 394.7 MB