Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.088e-05/5.098e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 50.41 MB / 342.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4734/0.6138, allocations: 96.39 MB / 439.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.6142, allocations: 82.39 kB / 439.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615/2.229, allocations: 315 MB / 0.7364 GB, free: 80.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.274e-06/2.229, allocations: 0 / 0.7364 GB, free: 80.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005805/2.229, allocations: 171.6 kB / 0.7366 GB, free: 80.14 MB / 458.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.04793/2.277, allocations: 9.576 MB / 0.7459 GB, free: 77.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/2.277, allocations: 14.25 kB / 0.7459 GB, free: 77.67 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006491/2.284, allocations: 1.301 MB / 0.7472 GB, free: 77.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04602/2.33, allocations: 5.525 MB / 0.7526 GB, free: 77.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02175/2.352, allocations: 6.321 MB / 0.7588 GB, free: 76.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008271/2.353, allocations: 0.6086 MB / 0.7594 GB, free: 76.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004491/2.357, allocations: 0.8051 MB / 0.7602 GB, free: 76.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04785/2.405, allocations: 15.45 MB / 0.7753 GB, free: 74.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003794/2.406, allocations: 14.52 kB / 0.7753 GB, free: 74.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003307/2.409, allocations: 357.1 kB / 0.7756 GB, free: 73.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001224/2.41, allocations: 0.8261 MB / 0.7764 GB, free: 73.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0482/2.458, allocations: 14.25 MB / 0.7903 GB, free: 67.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/2.57, allocations: 47.7 MB / 0.8369 GB, free: 26.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02975/2.6, allocations: 19.16 MB / 0.8556 GB, free: 5.227 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00905/2.609, allocations: 3.5 MB / 0.859 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007895/2.61, allocations: 181.5 kB / 0.8592 GB, free: 1.555 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.255e-05/2.61, allocations: 90.5 kB / 0.8593 GB, free: 1.457 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 7.634e-06/2.61, allocations: 0 / 0.8593 GB, free: 1.457 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.358/2.968, allocations: 7.131 MB / 0.8663 GB, free: 75.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/2.968, allocations: 130 kB / 0.8664 GB, free: 75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00949/2.978, allocations: 3.425 MB / 0.8697 GB, free: 74.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001037/2.979, allocations: 102.4 kB / 0.8698 GB, free: 74.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003739/2.983, allocations: 3.898 MB / 0.8736 GB, free: 72.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00255/2.985, allocations: 1.608 MB / 0.8752 GB, free: 71.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/2.987, allocations: 150.2 kB / 0.8753 GB, free: 71.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007001/2.987, allocations: 0.6068 MB / 0.8759 GB, free: 71.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/2.997, allocations: 3.59 MB / 0.8794 GB, free: 71.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01227/3.01, allocations: 6.347 MB / 0.8856 GB, free: 68.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/3.022, allocations: 5.162 MB / 0.8907 GB, free: 68.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002048/3.022, allocations: 28.12 kB / 0.8907 GB, free: 68.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03415/3.056, allocations: 11.48 MB / 0.9019 GB, free: 67.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/3.056, allocations: 46.2 kB / 0.902 GB, free: 67.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/3.057, allocations: 92.06 kB / 0.9021 GB, free: 67.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00858/3.065, allocations: 1.612 MB / 0.9036 GB, free: 67.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/3.077, allocations: 1.664 MB / 0.9053 GB, free: 67.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02627/3.104, allocations: 16.16 MB / 0.921 GB, free: 59.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008985/3.113, allocations: 0.9489 MB / 0.922 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/3.115, allocations: 354.8 kB / 0.9223 GB, free: 58.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002493/3.117, allocations: 0.5647 MB / 0.9229 GB, free: 58.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/3.118, allocations: 390.8 kB / 0.9232 GB, free: 58.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02623/3.145, allocations: 8.441 MB / 0.9315 GB, free: 56.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.756e-05/3.145, allocations: 50.03 kB / 0.9315 GB, free: 56.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.186e-05/3.145, allocations: 13.64 kB / 0.9315 GB, free: 56.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/3.145, allocations: 27.95 kB / 0.9316 GB, free: 56.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05098/3.196, allocations: 16.77 MB / 0.9479 GB, free: 50.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/3.196, allocations: 3.875 kB / 0.9479 GB, free: 50.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007545/3.204, allocations: 0.8616 MB / 0.9488 GB, free: 50.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008547/3.212, allocations: 1.483 MB / 0.9502 GB, free: 50.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001316/3.214, allocations: 109.3 kB / 0.9503 GB, free: 50.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02696/3.241, allocations: 15.96 MB / 0.9659 GB, free: 38.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/3.241, allocations: 3.469 kB / 0.9659 GB, free: 38.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03278/3.273, allocations: 12.22 MB / 0.9779 GB, free: 32.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004208/3.278, allocations: 1.115 MB / 0.979 GB, free: 31.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/3.28, allocations: 88.06 kB / 0.979 GB, free: 31.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006074/3.286, allocations: 309.4 kB / 0.9793 GB, free: 30.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00168/3.287, allocations: 326 kB / 0.9796 GB, free: 30.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007988/3.288, allocations: 135.8 kB / 0.9798 GB, free: 30.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006279/3.295, allocations: 2.512 MB / 0.9822 GB, free: 28.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.31e-07/3.295, allocations: 4 kB / 0.9822 GB, free: 28.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01177/3.306, allocations: 2.389 MB / 0.9846 GB, free: 26.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04233/3.349, allocations: 13.51 MB / 0.9978 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03067/3.38, allocations: 8.95 MB / 1.006 GB, free: 6.094 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/3.38, allocations: 3.656 kB / 1.007 GB, free: 6.094 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0119/3.392, allocations: 4.306 MB / 1.011 GB, free: 2.184 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006175/3.398, allocations: 0.6312 MB / 1.011 GB, free: 1.668 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05982/3.458, allocations: 16.97 MB / 1.028 GB, free: 3.016 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3693/3.827, allocations: 6.87 MB / 1.035 GB, free: 79.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01775/3.845, allocations: 3.299 MB / 1.038 GB, free: 79.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00889/3.854, allocations: 3.005 MB / 1.041 GB, free: 79.29 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/3.854, allocations: 0 / 1.041 GB, free: 79.29 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3296/4.183, allocations: 122.5 MB / 1.16 GB, free: 26.42 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/4.184, allocations: 217.1 kB / 1.161 GB, free: 26.19 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.107/10.29, allocations: 4 kB / 1.161 GB, free: 26.18 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat