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.853/1.853, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.419e-05/4.44e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.566, allocations: 90.14 MB / 390.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5664, allocations: 79.75 kB / 390.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.789/2.355, allocations: 312.6 MB / 0.6863 GB, free: 65.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.446e-06/2.355, allocations: 1.188 kB / 0.6863 GB, free: 65.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000755/2.356, allocations: 176.7 kB / 0.6865 GB, free: 65.56 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.04968/2.406, allocations: 9.573 MB / 0.6958 GB, free: 63.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/2.406, allocations: 10.88 kB / 0.6958 GB, free: 63.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006593/2.413, allocations: 1.302 MB / 0.6971 GB, free: 63.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0454/2.458, allocations: 5.52 MB / 0.7025 GB, free: 62.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02128/2.479, allocations: 6.139 MB / 0.7085 GB, free: 61.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001258/2.481, allocations: 0.6293 MB / 0.7091 GB, free: 61.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0049/2.486, allocations: 0.7999 MB / 0.7099 GB, free: 61.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05296/2.539, allocations: 16.66 MB / 0.7261 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004715/2.539, allocations: 7.812 kB / 0.7262 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00423/2.543, allocations: 353.2 kB / 0.7265 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00111/2.545, allocations: 0.7203 MB / 0.7272 GB, free: 60.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04577/2.59, allocations: 15.98 MB / 0.7428 GB, free: 60.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1331/2.724, allocations: 51.26 MB / 0.7929 GB, free: 37.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02993/2.754, allocations: 13.72 MB / 0.8063 GB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02107/2.775, allocations: 9.284 MB / 0.8153 GB, free: 16.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/2.776, allocations: 314.1 kB / 0.8156 GB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/2.777, allocations: 113.7 kB / 0.8157 GB, free: 16.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.542e-05/2.777, allocations: 0 / 0.8157 GB, free: 16.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.07595/2.852, allocations: 17.25 MB / 0.8326 GB, free: 1.246 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000199/2.853, allocations: 159.2 kB / 0.8327 GB, free: 1.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3383/3.191, allocations: 1.619 MB / 0.8343 GB, free: 64.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002258/3.193, allocations: 147.8 kB / 0.8345 GB, free: 64.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002329/3.196, allocations: 2.541 MB / 0.8369 GB, free: 63.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005572/3.201, allocations: 3.146 MB / 0.84 GB, free: 61.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00246/3.204, allocations: 131.1 kB / 0.8401 GB, free: 61.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001293/3.205, allocations: 0.6413 MB / 0.8408 GB, free: 61.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01901/3.224, allocations: 6.453 MB / 0.8471 GB, free: 61.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01879/3.243, allocations: 7.064 MB / 0.854 GB, free: 61.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0191/3.262, allocations: 7.461 MB / 0.8612 GB, free: 61.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.529e-05/3.262, allocations: 2.656 kB / 0.8612 GB, free: 61.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.05074/3.313, allocations: 17.96 MB / 0.8788 GB, free: 60.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/3.313, allocations: 9.656 kB / 0.8788 GB, free: 60.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-05/3.313, allocations: 10.62 kB / 0.8788 GB, free: 60.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02356/3.337, allocations: 6.578 MB / 0.8852 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/3.348, allocations: 1.171 MB / 0.8864 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/3.372, allocations: 12.73 MB / 0.8988 GB, free: 56.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008283/3.381, allocations: 0.7887 MB / 0.8996 GB, free: 55.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002605/3.383, allocations: 269.4 kB / 0.8998 GB, free: 55.86 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.004503/3.388, allocations: 421.4 kB / 0.9002 GB, free: 55.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002737/3.391, allocations: 412 kB / 0.9006 GB, free: 55.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05506/3.446, allocations: 19.33 MB / 0.9195 GB, free: 47.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004754/3.446, allocations: 278.2 kB / 0.9198 GB, free: 47.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.566e-05/3.446, allocations: 1.422 kB / 0.9198 GB, free: 47.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001639/3.447, allocations: 42.48 kB / 0.9198 GB, free: 47.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1023/3.549, allocations: 34.08 MB / 0.9531 GB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001569/3.549, allocations: 0 / 0.9531 GB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0103/3.559, allocations: 1.102 MB / 0.9542 GB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0229/3.582, allocations: 6.59 MB / 0.9606 GB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002611/3.585, allocations: 208.1 kB / 0.9608 GB, free: 18.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0249/3.61, allocations: 12.68 MB / 0.9732 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/3.61, allocations: 0 / 0.9732 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4909/4.101, allocations: 30.64 MB / 1.003 GB, free: 59.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008269/4.109, allocations: 2.076 MB / 1.005 GB, free: 59.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003294/4.113, allocations: 129.1 kB / 1.005 GB, free: 59.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008143/4.121, allocations: 421.1 kB / 1.006 GB, free: 59.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003871/4.125, allocations: 0.7107 MB / 1.006 GB, free: 59.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00254/4.127, allocations: 258.6 kB / 1.007 GB, free: 59.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002865/4.13, allocations: 1.258 MB / 1.008 GB, free: 59.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/4.13, allocations: 3.156 kB / 1.008 GB, free: 59.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01198/4.142, allocations: 2.387 MB / 1.01 GB, free: 59.48 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.08059/4.223, allocations: 29.43 MB / 1.039 GB, free: 58.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04469/4.268, allocations: 15.55 MB / 1.054 GB, free: 53.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/4.268, allocations: 0 / 1.054 GB, free: 53.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02646/4.294, allocations: 8.347 MB / 1.062 GB, free: 50.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008263/4.303, allocations: 0.5908 MB / 1.063 GB, free: 50.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0733/4.376, allocations: 22.65 MB / 1.085 GB, free: 40.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01388/4.39, allocations: 6.33 MB / 1.091 GB, free: 35.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01065/4.401, allocations: 1.818 MB / 1.093 GB, free: 34.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009023/4.41, allocations: 2.948 MB / 1.096 GB, free: 32.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/4.41, allocations: 0 / 1.096 GB, free: 32.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7617/5.171, allocations: 190.4 MB / 1.282 GB, free: 21.01 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/5.172, allocations: 230 kB / 1.282 GB, free: 20.78 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.44/12.61, allocations: 0 / 1.282 GB, free: 20.78 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