Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.569/2.569, allocations: 233 MB / 245.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.05e-05/5.059e-05, allocations: 3.984 kB / 301.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 53.22 MB / 354.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.5927, allocations: 92.51 MB / 447.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.5931, allocations: 91.94 kB / 447.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04682/0.6399, allocations: 9.927 MB / 457.1 MB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.64, allocations: 4 kB / 457.1 MB, free: 15.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.999e-05/0.64, allocations: 8 kB / 457.1 MB, free: 15.27 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001363/0.6414, allocations: 0.5745 MB / 457.7 MB, free: 14.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.6415, allocations: 8.031 kB / 457.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.6416, allocations: 71.69 kB / 457.8 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.6418, allocations: 39.53 kB / 457.8 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.6442, allocations: 0.6076 MB / 458.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.6443, allocations: 16.56 kB / 458.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.6444, allocations: 40.44 kB / 458.5 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.6452, allocations: 326 kB / 458.8 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6453, allocations: 3.938 kB / 458.8 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.6453, allocations: 12 kB / 458.8 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.6454, allocations: 8 kB / 458.8 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.6459, allocations: 192.7 kB / 459 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.6485, allocations: 1.483 MB / 460.5 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.6492, allocations: 188.9 kB / 460.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.6494, allocations: 84.67 kB / 460.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.6494, allocations: 4 kB / 460.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.6495, allocations: 38.56 kB / 460.8 MB, free: 11.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.785e-06/0.6495, allocations: 0 / 460.8 MB, free: 11.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.00209/0.6516, allocations: 0.8357 MB / 461.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.6518, allocations: 128.5 kB / 461.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.6523, allocations: 271.6 kB / 462 MB, free: 9.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.6523, allocations: 29.7 kB / 462.1 MB, free: 9.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.6525, allocations: 270.4 kB / 462.3 MB, free: 9.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.602e-05/0.6526, allocations: 70.94 kB / 462.4 MB, free: 9.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.6527, allocations: 4 kB / 462.4 MB, free: 9.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6529, allocations: 326.9 kB / 462.7 MB, free: 9.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.653, allocations: 44 kB / 462.8 MB, free: 9.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.6533, allocations: 144.9 kB / 462.9 MB, free: 9.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.6535, allocations: 79.89 kB / 463 MB, free: 8.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6536, allocations: 0 / 463 MB, free: 8.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005909/0.6542, allocations: 227.8 kB / 463.2 MB, free: 8.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.6542, allocations: 12 kB / 463.2 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6542, allocations: 0 / 463.2 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.6543, allocations: 8 kB / 463.2 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.6549, allocations: 75.89 kB / 463.3 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.6562, allocations: 1.287 MB / 464.6 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.6566, allocations: 8 kB / 464.6 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.6566, allocations: 12 kB / 464.6 MB, free: 7.191 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.6568, allocations: 120.9 kB / 464.7 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.6569, allocations: 31.75 kB / 464.7 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.6574, allocations: 197 kB / 464.9 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.6575, allocations: 7.938 kB / 464.9 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6575, allocations: 0 / 464.9 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.6575, allocations: 4 kB / 464.9 MB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.6587, allocations: 0.5548 MB / 465.5 MB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6587, allocations: 4 kB / 465.5 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.6592, allocations: 44.58 kB / 465.5 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.6592, allocations: 0 / 465.5 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.6593, allocations: 8 kB / 465.6 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/0.6593, allocations: 0 / 465.6 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/0.6593, allocations: 7.938 kB / 465.6 MB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.6601, allocations: 0.513 MB / 466.1 MB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.6603, allocations: 110.4 kB / 466.2 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.6604, allocations: 7.953 kB / 466.2 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.6607, allocations: 4 kB / 466.2 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.6608, allocations: 11.98 kB / 466.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.6608, allocations: 16 kB / 466.2 MB, free: 5.434 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003576/0.6612, allocations: 214.2 kB / 466.4 MB, free: 5.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6612, allocations: 0 / 466.4 MB, free: 5.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006991/0.6619, allocations: 68 kB / 466.5 MB, free: 5.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.001325/0.6632, allocations: 1.31 MB / 467.8 MB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000683/0.664, allocations: 152.5 kB / 468 MB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.664, allocations: 4.125 kB / 468 MB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.6642, allocations: 75.86 kB / 468 MB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.6652, allocations: 82.19 kB / 468.1 MB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.6675, allocations: 0.7198 MB / 468.8 MB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.6681, allocations: 0.8109 MB / 469.6 MB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.6684, allocations: 111.4 kB / 469.8 MB, free: 1.789 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6684, allocations: 0 / 469.8 MB, free: 1.789 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.478, allocations: 6.423 MB / 476.2 MB, free: 11.37 MB / 410.7 MB