Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.928e-05, allocations: 4 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 50.4 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5555, allocations: 93.33 MB / 436 MB, free: 1.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5558, allocations: 83.64 kB / 436.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1195/0.6753, allocations: 30.18 MB / 466.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6753, allocations: 0 / 466.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.472e-05/0.6754, allocations: 20 kB / 466.3 MB, free: 6.801 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004972/0.6804, allocations: 1.23 MB / 467.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6805, allocations: 16.03 kB / 467.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004268/0.6809, allocations: 171.2 kB / 467.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003638/0.6845, allocations: 390.4 kB / 468 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6856, allocations: 491.6 kB / 468.5 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.6857, allocations: 90.22 kB / 468.6 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.686, allocations: 115.9 kB / 468.7 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.6886, allocations: 0.9081 MB / 469.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.6887, allocations: 0 / 469.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.6889, allocations: 51.98 kB / 469.7 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.6889, allocations: 31.94 kB / 469.7 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/0.6916, allocations: 0.887 MB / 470.6 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009544/0.7011, allocations: 3.734 MB / 474.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.704, allocations: 1.509 MB / 475.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.7051, allocations: 415.8 kB / 476.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.7053, allocations: 97.94 kB / 476.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.7064, allocations: 456.1 kB / 476.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.586e-06/0.7064, allocations: 3.938 kB / 476.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.01225/0.7186, allocations: 3.461 MB / 480.3 MB, free: 8.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.7188, allocations: 226.6 kB / 480.5 MB, free: 7.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/0.7194, allocations: 346.7 kB / 480.8 MB, free: 7.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.7196, allocations: 53.69 kB / 480.9 MB, free: 7.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.72, allocations: 415.7 kB / 481.3 MB, free: 7.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/0.7205, allocations: 413.9 kB / 481.7 MB, free: 6.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.7206, allocations: 24 kB / 481.7 MB, free: 6.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.7208, allocations: 382.7 kB / 482.1 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009403/0.7217, allocations: 314.6 kB / 482.4 MB, free: 5.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.7229, allocations: 0.5122 MB / 482.9 MB, free: 5.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.724, allocations: 399 kB / 483.3 MB, free: 4.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.724, allocations: 4 kB / 483.3 MB, free: 4.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003687/0.7277, allocations: 1.287 MB / 484.6 MB, free: 3.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.7277, allocations: 8 kB / 484.6 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.7277, allocations: 4 kB / 484.6 MB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.7293, allocations: 350.1 kB / 484.9 MB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.7309, allocations: 199.7 kB / 485.1 MB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.742, allocations: 7.639 MB / 492.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.7433, allocations: 47.98 kB / 492.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.7435, allocations: 47.98 kB / 492.9 MB, free: 10.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003306/0.7438, allocations: 180.7 kB / 493 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.744, allocations: 71.11 kB / 493.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/0.7477, allocations: 1.215 MB / 494.3 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.7477, allocations: 12 kB / 494.3 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.7477, allocations: 8 kB / 494.3 MB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.7478, allocations: 11.97 kB / 494.4 MB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.754, allocations: 2.601 MB / 497 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.7541, allocations: 4 kB / 497 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.7554, allocations: 147.8 kB / 497.1 MB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.7568, allocations: 332.8 kB / 497.4 MB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.711e-05/0.7569, allocations: 27.98 kB / 497.5 MB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.7677, allocations: 7.39 MB / 0.493 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7677, allocations: 0 / 0.493 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/0.7725, allocations: 1.734 MB / 0.4947 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/0.773, allocations: 220.2 kB / 0.4949 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.7732, allocations: 24 kB / 0.4949 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009176/0.7742, allocations: 47.92 kB / 0.495 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.7745, allocations: 96.72 kB / 0.4951 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.7746, allocations: 35.98 kB / 0.4951 GB, free: 11.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004725/0.7751, allocations: 261.2 kB / 0.4954 GB, free: 11.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7751, allocations: 0 / 0.4954 GB, free: 11.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001796/0.7769, allocations: 327.9 kB / 0.4957 GB, free: 11.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(2,100.0%) 18,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005506/0.7824, allocations: 2.685 MB / 0.4983 GB, free: 8.648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003765/0.7862, allocations: 1.485 MB / 0.4997 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7863, allocations: 0 / 0.4997 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.7888, allocations: 1.059 MB / 0.5008 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.7895, allocations: 53.55 kB / 0.5008 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.7954, allocations: 1.611 MB / 0.5024 GB, free: 4.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008647/0.7963, allocations: 1.044 MB / 0.5034 GB, free: 3.242 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009197/0.7973, allocations: 94.03 kB / 0.5035 GB, free: 3.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/0.798, allocations: 343.3 kB / 0.5038 GB, free: 2.816 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.798, allocations: 0 / 0.5038 GB, free: 2.816 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05939/0.8574, allocations: 17.28 MB / 0.5207 GB, free: 1.621 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/0.8578, allocations: 195.4 kB / 0.5209 GB, free: 1.395 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/4.359, allocations: 0 / 0.5209 GB, free: 1.395 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat does not exist to compare? outputFormat=mat