Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.458e-05, allocations: 2.812 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5449, allocations: 88.38 MB / 431 MB, free: 5.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.5452, allocations: 85.7 kB / 431.1 MB, free: 5.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1484/0.6937, allocations: 35.49 MB / 466.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6937, allocations: 0 / 466.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.052e-05/0.6938, allocations: 24 kB / 466.6 MB, free: 6.336 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.008056/0.7019, allocations: 1.479 MB / 468.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.702, allocations: 12.03 kB / 468.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005765/0.7026, allocations: 186.2 kB / 468.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.7074, allocations: 462.2 kB / 468.8 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.708, allocations: 293.7 kB / 469 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.7082, allocations: 98.58 kB / 469.1 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/0.7087, allocations: 139.9 kB / 469.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.7122, allocations: 1.201 MB / 470.5 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.7123, allocations: 4 kB / 470.5 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.7125, allocations: 59.89 kB / 470.5 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.7125, allocations: 31.94 kB / 470.6 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.716, allocations: 1.071 MB / 471.6 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.7276, allocations: 4.256 MB / 475.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.7312, allocations: 2.226 MB / 478.1 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.7328, allocations: 0.5118 MB / 478.6 MB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.733, allocations: 106.1 kB / 478.7 MB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.7331, allocations: 43.56 kB / 478.8 MB, free: 9.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 4.138e-06/0.7331, allocations: 0 / 478.8 MB, free: 9.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.01285/0.7459, allocations: 2.783 MB / 481.6 MB, free: 6.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.7461, allocations: 90.11 kB / 481.6 MB, free: 6.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.7467, allocations: 343.4 kB / 482 MB, free: 6.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.7469, allocations: 45.7 kB / 482 MB, free: 6.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.7473, allocations: 458.9 kB / 482.5 MB, free: 5.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005065/0.7478, allocations: 425.7 kB / 482.9 MB, free: 5.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.7479, allocations: 24 kB / 482.9 MB, free: 5.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.7481, allocations: 374.8 kB / 483.3 MB, free: 4.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.7492, allocations: 348 kB / 483.6 MB, free: 4.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.7506, allocations: 0.6125 MB / 484.2 MB, free: 3.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.7519, allocations: 453 kB / 484.7 MB, free: 3.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.7519, allocations: 0 / 484.7 MB, free: 3.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003934/0.7558, allocations: 1.291 MB / 486 MB, free: 2.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.7559, allocations: 8 kB / 486 MB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.756, allocations: 8 kB / 486 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000905/0.7569, allocations: 189.6 kB / 486.2 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.7595, allocations: 307.5 kB / 486.5 MB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007113/0.7667, allocations: 3.963 MB / 490.4 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.7686, allocations: 91.91 kB / 490.5 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.7688, allocations: 60.17 kB / 490.6 MB, free: 13.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * 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.0003481/0.7692, allocations: 180.6 kB / 490.8 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.7694, allocations: 71.09 kB / 490.8 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.7731, allocations: 1.199 MB / 492 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.7731, allocations: 15.94 kB / 492 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.7732, allocations: 4 kB / 492 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.7732, allocations: 7.969 kB / 492.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006651/0.7798, allocations: 2.361 MB / 494.4 MB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.7799, allocations: 4 kB / 494.4 MB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/0.7821, allocations: 227.8 kB / 494.6 MB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007969/0.7829, allocations: 169.5 kB / 494.8 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.7831, allocations: 31.97 kB / 494.8 MB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005625/0.7887, allocations: 3.767 MB / 498.6 MB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.7888, allocations: 4.062 kB / 498.6 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/0.7934, allocations: 1.686 MB / 0.4886 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006781/0.7942, allocations: 232.2 kB / 0.4888 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.7944, allocations: 24.06 kB / 0.4888 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.7958, allocations: 71.95 kB / 0.4889 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.7962, allocations: 104.8 kB / 0.489 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.7963, allocations: 35.98 kB / 0.489 GB, free: 2.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004829/0.7968, allocations: 254.2 kB / 0.4893 GB, free: 2.387 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7969, allocations: 4 kB / 0.4893 GB, free: 2.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001982/0.7988, allocations: 315.9 kB / 0.4896 GB, free: 2.074 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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.005499/0.8044, allocations: 2.616 MB / 0.4921 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003559/0.808, allocations: 1.241 MB / 0.4933 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.8081, allocations: 4.062 kB / 0.4933 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.81, allocations: 0.7605 MB / 0.4941 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.8106, allocations: 61.34 kB / 0.4941 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/0.8169, allocations: 1.529 MB / 0.4956 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.8177, allocations: 1.025 MB / 0.4966 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001436/0.8192, allocations: 150.6 kB / 0.4968 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/0.8202, allocations: 355.3 kB / 0.4971 GB, free: 10.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8202, allocations: 0 / 0.4971 GB, free: 10.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09498/0.9152, allocations: 16.5 MB / 0.5132 GB, free: 9.801 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.9155, allocations: 212.2 kB / 0.5134 GB, free: 9.574 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/4.131, allocations: 0 / 0.5134 GB, free: 9.574 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat