Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.405e-05, allocations: 4 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5378, allocations: 82.69 MB / 425.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5381, allocations: 78.02 kB / 425.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04011/0.5783, allocations: 10.08 MB / 435.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5783, allocations: 0 / 435.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.5783, allocations: 4 kB / 435.5 MB, free: 2.816 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00165/0.58, allocations: 0.6431 MB / 436.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5801, allocations: 8.031 kB / 436.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.5802, allocations: 73.53 kB / 436.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006968/0.5809, allocations: 84.84 kB / 436.3 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.5815, allocations: 302 kB / 436.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.5815, allocations: 23.84 kB / 436.6 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.5816, allocations: 34.75 kB / 436.7 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/0.5824, allocations: 330.8 kB / 437 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.5825, allocations: 3.938 kB / 437 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.5825, allocations: 14.62 kB / 437 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5825, allocations: 8 kB / 437 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.5831, allocations: 218 kB / 437.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.5862, allocations: 1.375 MB / 438.6 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.5868, allocations: 162.6 kB / 438.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.587, allocations: 74.84 kB / 438.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.5881, allocations: 0.8753 MB / 439.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.5881, allocations: 37 kB / 439.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/0.5882, allocations: 0 / 439.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004197/0.5886, allocations: 134.1 kB / 439.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.5887, allocations: 81.11 kB / 439.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.5891, allocations: 251.9 kB / 440.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5891, allocations: 29.64 kB / 440.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.5893, allocations: 298.5 kB / 440.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.5894, allocations: 50.28 kB / 440.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.5894, allocations: 7.375 kB / 440.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5896, allocations: 330.3 kB / 440.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.5897, allocations: 49.69 kB / 440.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.59, allocations: 174.9 kB / 441.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.5902, allocations: 81.03 kB / 441.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.5902, allocations: 4 kB / 441.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006044/0.5909, allocations: 242.4 kB / 441.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5909, allocations: 4 kB / 441.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.5909, allocations: 8 kB / 441.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.591, allocations: 8.609 kB / 441.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.5915, allocations: 80 kB / 441.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.5915, allocations: 11.88 kB / 441.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.5919, allocations: 41.92 kB / 441.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.592, allocations: 15.95 kB / 441.6 MB, free: 13.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001102/0.5921, allocations: 120 kB / 441.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-05/0.5922, allocations: 23.72 kB / 441.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.437e-05/0.5923, allocations: 36.61 kB / 441.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.5923, allocations: 4 kB / 441.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5923, allocations: 0 / 441.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5923, allocations: 0 / 441.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009177/0.5932, allocations: 0.4926 MB / 442.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5933, allocations: 0 / 442.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.5937, allocations: 43.91 kB / 442.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.5937, allocations: 4.031 kB / 442.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.5937, allocations: 3.312 kB / 442.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.5937, allocations: 4 kB / 442.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5937, allocations: 0 / 442.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.5943, allocations: 379.4 kB / 442.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5944, allocations: 107.9 kB / 442.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.5945, allocations: 7.453 kB / 442.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.5949, allocations: 15.98 kB / 442.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.136e-05/0.5949, allocations: 15.17 kB / 442.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.595, allocations: 7.938 kB / 442.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.5952, allocations: 192.1 kB / 443 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5952, allocations: 0 / 443 MB, free: 11.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006258/0.5959, allocations: 86.69 kB / 443.1 MB, free: 11.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.000948/0.5968, allocations: 1.087 MB / 444.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.5973, allocations: 138 kB / 444.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5973, allocations: 4 kB / 444.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.5974, allocations: 46.81 kB / 444.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.5978, allocations: 28.06 kB / 444.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.5995, allocations: 0.5365 MB / 444.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.5999, allocations: 0.7796 MB / 445.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.6002, allocations: 99.03 kB / 445.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6002, allocations: 3.938 kB / 445.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.549/3.149, allocations: 4.736 MB / 450.6 MB, free: 4.449 MB / 362.7 MB