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.689/1.689, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.435e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2534, allocations: 38.76 MB / 258.3 MB, free: 12.08 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.3746, allocations: 70.08 MB / 328.4 MB, free: 7.75 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.3749, allocations: 75.95 kB / 328.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03421/0.4091, allocations: 8.81 MB / 337.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4092, allocations: 0 / 337.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.4092, allocations: 8 kB / 337.3 MB, free: 14.76 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.001522/0.4107, allocations: 0.6236 MB / 337.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4108, allocations: 8.469 kB / 337.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.4111, allocations: 59.52 kB / 338 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.4116, allocations: 296.3 kB / 338.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.4117, allocations: 11.95 kB / 338.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.4118, allocations: 23.94 kB / 338.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004991/0.4123, allocations: 157.6 kB / 338.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.4129, allocations: 260.7 kB / 338.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.413, allocations: 3.984 kB / 338.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.413, allocations: 4 kB / 338.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.413, allocations: 8 kB / 338.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.4156, allocations: 1.251 MB / 340 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.4159, allocations: 121.2 kB / 340.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.416, allocations: 57.7 kB / 340.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.4161, allocations: 4.141 kB / 340.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4161, allocations: 38.52 kB / 340.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.4161, allocations: 0 / 340.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003814/0.4165, allocations: 133.3 kB / 340.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4166, allocations: 81.05 kB / 340.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.4169, allocations: 226.2 kB / 340.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.417, allocations: 29.7 kB / 340.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.4172, allocations: 285.8 kB / 340.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.4172, allocations: 43.36 kB / 341 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.4172, allocations: 0 / 341 MB, free: 10.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4174, allocations: 322.8 kB / 341.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.4175, allocations: 44 kB / 341.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.4177, allocations: 141.7 kB / 341.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.4179, allocations: 59.98 kB / 341.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4179, allocations: 7.938 kB / 341.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004874/0.4184, allocations: 197.4 kB / 341.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4185, allocations: 12.03 kB / 341.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4185, allocations: 4 kB / 341.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.4185, allocations: 11.95 kB / 341.8 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.419, allocations: 71.89 kB / 341.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.419, allocations: 7.938 kB / 341.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.4193, allocations: 27.69 kB / 341.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.4194, allocations: 12 kB / 341.9 MB, free: 9.84 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.0001058/0.4195, allocations: 120.9 kB / 342 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003059/0.4198, allocations: 125.3 kB / 342.1 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.4199, allocations: 27.67 kB / 342.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.68e-05/0.42, allocations: 25.83 kB / 342.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.42, allocations: 7.938 kB / 342.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.42, allocations: 0 / 342.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.42, allocations: 3.984 kB / 342.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/0.4208, allocations: 431.8 kB / 342.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4208, allocations: 7.984 kB / 342.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.4212, allocations: 39.98 kB / 342.7 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.4212, allocations: 4 kB / 342.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.4213, allocations: 4.078 kB / 342.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4213, allocations: 3.938 kB / 342.7 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4213, allocations: 0 / 342.7 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.4218, allocations: 374.7 kB / 343 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.422, allocations: 112.8 kB / 343.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.422, allocations: 192 / 343.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.4224, allocations: 16 kB / 343.2 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.4224, allocations: 16.05 kB / 343.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.4225, allocations: 7.984 kB / 343.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.4227, allocations: 174.9 kB / 343.4 MB, free: 8.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4227, allocations: 0 / 343.4 MB, free: 8.266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000576/0.4233, allocations: 71.69 kB / 343.4 MB, free: 8.195 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.000877/0.4242, allocations: 1.06 MB / 344.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.4245, allocations: 115.9 kB / 344.6 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4246, allocations: 0 / 344.6 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4247, allocations: 47.94 kB / 344.6 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.4251, allocations: 24.5 kB / 344.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.4266, allocations: 0.5157 MB / 345.2 MB, free: 6.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.427, allocations: 0.7789 MB / 346 MB, free: 5.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.4272, allocations: 99.41 kB / 346.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.4273, allocations: 0 / 346.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.352/2.779, allocations: 4.345 MB / 350.4 MB, free: 1.094 MB / 298.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