Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.903/1.903, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.104e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.582, allocations: 90.16 MB / 390.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5823, allocations: 82.03 kB / 390.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593/2.175, allocations: 312.6 MB / 0.6863 GB, free: 65.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.175, allocations: 0 / 0.6863 GB, free: 65.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007533/2.176, allocations: 181.1 kB / 0.6865 GB, free: 65.9 MB / 426.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.05209/2.228, allocations: 9.562 MB / 0.6958 GB, free: 63.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/2.228, allocations: 14.5 kB / 0.6959 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007025/2.235, allocations: 1.302 MB / 0.6971 GB, free: 63.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04931/2.285, allocations: 5.521 MB / 0.7025 GB, free: 62.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03123/2.316, allocations: 6.122 MB / 0.7085 GB, free: 62.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001796/2.318, allocations: 0.6341 MB / 0.7091 GB, free: 62.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006831/2.325, allocations: 0.8057 MB / 0.7099 GB, free: 62.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05704/2.382, allocations: 16.57 MB / 0.7261 GB, free: 61.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005352/2.383, allocations: 7.812 kB / 0.7261 GB, free: 61.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004609/2.387, allocations: 360.3 kB / 0.7264 GB, free: 61.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/2.388, allocations: 0.7139 MB / 0.7271 GB, free: 61.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04522/2.434, allocations: 15.87 MB / 0.7426 GB, free: 61.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1339/2.568, allocations: 51.26 MB / 0.7927 GB, free: 38.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02961/2.597, allocations: 13.66 MB / 0.806 GB, free: 25.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02123/2.619, allocations: 9.289 MB / 0.8151 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/2.62, allocations: 313.3 kB / 0.8154 GB, free: 17.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/2.62, allocations: 120.6 kB / 0.8155 GB, free: 16.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.518e-05/2.62, allocations: 0 / 0.8155 GB, free: 16.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.05328/2.674, allocations: 17.24 MB / 0.8324 GB, free: 1.848 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/2.674, allocations: 162 kB / 0.8325 GB, free: 1.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004391/2.678, allocations: 1.621 MB / 0.8341 GB, free: 256 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002345/2.681, allocations: 153.7 kB / 0.8342 GB, free: 96 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3434/3.024, allocations: 2.558 MB / 0.8367 GB, free: 64.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007407/3.032, allocations: 3.149 MB / 0.8398 GB, free: 62.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002584/3.034, allocations: 132.8 kB / 0.8399 GB, free: 62.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0014/3.036, allocations: 0.6408 MB / 0.8406 GB, free: 62.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01847/3.054, allocations: 6.443 MB / 0.8469 GB, free: 62.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01846/3.073, allocations: 7.026 MB / 0.8537 GB, free: 62.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02294/3.096, allocations: 7.463 MB / 0.861 GB, free: 61.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.448e-05/3.096, allocations: 0 / 0.861 GB, free: 61.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.06554/3.161, allocations: 17.96 MB / 0.8785 GB, free: 61.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/3.162, allocations: 10.97 kB / 0.8786 GB, free: 61.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.066e-05/3.162, allocations: 3.969 kB / 0.8786 GB, free: 61.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02265/3.184, allocations: 6.575 MB / 0.885 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01069/3.195, allocations: 1.168 MB / 0.8861 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02433/3.219, allocations: 12.72 MB / 0.8985 GB, free: 57.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008359/3.228, allocations: 0.7914 MB / 0.8993 GB, free: 56.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00257/3.23, allocations: 269.4 kB / 0.8996 GB, free: 56.75 MB / 426.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.004931/3.235, allocations: 421.1 kB / 0.9 GB, free: 56.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003147/3.239, allocations: 414.5 kB / 0.9004 GB, free: 56.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05601/3.295, allocations: 19.33 MB / 0.9192 GB, free: 48.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004882/3.295, allocations: 279.8 kB / 0.9195 GB, free: 48.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.333e-05/3.295, allocations: 2.938 kB / 0.9195 GB, free: 48.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001735/3.295, allocations: 37.55 kB / 0.9196 GB, free: 48.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1268/3.422, allocations: 34.07 MB / 0.9528 GB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002096/3.423, allocations: 0 / 0.9528 GB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0122/3.435, allocations: 1.096 MB / 0.9539 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02127/3.456, allocations: 6.59 MB / 0.9603 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002508/3.459, allocations: 208.1 kB / 0.9605 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/3.481, allocations: 12.68 MB / 0.9729 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/3.481, allocations: 2.484 kB / 0.9729 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4387/3.92, allocations: 30.32 MB / 1.003 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008435/3.928, allocations: 2.077 MB / 1.005 GB, free: 59.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003227/3.932, allocations: 135.4 kB / 1.005 GB, free: 59.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008311/3.94, allocations: 412.6 kB / 1.005 GB, free: 59.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003972/3.944, allocations: 0.7146 MB / 1.006 GB, free: 59.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002606/3.947, allocations: 259 kB / 1.006 GB, free: 59.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003117/3.95, allocations: 1.264 MB / 1.007 GB, free: 59.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.112e-06/3.95, allocations: 0 / 1.007 GB, free: 59.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01178/3.962, allocations: 2.387 MB / 1.01 GB, free: 59.3 MB / 426.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.0768/4.039, allocations: 29.43 MB / 1.038 GB, free: 57.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04392/4.083, allocations: 15.46 MB / 1.053 GB, free: 53.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/4.083, allocations: 5.938 kB / 1.053 GB, free: 53.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02593/4.109, allocations: 8.316 MB / 1.062 GB, free: 50.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00755/4.116, allocations: 0.5904 MB / 1.062 GB, free: 50.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07185/4.188, allocations: 22.61 MB / 1.084 GB, free: 41.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01478/4.203, allocations: 6.327 MB / 1.09 GB, free: 36.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01131/4.214, allocations: 1.817 MB / 1.092 GB, free: 35.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008938/4.223, allocations: 2.944 MB / 1.095 GB, free: 32.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/4.223, allocations: 3.609 kB / 1.095 GB, free: 32.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7449/4.968, allocations: 189.9 MB / 1.281 GB, free: 22.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/4.969, allocations: 224.7 kB / 1.281 GB, free: 21.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/12.6, allocations: 7.969 kB / 1.281 GB, free: 21.81 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat