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.862/1.862, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.943e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 44.51 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4451/0.5711, allocations: 76.76 MB / 376.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5715, allocations: 76.5 kB / 376.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04033/0.6118, allocations: 9.673 MB / 386.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6119, allocations: 2.25 kB / 386.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.6119, allocations: 7.25 kB / 386.5 MB, free: 11.35 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.00173/0.6136, allocations: 0.6363 MB / 387.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.6137, allocations: 15.47 kB / 387.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.6139, allocations: 73.38 kB / 387.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007809/0.6147, allocations: 82.84 kB / 387.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/0.6153, allocations: 302.3 kB / 387.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.6154, allocations: 26.41 kB / 387.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.6155, allocations: 35.22 kB / 387.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.6163, allocations: 330.4 kB / 387.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.6164, allocations: 4 kB / 387.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.6164, allocations: 15.09 kB / 388 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.6164, allocations: 7.781 kB / 388 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.617, allocations: 222.2 kB / 388.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.6202, allocations: 1.389 MB / 389.6 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.6207, allocations: 169.7 kB / 389.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.6209, allocations: 72.5 kB / 389.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.6219, allocations: 0.8805 MB / 390.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.622, allocations: 37.75 kB / 390.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/0.622, allocations: 0 / 390.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004313/0.6224, allocations: 129.8 kB / 390.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.6225, allocations: 78.42 kB / 390.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.6228, allocations: 249.4 kB / 391.2 MB, free: 8.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.6229, allocations: 29.33 kB / 391.2 MB, free: 8.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.623, allocations: 301.5 kB / 391.5 MB, free: 8.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.6231, allocations: 51.44 kB / 391.5 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.6231, allocations: 7.344 kB / 391.6 MB, free: 8.324 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.6232, allocations: 321.6 kB / 391.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.6233, allocations: 51.34 kB / 391.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.6235, allocations: 183.3 kB / 392.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.6238, allocations: 80.36 kB / 392.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.6238, allocations: 7.875 kB / 392.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005396/0.6243, allocations: 254.6 kB / 392.4 MB, free: 7.758 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.6244, allocations: 9.312 kB / 392.4 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6244, allocations: 7.906 kB / 392.4 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.6244, allocations: 7.906 kB / 392.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.6249, allocations: 75.89 kB / 392.5 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.625, allocations: 11.75 kB / 392.5 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.6253, allocations: 34.61 kB / 392.6 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.6254, allocations: 15.19 kB / 392.6 MB, free: 7.73 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 9.943e-05/0.6255, allocations: 124 kB / 392.7 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.6256, allocations: 27.3 kB / 392.7 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/0.6257, allocations: 27.44 kB / 392.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6257, allocations: 0 / 392.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6257, allocations: 0 / 392.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6257, allocations: 3.906 kB / 392.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.6266, allocations: 0.4931 MB / 393.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6267, allocations: 4.031 kB / 393.3 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.627, allocations: 40.56 kB / 393.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.6271, allocations: 8.031 kB / 393.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.6271, allocations: 7.688 kB / 393.3 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6271, allocations: 2.906 kB / 393.3 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6271, allocations: 3.906 kB / 393.3 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.6277, allocations: 377.4 kB / 393.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.6278, allocations: 102.7 kB / 393.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.6279, allocations: 0 / 393.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.6282, allocations: 18.14 kB / 393.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.6283, allocations: 22.45 kB / 393.8 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.6283, allocations: 3.953 kB / 393.8 MB, free: 6.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.6286, allocations: 193.2 kB / 394 MB, free: 6.797 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6286, allocations: 0 / 394 MB, free: 6.797 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006217/0.6292, allocations: 84.5 kB / 394.1 MB, free: 6.781 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.0008089/0.6301, allocations: 1.081 MB / 395.2 MB, free: 5.844 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.6305, allocations: 150.2 kB / 395.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.6305, allocations: 0 / 395.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.6307, allocations: 49.69 kB / 395.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.6311, allocations: 25.77 kB / 395.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.6328, allocations: 0.5433 MB / 396 MB, free: 5.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.6334, allocations: 0.7854 MB / 396.7 MB, free: 20.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.6336, allocations: 105.4 kB / 396.8 MB, free: 20.76 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6336, allocations: 0 / 396.8 MB, free: 20.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.445/3.078, allocations: 4.697 MB / 401.5 MB, free: 20.35 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