Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.172e-05, allocations: 0 / 292.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 50.41 MB / 342.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4498/0.5631, allocations: 81.2 MB / 423.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5635, allocations: 87.12 kB / 423.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04132/0.6048, allocations: 8.351 MB / 432.3 MB, free: 5.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6049, allocations: 0 / 432.3 MB, free: 5.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.6049, allocations: 8 kB / 432.3 MB, free: 5.52 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001678/0.6066, allocations: 0.5789 MB / 432.9 MB, free: 4.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/0.6067, allocations: 8.031 kB / 432.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.6069, allocations: 73.53 kB / 433 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.607, allocations: 35.53 kB / 433 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.6076, allocations: 275.1 kB / 433.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.6077, allocations: 22.03 kB / 433.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.6078, allocations: 34.3 kB / 433.3 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.6085, allocations: 258.5 kB / 433.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6085, allocations: 0 / 433.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.6086, allocations: 14.7 kB / 433.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6086, allocations: 8 kB / 433.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.6092, allocations: 205.7 kB / 433.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.6123, allocations: 1.136 MB / 434.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.6128, allocations: 136.4 kB / 435.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.6129, allocations: 52.3 kB / 435.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.613, allocations: 7.938 kB / 435.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6131, allocations: 33.94 kB / 435.1 MB, free: 2.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.695e-06/0.6131, allocations: 0 / 435.1 MB, free: 2.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002669/0.6157, allocations: 0.5058 MB / 435.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.6158, allocations: 55.59 kB / 435.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.6163, allocations: 249.4 kB / 436 MB, free: 2.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.6164, allocations: 29.52 kB / 436 MB, free: 2.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.6166, allocations: 228.7 kB / 436.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/0.6167, allocations: 79.91 kB / 436.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.6167, allocations: 3.625 kB / 436.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6169, allocations: 337.1 kB / 436.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.6171, allocations: 71.69 kB / 436.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.6174, allocations: 163.3 kB / 436.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.6177, allocations: 96.47 kB / 436.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6178, allocations: 4 kB / 436.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009297/0.6187, allocations: 328.2 kB / 437.3 MB, free: 1.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.6188, allocations: 8 kB / 437.3 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6188, allocations: 0 / 437.3 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.6192, allocations: 67.8 kB / 437.3 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.6199, allocations: 75.83 kB / 437.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.6229, allocations: 2.637 MB / 440 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.6235, allocations: 27.41 kB / 440.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.6236, allocations: 15.12 kB / 440.1 MB, free: 14.08 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 (37): * Single equations (assignments): 35 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.6237, allocations: 124.2 kB / 440.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.6238, allocations: 26.78 kB / 440.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.6239, allocations: 35.84 kB / 440.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6239, allocations: 0 / 440.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.624, allocations: 4 kB / 440.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.624, allocations: 0 / 440.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.6246, allocations: 331.2 kB / 440.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6246, allocations: 0 / 440.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.6251, allocations: 47.91 kB / 440.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.6254, allocations: 60.17 kB / 440.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.6255, allocations: 0 / 440.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.6284, allocations: 2.633 MB / 443.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6284, allocations: 0 / 443.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.6292, allocations: 329.9 kB / 443.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.6293, allocations: 100.8 kB / 443.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.6294, allocations: 3.875 kB / 443.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.6298, allocations: 23.66 kB / 443.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6299, allocations: 15.97 kB / 443.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.63, allocations: 7.438 kB / 443.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003219/0.6303, allocations: 197.8 kB / 444 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6303, allocations: 4 kB / 444 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006607/0.631, allocations: 74.25 kB / 444.1 MB, free: 10.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.6322, allocations: 0.8635 MB / 444.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.6332, allocations: 408.8 kB / 445.3 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6333, allocations: 0 / 445.3 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.6339, allocations: 306.6 kB / 445.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.6343, allocations: 29.94 kB / 445.7 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.6359, allocations: 393.3 kB / 446.1 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.6364, allocations: 0.7868 MB / 446.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.6367, allocations: 26.06 kB / 446.9 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.637, allocations: 99.03 kB / 447 MB, free: 7.297 MB / 362.7 MB Notification: Performance of SimCode: time 1.283e-06/0.637, allocations: 0 / 447 MB, free: 7.297 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.6756, allocations: 5.192 MB / 452.2 MB, free: 2.242 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.6759, allocations: 216.7 kB / 452.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.492, allocations: 0 / 452.4 MB, free: 2.016 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat does not exist to compare? outputFormat=mat