Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.471e-05, allocations: 4 kB / 255.5 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.08986, allocations: 44.51 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.4843, allocations: 76.77 MB / 376.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.4846, allocations: 80.95 kB / 376.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03704/0.5217, allocations: 9.668 MB / 386.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5217, allocations: 1.312 kB / 386.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.5218, allocations: 6.312 kB / 386.5 MB, free: 11.26 MB / 314.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.001518/0.5233, allocations: 0.6501 MB / 387.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5234, allocations: 9.062 kB / 387.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.296e-05/0.5235, allocations: 70.23 kB / 387.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006483/0.5241, allocations: 83.81 kB / 387.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.5246, allocations: 303.1 kB / 387.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.5247, allocations: 30.84 kB / 387.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.5247, allocations: 33.28 kB / 387.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007041/0.5254, allocations: 332 kB / 388 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5255, allocations: 0 / 388 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.5255, allocations: 15.38 kB / 388 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5256, allocations: 7.531 kB / 388 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.5261, allocations: 214.2 kB / 388.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.5288, allocations: 1.387 MB / 389.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.5293, allocations: 171.6 kB / 389.8 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.5294, allocations: 71.84 kB / 389.8 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008518/0.5303, allocations: 0.8751 MB / 390.7 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5303, allocations: 42.03 kB / 390.8 MB, free: 8.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.5303, allocations: 0 / 390.8 MB, free: 8.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003598/0.5307, allocations: 122.4 kB / 390.9 MB, free: 8.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.5308, allocations: 84.89 kB / 391 MB, free: 8.633 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.5311, allocations: 249.3 kB / 391.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5311, allocations: 25.7 kB / 391.2 MB, free: 8.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.5313, allocations: 307.9 kB / 391.5 MB, free: 8.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.5313, allocations: 45.11 kB / 391.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.5313, allocations: 7.594 kB / 391.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.5314, allocations: 327.4 kB / 391.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.5315, allocations: 47.94 kB / 391.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.5317, allocations: 181.8 kB / 392.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.5319, allocations: 80.97 kB / 392.2 MB, free: 7.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.532, allocations: 4 kB / 392.2 MB, free: 7.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004951/0.5325, allocations: 242.4 kB / 392.4 MB, free: 7.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5325, allocations: 7.812 kB / 392.4 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5325, allocations: 7.906 kB / 392.5 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.5325, allocations: 7.75 kB / 392.5 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.533, allocations: 77.94 kB / 392.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.533, allocations: 7.812 kB / 392.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.5334, allocations: 37.52 kB / 392.6 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.5334, allocations: 15.19 kB / 392.6 MB, free: 7.652 MB / 314.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 7.791e-05/0.5335, allocations: 123.6 kB / 392.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.5336, allocations: 27.33 kB / 392.7 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.5336, allocations: 29.77 kB / 392.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5337, allocations: 0 / 392.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5337, allocations: 0 / 392.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5337, allocations: 3.875 kB / 392.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.5344, allocations: 497.2 kB / 393.3 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5344, allocations: 4.031 kB / 393.3 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.5348, allocations: 41.62 kB / 393.3 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5348, allocations: 11.88 kB / 393.3 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.5348, allocations: 2.438 kB / 393.3 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5349, allocations: 7.953 kB / 393.3 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5349, allocations: 0 / 393.3 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.5353, allocations: 386 kB / 393.7 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.5354, allocations: 102.9 kB / 393.8 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.5354, allocations: 7.219 kB / 393.8 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.5358, allocations: 10.73 kB / 393.8 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.5358, allocations: 18.8 kB / 393.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.5359, allocations: 7.859 kB / 393.9 MB, free: 6.797 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002334/0.5361, allocations: 196.1 kB / 394 MB, free: 6.715 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5361, allocations: 0 / 394 MB, free: 6.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.5367, allocations: 77.69 kB / 394.1 MB, free: 6.699 MB / 314.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.0007059/0.5374, allocations: 1.082 MB / 395.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.5378, allocations: 145 kB / 395.3 MB, free: 5.746 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5378, allocations: 0 / 395.3 MB, free: 5.746 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.5379, allocations: 46.09 kB / 395.4 MB, free: 5.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.5383, allocations: 26.75 kB / 395.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.5398, allocations: 0.5363 MB / 395.9 MB, free: 5.406 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.5403, allocations: 0.7821 MB / 396.7 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.5405, allocations: 102.2 kB / 396.8 MB, free: 20.69 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5405, allocations: 4 kB / 396.8 MB, free: 20.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.359/2.899, allocations: 4.696 MB / 401.5 MB, free: 20.26 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat