Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.732/1.732, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.094e-05, allocations: 4 kB / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2576, allocations: 38.77 MB / 263.9 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.3868, allocations: 70.76 MB / 334.6 MB, free: 2.891 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.3871, allocations: 79.95 kB / 334.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03777/0.4249, allocations: 8.912 MB / 343.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4249, allocations: 8 kB / 343.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.425, allocations: 4 kB / 343.6 MB, free: 9.793 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001725/0.4267, allocations: 0.6191 MB / 344.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.4268, allocations: 12.47 kB / 344.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.4269, allocations: 70.53 kB / 344.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.4273, allocations: 55.52 kB / 344.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.4279, allocations: 288.2 kB / 344.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.4279, allocations: 28.72 kB / 344.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.428, allocations: 28 kB / 344.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.4288, allocations: 304.8 kB / 345 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.4288, allocations: 3.938 kB / 345 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.4289, allocations: 12 kB / 345 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4289, allocations: 4 kB / 345 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.4295, allocations: 180 kB / 345.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.4325, allocations: 1.32 MB / 346.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.4329, allocations: 133.1 kB / 346.7 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.4331, allocations: 53.72 kB / 346.7 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.4331, allocations: 0 / 346.7 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.4332, allocations: 42.56 kB / 346.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.4332, allocations: 0 / 346.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004507/0.4336, allocations: 133.5 kB / 346.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.4337, allocations: 77.11 kB / 347 MB, free: 6.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.4341, allocations: 251.3 kB / 347.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.4342, allocations: 25.7 kB / 347.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.4344, allocations: 281.8 kB / 347.5 MB, free: 5.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.4345, allocations: 47.36 kB / 347.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.4345, allocations: 8 kB / 347.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4347, allocations: 322.9 kB / 347.9 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4349, allocations: 44 kB / 347.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.4352, allocations: 161.6 kB / 348.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.4354, allocations: 75.97 kB / 348.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4354, allocations: 0 / 348.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006257/0.436, allocations: 225.3 kB / 348.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4361, allocations: 4 kB / 348.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4361, allocations: 8.062 kB / 348.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.4361, allocations: 8 kB / 348.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.4367, allocations: 71.84 kB / 348.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.4367, allocations: 4 kB / 348.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.4371, allocations: 40.05 kB / 348.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.4371, allocations: 12 kB / 348.5 MB, free: 4.543 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.4373, allocations: 120.9 kB / 348.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4374, allocations: 27.67 kB / 348.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.346e-05/0.4375, allocations: 29.86 kB / 348.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4375, allocations: 3.938 kB / 348.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4375, allocations: 0 / 348.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.4375, allocations: 4 kB / 348.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4386, allocations: 0.4913 MB / 349.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4386, allocations: 0 / 349.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.439, allocations: 43.91 kB / 349.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.439, allocations: 0 / 349.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.439, allocations: 0 / 349.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.4391, allocations: 4 kB / 349.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4391, allocations: 4.031 kB / 349.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.4397, allocations: 382.9 kB / 349.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.4399, allocations: 116.8 kB / 349.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.44, allocations: 4 kB / 349.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.4403, allocations: 20.05 kB / 349.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.4404, allocations: 12.08 kB / 349.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.4404, allocations: 3.938 kB / 349.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.4407, allocations: 199.1 kB / 350 MB, free: 2.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4408, allocations: 0 / 350 MB, free: 2.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006317/0.4414, allocations: 71.75 kB / 350 MB, free: 2.914 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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.001165/0.4426, allocations: 1.076 MB / 351.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.443, allocations: 127.8 kB / 351.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.443, allocations: 0.875 kB / 351.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4432, allocations: 51.92 kB / 351.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.4437, allocations: 28.91 kB / 351.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.4454, allocations: 0.5314 MB / 351.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.446, allocations: 0.7755 MB / 352.6 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.4462, allocations: 103.3 kB / 352.7 MB, free: 108 kB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4462, allocations: 0 / 352.7 MB, free: 108 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.375/2.821, allocations: 4.411 MB / 357.1 MB, free: 11.7 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat