Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.978e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 50.41 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5411, allocations: 81.62 MB / 424.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/0.5416, allocations: 88.88 kB / 424.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05808/0.5997, allocations: 12.21 MB / 436.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5997, allocations: 0 / 436.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.5997, allocations: 8 kB / 436.6 MB, free: 1.816 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002075/0.6018, allocations: 0.7246 MB / 437.3 MB, free: 1.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6019, allocations: 15.97 kB / 437.3 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.6021, allocations: 91.58 kB / 437.4 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.6022, allocations: 63.25 kB / 437.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007084/0.6029, allocations: 350.8 kB / 437.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.603, allocations: 38.12 kB / 437.8 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.6031, allocations: 49.06 kB / 437.9 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/0.6041, allocations: 391.2 kB / 438.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.6042, allocations: 0 / 438.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.6042, allocations: 22.2 kB / 438.3 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.6043, allocations: 12 kB / 438.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/0.6052, allocations: 332.9 kB / 438.6 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/0.6094, allocations: 1.597 MB / 440.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.6104, allocations: 378.8 kB / 440.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.6109, allocations: 172.5 kB / 440.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.611, allocations: 4.328 kB / 440.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.611, allocations: 38.52 kB / 440.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.936e-06/0.611, allocations: 96 / 440.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.004522/0.6156, allocations: 1.063 MB / 441.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.6157, allocations: 63.64 kB / 441.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005923/0.6163, allocations: 349.1 kB / 442.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/0.6164, allocations: 36.27 kB / 442.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.6166, allocations: 299.3 kB / 442.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.6168, allocations: 190.5 kB / 442.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.6169, allocations: 15.31 kB / 442.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.6171, allocations: 351.9 kB / 443.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.6175, allocations: 145.3 kB / 443.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.6181, allocations: 261.5 kB / 443.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.6186, allocations: 183.2 kB / 443.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.6186, allocations: 0 / 443.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001831/0.6205, allocations: 0.6705 MB / 444.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.6205, allocations: 4 kB / 444.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.6205, allocations: 4 kB / 444.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008712/0.6214, allocations: 183 kB / 444.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009936/0.6224, allocations: 118.1 kB / 444.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.6283, allocations: 3.877 MB / 448.6 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.6292, allocations: 44.95 kB / 448.6 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.6293, allocations: 23.38 kB / 448.6 MB, free: 7.324 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.6295, allocations: 139 kB / 448.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.6296, allocations: 47.5 kB / 448.8 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.6298, allocations: 63.92 kB / 448.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6298, allocations: 4 kB / 448.9 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.6299, allocations: 7.938 kB / 448.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6299, allocations: 0 / 448.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.6329, allocations: 1.23 MB / 450.1 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.6329, allocations: 4 kB / 450.1 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/0.6336, allocations: 67.89 kB / 450.2 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007287/0.6343, allocations: 154.3 kB / 450.3 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.6344, allocations: 15 kB / 450.4 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005158/0.6396, allocations: 3.701 MB / 454.1 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6396, allocations: 3.938 kB / 454.1 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.6412, allocations: 0.6799 MB / 454.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.6414, allocations: 120.5 kB / 454.9 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.6415, allocations: 15.98 kB / 454.9 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.642, allocations: 31.94 kB / 454.9 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.6422, allocations: 44.38 kB / 455 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.6423, allocations: 16 kB / 455 MB, free: 1.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000467/0.6428, allocations: 269.2 kB / 455.2 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6428, allocations: 0 / 455.2 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001044/0.6438, allocations: 152 kB / 455.4 MB, free: 0.8281 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002075/0.6459, allocations: 1.508 MB / 456.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.6478, allocations: 0.6871 MB / 457.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6479, allocations: 0 / 457.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.649, allocations: 482.4 kB / 458 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.6496, allocations: 38.03 kB / 458.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.6521, allocations: 0.7121 MB / 458.8 MB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.6526, allocations: 0.8756 MB / 459.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003733/0.653, allocations: 44.36 kB / 459.7 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.6534, allocations: 175.4 kB / 459.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6534, allocations: 0 / 459.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05226/0.7057, allocations: 8.821 MB / 468.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.7061, allocations: 195.4 kB / 468.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/3.728, allocations: 0 / 468.9 MB, free: 3.215 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat