Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.114e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5264/0.6309, allocations: 90.73 MB / 407.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.6312, allocations: 79.52 kB / 407.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.7503, allocations: 30.58 MB / 438.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.7503, allocations: 0 / 438.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.455e-05/0.7504, allocations: 20 kB / 438.4 MB, free: 3.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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004899/0.7553, allocations: 1.252 MB / 439.7 MB, free: 2.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.7553, allocations: 8.031 kB / 439.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003884/0.7557, allocations: 183.2 kB / 439.9 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.7601, allocations: 468.1 kB / 440.3 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009943/0.7611, allocations: 0.4896 MB / 440.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.253e-05/0.7613, allocations: 85.42 kB / 440.9 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.7615, allocations: 119.9 kB / 441 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/0.7641, allocations: 0.946 MB / 442 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.7642, allocations: 3.938 kB / 442 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.7644, allocations: 49.06 kB / 442 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/0.7644, allocations: 31.98 kB / 442 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.7671, allocations: 0.9509 MB / 443 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009339/0.7764, allocations: 3.917 MB / 446.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.7796, allocations: 2.013 MB / 448.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.7807, allocations: 418.9 kB / 449.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.7809, allocations: 105.9 kB / 449.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.7819, allocations: 460 kB / 449.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 3.546e-06/0.782, allocations: 3.938 kB / 449.9 MB, free: 9.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.01223/0.7942, allocations: 3.503 MB / 453.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.7944, allocations: 222.6 kB / 453.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.795, allocations: 363 kB / 454 MB, free: 5.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.765e-05/0.7951, allocations: 49.7 kB / 454 MB, free: 5.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.7956, allocations: 447.4 kB / 454.5 MB, free: 4.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.796, allocations: 410 kB / 454.9 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.7962, allocations: 28 kB / 454.9 MB, free: 4.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.7964, allocations: 378.7 kB / 455.2 MB, free: 4.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009176/0.7973, allocations: 326.6 kB / 455.6 MB, free: 3.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.7984, allocations: 0.5522 MB / 456.1 MB, free: 3.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.7996, allocations: 414.2 kB / 456.5 MB, free: 2.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.7996, allocations: 0 / 456.5 MB, free: 2.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003802/0.8034, allocations: 1.342 MB / 457.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.8035, allocations: 8 kB / 457.9 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.8035, allocations: 4 kB / 457.9 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.805, allocations: 347.2 kB / 458.2 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.8068, allocations: 215.6 kB / 458.4 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.8177, allocations: 7.646 MB / 466.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.8191, allocations: 51.98 kB / 466.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.8192, allocations: 51.98 kB / 466.2 MB, free: 8.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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.0003177/0.8195, allocations: 176.6 kB / 466.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.8197, allocations: 71.16 kB / 466.4 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/0.8233, allocations: 1.235 MB / 467.7 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.8234, allocations: 12 kB / 467.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.8234, allocations: 8 kB / 467.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.8234, allocations: 7.984 kB / 467.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/0.8295, allocations: 2.649 MB / 470.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.8295, allocations: 0 / 470.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.8309, allocations: 147.8 kB / 470.5 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.8323, allocations: 323.2 kB / 470.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/0.8324, allocations: 32.11 kB / 470.8 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/0.8476, allocations: 7.383 MB / 478.2 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.8477, allocations: 0 / 478.2 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/0.8527, allocations: 1.765 MB / 480 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.8533, allocations: 220.2 kB / 480.2 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.8534, allocations: 28 kB / 480.2 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/0.8544, allocations: 35.98 kB / 480.2 MB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.8547, allocations: 96.81 kB / 480.3 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.894e-05/0.8548, allocations: 32 kB / 480.4 MB, free: 9.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004683/0.8553, allocations: 269.2 kB / 480.6 MB, free: 9.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.8553, allocations: 4 kB / 480.6 MB, free: 9.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001711/0.857, allocations: 336 kB / 481 MB, free: 8.961 MB / 394.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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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.005219/0.8622, allocations: 2.7 MB / 483.7 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.866, allocations: 1.498 MB / 485.2 MB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.866, allocations: 0 / 485.2 MB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.8684, allocations: 1.073 MB / 486.2 MB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.869, allocations: 61.5 kB / 486.3 MB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/0.8772, allocations: 2.119 MB / 488.4 MB, free: 1.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/0.878, allocations: 1.044 MB / 489.5 MB, free: 248 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008842/0.8789, allocations: 106.3 kB / 489.6 MB, free: 140 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/0.8796, allocations: 355.3 kB / 489.9 MB, free: 15.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8797, allocations: 4 kB / 489.9 MB, free: 15.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05898/0.9386, allocations: 17.55 MB / 0.4956 GB, free: 14.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/0.939, allocations: 188.9 kB / 0.4958 GB, free: 14.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.426/4.365, allocations: 0 / 0.4958 GB, free: 14.06 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat does not exist to compare? outputFormat=mat