Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.9e-05, allocations: 0 / 292.7 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 50.42 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/0.552, allocations: 81.62 MB / 424.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.5524, allocations: 80.64 kB / 424.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05957/0.612, allocations: 12.21 MB / 437.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.612, allocations: 0 / 437.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.6121, allocations: 12 kB / 437.1 MB, free: 1.805 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002414/0.6145, allocations: 0.7244 MB / 437.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.6146, allocations: 12.22 kB / 437.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002724/0.6149, allocations: 92.33 kB / 437.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.6151, allocations: 63.25 kB / 438 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.616, allocations: 345 kB / 438.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.6161, allocations: 38.94 kB / 438.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6162, allocations: 52.36 kB / 438.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.6174, allocations: 392.9 kB / 438.8 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.6175, allocations: 3.938 kB / 438.8 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.6175, allocations: 23.45 kB / 438.8 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.6176, allocations: 19.98 kB / 438.8 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.6187, allocations: 327.1 kB / 439.1 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.6234, allocations: 1.592 MB / 440.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.6245, allocations: 384.7 kB / 441.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.6251, allocations: 170.6 kB / 441.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.6252, allocations: 4.328 kB / 441.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.6252, allocations: 38.14 kB / 441.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 4.358e-06/0.6252, allocations: 0 / 441.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.0048/0.6301, allocations: 1.064 MB / 442.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.6302, allocations: 55.97 kB / 442.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.6308, allocations: 352.3 kB / 442.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/0.631, allocations: 36.89 kB / 442.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.6312, allocations: 300.8 kB / 443.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.6314, allocations: 185.7 kB / 443.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.6315, allocations: 8.312 kB / 443.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.6317, allocations: 359.2 kB / 443.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.6322, allocations: 148.5 kB / 443.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.6327, allocations: 254.7 kB / 444.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.6333, allocations: 191.8 kB / 444.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6333, allocations: 0 / 444.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001964/0.6353, allocations: 0.6628 MB / 444.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.6354, allocations: 9.406 kB / 444.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.6354, allocations: 8 kB / 444.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009316/0.6364, allocations: 176.9 kB / 445.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.6374, allocations: 123.6 kB / 445.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.6438, allocations: 3.874 MB / 449.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008423/0.6447, allocations: 45.48 kB / 449.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.6448, allocations: 19.06 kB / 449.1 MB, free: 7.312 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 (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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.645, allocations: 145.1 kB / 449.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.6451, allocations: 51.38 kB / 449.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.6453, allocations: 55.25 kB / 449.4 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.6453, allocations: 8 kB / 449.4 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/0.6454, allocations: 11.92 kB / 449.4 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.6454, allocations: 0 / 449.4 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.6486, allocations: 1.232 MB / 450.6 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.6487, allocations: 0 / 450.6 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.6493, allocations: 74.2 kB / 450.7 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007823/0.6502, allocations: 152 kB / 450.9 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.255e-05/0.6503, allocations: 10.62 kB / 450.9 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005945/0.6562, allocations: 3.695 MB / 454.6 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6563, allocations: 0 / 454.6 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.658, allocations: 0.6876 MB / 455.3 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.6583, allocations: 120.5 kB / 455.4 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.6585, allocations: 12 kB / 455.4 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.6591, allocations: 35.92 kB / 455.4 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.6594, allocations: 44.38 kB / 455.5 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.6594, allocations: 12 kB / 455.5 MB, free: 1.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005491/0.66, allocations: 269.2 kB / 455.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.66, allocations: 0 / 455.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001197/0.6612, allocations: 156 kB / 455.9 MB, free: 0.8281 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002282/0.6635, allocations: 1.515 MB / 457.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.6656, allocations: 0.6799 MB / 458.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.6657, allocations: 4.25 kB / 458.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.6669, allocations: 477.3 kB / 458.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.6675, allocations: 37.52 kB / 458.6 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.6704, allocations: 0.7164 MB / 459.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.6712, allocations: 0.8717 MB / 460.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.6716, allocations: 52.3 kB / 460.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.672, allocations: 171.4 kB / 460.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.672, allocations: 0 / 460.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.7128, allocations: 8.824 MB / 469.2 MB, free: 3.434 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/0.7132, allocations: 193 kB / 469.4 MB, free: 3.211 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.583, allocations: 0 / 469.4 MB, free: 3.211 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat