Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.936e-05, allocations: 0 / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 50.4 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5463, allocations: 81.32 MB / 424 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.5466, allocations: 78.39 kB / 424 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03426/0.5809, allocations: 7.139 MB / 431.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.581, allocations: 0 / 431.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.581, allocations: 12 kB / 431.2 MB, free: 6.781 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001377/0.5824, allocations: 0.5188 MB / 431.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.5825, allocations: 16.03 kB / 431.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.5826, allocations: 59.23 kB / 431.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.5827, allocations: 39.55 kB / 431.8 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.5832, allocations: 255.2 kB / 432.1 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.5833, allocations: 23 kB / 432.1 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.5833, allocations: 23.12 kB / 432.1 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.584, allocations: 230.8 kB / 432.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.584, allocations: 3.938 kB / 432.4 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.584, allocations: 10.95 kB / 432.4 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.5841, allocations: 12 kB / 432.4 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.5846, allocations: 183.3 kB / 432.6 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.5873, allocations: 1.013 MB / 433.6 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.5879, allocations: 191.2 kB / 433.8 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.5883, allocations: 102.3 kB / 433.9 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.5883, allocations: 4 kB / 433.9 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5884, allocations: 34.56 kB / 433.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.316e-06/0.5884, allocations: 0 / 433.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.006943/0.5953, allocations: 1.225 MB / 435.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.5954, allocations: 55.41 kB / 435.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.5958, allocations: 201.3 kB / 435.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.5959, allocations: 32.27 kB / 435.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.5961, allocations: 184.5 kB / 435.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.5962, allocations: 120.3 kB / 435.7 MB, free: 2.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.5963, allocations: 5.312 kB / 435.7 MB, free: 2.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5965, allocations: 335.3 kB / 436 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.5968, allocations: 97.5 kB / 436.1 MB, free: 2.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.5971, allocations: 148 kB / 436.3 MB, free: 2.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.5975, allocations: 120 kB / 436.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.5975, allocations: 0 / 436.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002561/0.6001, allocations: 0.5091 MB / 436.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.6002, allocations: 8 kB / 436.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6002, allocations: 0 / 436.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.6018, allocations: 192.4 kB / 437.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.6024, allocations: 59.59 kB / 437.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/0.61, allocations: 3.765 MB / 440.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.6105, allocations: 7.188 kB / 440.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.6105, allocations: 15.55 kB / 440.9 MB, free: 14.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.6107, allocations: 128.4 kB / 441.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/0.6108, allocations: 23.72 kB / 441.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.6109, allocations: 38.89 kB / 441.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.611, allocations: 8 kB / 441.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.611, allocations: 0 / 441.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.611, allocations: 288 / 441.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.6143, allocations: 0.9421 MB / 442.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.6144, allocations: 3.984 kB / 442.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.6148, allocations: 43.86 kB / 442.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.6162, allocations: 182.4 kB / 442.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/0.6163, allocations: 7.859 kB / 442.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00736/0.6237, allocations: 3.749 MB / 446.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6238, allocations: 0 / 446.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.6267, allocations: 0.7258 MB / 446.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.6269, allocations: 96.81 kB / 446.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.627, allocations: 10.75 kB / 446.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.6274, allocations: 11.06 kB / 446.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.6276, allocations: 35.34 kB / 446.9 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.6276, allocations: 11.38 kB / 446.9 MB, free: 8.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.6279, allocations: 162.6 kB / 447.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6279, allocations: 4 kB / 447.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009362/0.6289, allocations: 100.8 kB / 447.2 MB, free: 8.402 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003501/0.6324, allocations: 1.331 MB / 448.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.6338, allocations: 0.517 MB / 449 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6339, allocations: 0 / 449 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.6347, allocations: 397.9 kB / 449.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.6352, allocations: 24.3 kB / 449.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.6372, allocations: 0.5235 MB / 450 MB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.6378, allocations: 0.784 MB / 450.8 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.638, allocations: 18.08 kB / 450.8 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.6382, allocations: 93.89 kB / 450.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6382, allocations: 0 / 450.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/0.6798, allocations: 7.989 MB / 458.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/0.6802, allocations: 204.3 kB / 459.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.135/3.815, allocations: 0 / 459.1 MB, free: 12.97 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat