Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.313e-05, allocations: 8 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09353, allocations: 44.5 MB / 299.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5332, allocations: 90.15 MB / 390.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5335, allocations: 86.78 kB / 390.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513/2.046, allocations: 312.6 MB / 0.6863 GB, free: 66.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/2.047, allocations: 0 / 0.6863 GB, free: 66.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006963/2.047, allocations: 176.1 kB / 0.6864 GB, free: 66.15 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.04936/2.097, allocations: 9.572 MB / 0.6958 GB, free: 63.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/2.097, allocations: 10.31 kB / 0.6958 GB, free: 63.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006393/2.103, allocations: 1.3 MB / 0.6971 GB, free: 63.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04477/2.148, allocations: 5.532 MB / 0.7025 GB, free: 63.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/2.168, allocations: 6.121 MB / 0.7084 GB, free: 62.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/2.169, allocations: 0.6336 MB / 0.7091 GB, free: 62.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004458/2.174, allocations: 0.8031 MB / 0.7098 GB, free: 62.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05142/2.225, allocations: 16.67 MB / 0.7261 GB, free: 61.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004556/2.226, allocations: 11.34 kB / 0.7261 GB, free: 61.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004091/2.23, allocations: 354.3 kB / 0.7265 GB, free: 61.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/2.231, allocations: 0.7139 MB / 0.7272 GB, free: 61.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04458/2.276, allocations: 15.98 MB / 0.7428 GB, free: 61.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1296/2.405, allocations: 51.26 MB / 0.7928 GB, free: 38.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02844/2.434, allocations: 13.72 MB / 0.8062 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02031/2.454, allocations: 9.283 MB / 0.8153 GB, free: 17.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/2.456, allocations: 312.2 kB / 0.8156 GB, free: 17.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/2.456, allocations: 119.7 kB / 0.8157 GB, free: 16.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.542e-05/2.456, allocations: 0 / 0.8157 GB, free: 16.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.05243/2.508, allocations: 17.25 MB / 0.8326 GB, free: 1.746 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/2.509, allocations: 155.2 kB / 0.8327 GB, free: 1.574 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/2.513, allocations: 1.626 MB / 0.8343 GB, free: 156 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002158/2.515, allocations: 149.7 kB / 0.8344 GB, free: 0 / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.365/2.88, allocations: 2.474 MB / 0.8369 GB, free: 64.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007099/2.887, allocations: 3.15 MB / 0.8399 GB, free: 62.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003091/2.89, allocations: 132.3 kB / 0.8401 GB, free: 62.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001283/2.891, allocations: 0.6504 MB / 0.8407 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01818/2.91, allocations: 6.449 MB / 0.847 GB, free: 62.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01777/2.927, allocations: 7.063 MB / 0.8539 GB, free: 62.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/2.946, allocations: 7.459 MB / 0.8612 GB, free: 61.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.406e-05/2.946, allocations: 3.531 kB / 0.8612 GB, free: 61.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.04593/2.992, allocations: 17.86 MB / 0.8786 GB, free: 61.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/2.992, allocations: 8.875 kB / 0.8786 GB, free: 61.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.44e-05/2.992, allocations: 3.906 kB / 0.8786 GB, free: 61.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02087/3.013, allocations: 6.577 MB / 0.885 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01071/3.023, allocations: 1.166 MB / 0.8862 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/3.047, allocations: 12.73 MB / 0.8986 GB, free: 57.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008493/3.056, allocations: 0.7823 MB / 0.8994 GB, free: 56.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002431/3.058, allocations: 272.1 kB / 0.8996 GB, free: 56.92 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.003164/3.062, allocations: 420.6 kB / 0.9 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002198/3.064, allocations: 408.3 kB / 0.9004 GB, free: 56.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05064/3.114, allocations: 19.34 MB / 0.9193 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000496/3.115, allocations: 275.7 kB / 0.9196 GB, free: 48.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.233e-05/3.115, allocations: 0 / 0.9196 GB, free: 48.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001694/3.115, allocations: 43.38 kB / 0.9196 GB, free: 48.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08622/3.201, allocations: 34.06 MB / 0.9529 GB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001194/3.202, allocations: 6.953 kB / 0.9529 GB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009975/3.212, allocations: 1.107 MB / 0.954 GB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02106/3.233, allocations: 6.588 MB / 0.9604 GB, free: 19.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002445/3.235, allocations: 201.4 kB / 0.9606 GB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02313/3.258, allocations: 12.69 MB / 0.973 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/3.258, allocations: 0 / 0.973 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.416/3.674, allocations: 30.39 MB / 1.003 GB, free: 59.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007696/3.682, allocations: 2.075 MB / 1.005 GB, free: 59.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002894/3.685, allocations: 127.6 kB / 1.005 GB, free: 59.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007774/3.693, allocations: 420.6 kB / 1.005 GB, free: 59.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003595/3.697, allocations: 0.7166 MB / 1.006 GB, free: 59.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002088/3.699, allocations: 257.9 kB / 1.006 GB, free: 59.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002898/3.702, allocations: 1.258 MB / 1.007 GB, free: 59.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/3.702, allocations: 0.9375 kB / 1.007 GB, free: 59.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01163/3.713, allocations: 2.394 MB / 1.01 GB, free: 59.44 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.07472/3.788, allocations: 29.43 MB / 1.038 GB, free: 58.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04285/3.831, allocations: 15.54 MB / 1.054 GB, free: 53.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.507e-05/3.831, allocations: 3.938 kB / 1.054 GB, free: 53.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02563/3.857, allocations: 8.352 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.007371/3.864, allocations: 0.5909 MB / 1.062 GB, free: 50.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06609/3.93, allocations: 22.54 MB / 1.084 GB, free: 40.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01338/3.944, allocations: 6.25 MB / 1.09 GB, free: 36.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008758/3.952, allocations: 2.992 MB / 1.093 GB, free: 33.31 MB / 426.7 MB Notification: Performance of SimCode: time 2.054e-06/3.952, allocations: 0 / 1.093 GB, free: 33.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.26/9.213, allocations: 359 MB / 1.444 GB, free: 49.58 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat