Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.523e-05, allocations: 4 kB / 225.1 MB, free: 2.73 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2603, allocations: 38.77 MB / 263.8 MB, free: 9.777 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.3959, allocations: 74.09 MB / 337.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.3963, allocations: 83.94 kB / 338 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1297/0.526, allocations: 29.61 MB / 367.6 MB, free: 1.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5261, allocations: 0 / 367.6 MB, free: 1.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001615/0.5263, allocations: 32.16 kB / 367.6 MB, free: 1.559 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.2324/0.7586, allocations: 1.644 MB / 369.3 MB, free: 78.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.7587, allocations: 10.69 kB / 369.3 MB, free: 78.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009228/0.7597, allocations: 191.9 kB / 369.5 MB, free: 78.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.7614, allocations: 229.4 kB / 369.7 MB, free: 78.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004219/0.7657, allocations: 1.06 MB / 370.8 MB, free: 77.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.7659, allocations: 92.55 kB / 370.9 MB, free: 77.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006236/0.7665, allocations: 130.3 kB / 371 MB, free: 77.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004972/0.7715, allocations: 1.671 MB / 372.7 MB, free: 77.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.7716, allocations: 6.734 kB / 372.7 MB, free: 77.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.7719, allocations: 53.83 kB / 372.7 MB, free: 77.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.144e-05/0.772, allocations: 44.5 kB / 372.8 MB, free: 77.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.776, allocations: 1.368 MB / 374.1 MB, free: 77.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/0.79, allocations: 5.231 MB / 379.4 MB, free: 76.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.7917, allocations: 1.038 MB / 380.4 MB, free: 75.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.7925, allocations: 373.3 kB / 380.8 MB, free: 75.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.644e-05/0.7926, allocations: 12.7 kB / 380.8 MB, free: 75.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.7926, allocations: 44.7 kB / 380.8 MB, free: 75.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.915e-06/0.7926, allocations: 0 / 380.8 MB, free: 75.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002162/0.7948, allocations: 0.7585 MB / 381.6 MB, free: 75.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.7949, allocations: 87.27 kB / 381.7 MB, free: 75.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.7969, allocations: 0.9282 MB / 382.6 MB, free: 75.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.7971, allocations: 37.27 kB / 382.6 MB, free: 75.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.7975, allocations: 0.6539 MB / 383.3 MB, free: 74.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.7977, allocations: 182 kB / 383.5 MB, free: 74.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.7978, allocations: 8 kB / 383.5 MB, free: 74.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.7979, allocations: 336.8 kB / 383.8 MB, free: 74.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.7986, allocations: 308.5 kB / 384.1 MB, free: 74.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.7994, allocations: 458.1 kB / 384.5 MB, free: 74.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.8002, allocations: 385.9 kB / 384.9 MB, free: 73.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.8002, allocations: 0 / 384.9 MB, free: 73.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001795/0.802, allocations: 0.8197 MB / 385.7 MB, free: 73.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.8021, allocations: 12.19 kB / 385.8 MB, free: 73.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.8021, allocations: 3.875 kB / 385.8 MB, free: 73.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.8022, allocations: 12.52 kB / 385.8 MB, free: 73.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.8036, allocations: 177 kB / 385.9 MB, free: 73.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/0.8037, allocations: 10.94 kB / 386 MB, free: 73.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.8048, allocations: 83.61 kB / 386 MB, free: 73.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.8049, allocations: 29.5 kB / 386.1 MB, free: 73.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002055/0.8051, allocations: 136.4 kB / 386.2 MB, free: 73.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.8054, allocations: 93.47 kB / 386.3 MB, free: 73.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.8058, allocations: 106.8 kB / 386.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.8058, allocations: 3.812 kB / 386.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/0.8058, allocations: 10.39 kB / 386.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.8058, allocations: 3.75 kB / 386.4 MB, free: 73.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.8112, allocations: 2.172 MB / 388.6 MB, free: 72.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.8112, allocations: 5.844 kB / 388.6 MB, free: 72.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/0.812, allocations: 86.34 kB / 388.7 MB, free: 72.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007107/0.8128, allocations: 161.8 kB / 388.8 MB, free: 72.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.8129, allocations: 19.03 kB / 388.8 MB, free: 72.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004048/0.8169, allocations: 2.606 MB / 391.5 MB, free: 70.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.817, allocations: 4.688 kB / 391.5 MB, free: 70.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.8198, allocations: 1.349 MB / 392.8 MB, free: 69.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007763/0.8206, allocations: 261.4 kB / 393.1 MB, free: 69.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.8209, allocations: 11.72 kB / 393.1 MB, free: 69.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.822, allocations: 67.31 kB / 393.1 MB, free: 69.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.8223, allocations: 56.45 kB / 393.2 MB, free: 69.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.8224, allocations: 14.53 kB / 393.2 MB, free: 69.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001506/0.8239, allocations: 0.727 MB / 393.9 MB, free: 69.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.833e-06/0.8239, allocations: 3 kB / 393.9 MB, free: 69.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001972/0.8259, allocations: 342.9 kB / 394.3 MB, free: 69.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004132/0.8301, allocations: 2.207 MB / 396.5 MB, free: 67.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.8317, allocations: 0.6572 MB / 397.1 MB, free: 67.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.8318, allocations: 3.75 kB / 397.1 MB, free: 67.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.8332, allocations: 0.5196 MB / 397.7 MB, free: 67.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.8348, allocations: 159.4 kB / 397.8 MB, free: 66.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007154/0.842, allocations: 2.599 MB / 400.4 MB, free: 64.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.8432, allocations: 1.472 MB / 401.9 MB, free: 63.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009815/0.8442, allocations: 456.4 kB / 402.3 MB, free: 63.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.863e-06/0.8443, allocations: 0 / 402.3 MB, free: 63.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.125/3.969, allocations: 25.61 MB / 427.9 MB, free: 40.54 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.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat