Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.152e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/0.5414, allocations: 94.52 MB / 411.5 MB, free: 9.621 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.5418, allocations: 81.64 kB / 411.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667/2.209, allocations: 310.8 MB / 0.7055 GB, free: 74.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.209, allocations: 3.188 kB / 0.7055 GB, free: 74.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004858/2.21, allocations: 180.6 kB / 0.7056 GB, free: 74.27 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04849/2.258, allocations: 9.567 MB / 0.715 GB, free: 71.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/2.258, allocations: 11.31 kB / 0.715 GB, free: 71.81 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007371/2.266, allocations: 1.3 MB / 0.7163 GB, free: 71.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04596/2.312, allocations: 5.525 MB / 0.7217 GB, free: 71.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01992/2.332, allocations: 6.12 MB / 0.7276 GB, free: 70.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001185/2.333, allocations: 0.6344 MB / 0.7282 GB, free: 70.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004691/2.338, allocations: 0.8004 MB / 0.729 GB, free: 70.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05264/2.39, allocations: 16.57 MB / 0.7452 GB, free: 69.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003378/2.391, allocations: 14.47 kB / 0.7452 GB, free: 69.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003117/2.394, allocations: 352.5 kB / 0.7456 GB, free: 69.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009634/2.395, allocations: 0.7139 MB / 0.7463 GB, free: 69.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04453/2.439, allocations: 15.87 MB / 0.7618 GB, free: 65.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1306/2.57, allocations: 51.27 MB / 0.8118 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02918/2.599, allocations: 13.66 MB / 0.8252 GB, free: 16.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02392/2.623, allocations: 9.282 MB / 0.8342 GB, free: 8.566 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/2.625, allocations: 314.1 kB / 0.8345 GB, free: 8.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/2.625, allocations: 116.5 kB / 0.8346 GB, free: 8.184 MB / 442.7 MB Notification: Performance of pre-optimization done (n=968): time 1.543e-05/2.625, allocations: 0 / 0.8346 GB, free: 8.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=968): time 0.3831/3.008, allocations: 17.4 MB / 0.8516 GB, free: 67.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/3.008, allocations: 156.8 kB / 0.8518 GB, free: 67.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004398/3.013, allocations: 1.62 MB / 0.8534 GB, free: 67.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002348/3.015, allocations: 148.4 kB / 0.8535 GB, free: 67.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002386/3.018, allocations: 2.534 MB / 0.856 GB, free: 66.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005973/3.024, allocations: 3.151 MB / 0.8591 GB, free: 64.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/3.026, allocations: 130.7 kB / 0.8592 GB, free: 64.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001116/3.027, allocations: 0.6453 MB / 0.8598 GB, free: 64.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01697/3.044, allocations: 6.445 MB / 0.8661 GB, free: 64.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01806/3.062, allocations: 7.032 MB / 0.873 GB, free: 64.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/3.081, allocations: 7.46 MB / 0.8803 GB, free: 64.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-05/3.081, allocations: 0 / 0.8803 GB, free: 64.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.04924/3.13, allocations: 17.95 MB / 0.8978 GB, free: 62.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/3.13, allocations: 6.875 kB / 0.8978 GB, free: 62.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.716e-05/3.131, allocations: 7.812 kB / 0.8978 GB, free: 62.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02201/3.153, allocations: 6.587 MB / 0.9042 GB, free: 60.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/3.164, allocations: 1.166 MB / 0.9054 GB, free: 60.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02413/3.188, allocations: 12.72 MB / 0.9178 GB, free: 54.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008445/3.196, allocations: 0.784 MB / 0.9186 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002775/3.199, allocations: 270 kB / 0.9188 GB, free: 53.98 MB / 442.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 (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.004673/3.204, allocations: 423.1 kB / 0.9192 GB, free: 53.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002784/3.207, allocations: 406 kB / 0.9196 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05182/3.259, allocations: 19.34 MB / 0.9385 GB, free: 45.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004183/3.259, allocations: 275.2 kB / 0.9388 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/3.259, allocations: 3.406 kB / 0.9388 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001424/3.259, allocations: 38.25 kB / 0.9388 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08305/3.342, allocations: 34.08 MB / 0.9721 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000128/3.343, allocations: 2.688 kB / 0.9721 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01028/3.353, allocations: 1.094 MB / 0.9731 GB, free: 20.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02158/3.374, allocations: 6.586 MB / 0.9796 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002617/3.377, allocations: 209.5 kB / 0.9798 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02296/3.4, allocations: 12.67 MB / 0.9922 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/3.4, allocations: 0 / 0.9922 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4612/3.861, allocations: 30.28 MB / 1.022 GB, free: 81.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008508/3.87, allocations: 2.076 MB / 1.024 GB, free: 81.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003157/3.873, allocations: 134.6 kB / 1.024 GB, free: 81.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008379/3.882, allocations: 415.8 kB / 1.024 GB, free: 81.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004232/3.886, allocations: 0.7143 MB / 1.025 GB, free: 81.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001996/3.888, allocations: 258.1 kB / 1.025 GB, free: 81.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00303/3.891, allocations: 1.255 MB / 1.026 GB, free: 81.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.81e-07/3.891, allocations: 3.906 kB / 1.026 GB, free: 81.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0117/3.903, allocations: 2.389 MB / 1.029 GB, free: 81.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.0737/3.976, allocations: 29.43 MB / 1.058 GB, free: 80.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04185/4.018, allocations: 15.47 MB / 1.073 GB, free: 78.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/4.018, allocations: 4.375 kB / 1.073 GB, free: 78.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02476/4.043, allocations: 8.312 MB / 1.081 GB, free: 75.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007677/4.051, allocations: 0.5833 MB / 1.081 GB, free: 75.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0684/4.119, allocations: 22.61 MB / 1.103 GB, free: 67.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0181/4.137, allocations: 6.326 MB / 1.11 GB, free: 64.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01603/4.154, allocations: 1.819 MB / 1.111 GB, free: 64.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01251/4.166, allocations: 2.942 MB / 1.114 GB, free: 62.43 MB / 458.7 MB Notification: Performance of SimCode: time 2.785e-06/4.166, allocations: 4 kB / 1.114 GB, free: 62.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7813/4.947, allocations: 190.1 MB / 1.3 GB, free: 44.34 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/4.948, allocations: 217 kB / 1.3 GB, free: 44.11 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/11.85, allocations: 0 / 1.3 GB, free: 44.11 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat