Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.762e-05, allocations: 4 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1649, allocations: 50.41 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.6182, allocations: 87.69 MB / 430.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.6186, allocations: 92.14 kB / 431 MB, free: 6.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09764/0.7162, allocations: 25.54 MB / 456.5 MB, free: 1.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.422e-06/0.7163, allocations: 3.984 kB / 456.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.864e-05/0.7163, allocations: 12 kB / 456.5 MB, free: 1.043 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005314/0.7217, allocations: 1.104 MB / 457.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.7217, allocations: 8.031 kB / 457.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000339/0.7221, allocations: 131.2 kB / 457.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.7255, allocations: 322.8 kB / 458.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.7259, allocations: 250.8 kB / 458.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.726, allocations: 69.94 kB / 458.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/0.7263, allocations: 79.91 kB / 458.5 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.7286, allocations: 0.7979 MB / 459.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/0.7287, allocations: 352 / 459.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.7288, allocations: 39.95 kB / 459.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.7289, allocations: 24 kB / 459.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.731, allocations: 0.6874 MB / 460 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007866/0.739, allocations: 2.981 MB / 463 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.7407, allocations: 0.9564 MB / 463.9 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.7413, allocations: 206.5 kB / 464.1 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.7415, allocations: 93.64 kB / 464.2 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.7416, allocations: 39.12 kB / 464.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 4.027e-06/0.7416, allocations: 4 kB / 464.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.0101/0.7517, allocations: 1.824 MB / 466.1 MB, free: 6.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.7518, allocations: 89.61 kB / 466.2 MB, free: 6.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.7523, allocations: 263.2 kB / 466.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.7524, allocations: 37.7 kB / 466.5 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.7527, allocations: 362.7 kB / 466.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.753, allocations: 208.9 kB / 467 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.7531, allocations: 16 kB / 467.1 MB, free: 5.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7532, allocations: 350.8 kB / 467.4 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.7539, allocations: 198 kB / 467.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/0.7547, allocations: 438.5 kB / 468 MB, free: 4.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.7555, allocations: 267.3 kB / 468.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.7555, allocations: 0 / 468.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00221/0.7577, allocations: 0.7342 MB / 469 MB, free: 3.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.7578, allocations: 11.95 kB / 469 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.7578, allocations: 4.688 kB / 469 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.7582, allocations: 69.69 kB / 469.1 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.7602, allocations: 215.7 kB / 469.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.7631, allocations: 2.653 MB / 472 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7645, allocations: 83.91 kB / 472 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.7646, allocations: 35.98 kB / 472.1 MB, free: 0.5195 MB / 378.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 (95): * Single equations (assignments): 93 * 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.000244/0.7649, allocations: 156.7 kB / 472.2 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.765, allocations: 43.48 kB / 472.3 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.7669, allocations: 0.5986 MB / 472.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.767, allocations: 4 kB / 472.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.767, allocations: 4 kB / 472.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.767, allocations: 7.938 kB / 472.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.7702, allocations: 1.286 MB / 474.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.7703, allocations: 0 / 474.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.7717, allocations: 143.8 kB / 474.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003055/0.7721, allocations: 69.59 kB / 474.4 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/0.7721, allocations: 12 kB / 474.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.7749, allocations: 2.648 MB / 477 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.775, allocations: 3.984 kB / 477 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.7774, allocations: 0.8752 MB / 477.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.7778, allocations: 164.5 kB / 478.1 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.778, allocations: 15.98 kB / 478.1 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.779, allocations: 60.08 kB / 478.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.7792, allocations: 44.48 kB / 478.2 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.7793, allocations: 19.98 kB / 478.2 MB, free: 9.988 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003519/0.7796, allocations: 206.2 kB / 478.4 MB, free: 9.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.7797, allocations: 4 kB / 478.4 MB, free: 9.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001115/0.7808, allocations: 184 kB / 478.6 MB, free: 9.602 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (58): * Single equations (assignments): 56 * 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.00304/0.7838, allocations: 1.513 MB / 480.1 MB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.7858, allocations: 0.7437 MB / 480.9 MB, free: 7.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7859, allocations: 3.938 kB / 480.9 MB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009958/0.7869, allocations: 469.6 kB / 481.3 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.7874, allocations: 33.83 kB / 481.4 MB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.7915, allocations: 0.9887 MB / 482.3 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.7921, allocations: 0.8964 MB / 483.2 MB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008939/0.793, allocations: 96.52 kB / 483.3 MB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/0.7936, allocations: 227.3 kB / 483.6 MB, free: 4.516 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7936, allocations: 0 / 483.6 MB, free: 4.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04271/0.8363, allocations: 10.7 MB / 494.3 MB, free: 9.945 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007258/0.8372, allocations: 217.1 kB / 494.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/3.86, allocations: 0 / 494.5 MB, free: 9.715 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat does not exist to compare? outputFormat=mat