Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.166e-05, allocations: 4 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4931/0.6037, allocations: 81.09 MB / 424.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.604, allocations: 79.02 kB / 424.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0373/0.6413, allocations: 8.269 MB / 432.6 MB, free: 5.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6414, allocations: 0 / 432.6 MB, free: 5.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.6414, allocations: 4 kB / 432.6 MB, free: 5.695 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0014/0.6428, allocations: 0.5714 MB / 433.2 MB, free: 5.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.6429, allocations: 12.03 kB / 433.2 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.643, allocations: 72.16 kB / 433.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.6431, allocations: 39.56 kB / 433.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.6436, allocations: 263.6 kB / 433.6 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.6437, allocations: 23.66 kB / 433.6 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.6437, allocations: 27.31 kB / 433.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.6444, allocations: 258.3 kB / 433.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.6444, allocations: 0 / 433.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.6445, allocations: 15.14 kB / 433.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.6445, allocations: 8 kB / 433.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.6451, allocations: 204 kB / 434.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.6477, allocations: 1.126 MB / 435.2 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.6481, allocations: 123 kB / 435.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.6482, allocations: 49.42 kB / 435.4 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.6483, allocations: 11.3 kB / 435.4 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6483, allocations: 34.5 kB / 435.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.484e-06/0.6483, allocations: 0 / 435.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002467/0.6508, allocations: 0.5094 MB / 435.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.6509, allocations: 55.53 kB / 436 MB, free: 2.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.6513, allocations: 237.9 kB / 436.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.6513, allocations: 32.7 kB / 436.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.6515, allocations: 219.2 kB / 436.5 MB, free: 2.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.6516, allocations: 73.66 kB / 436.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.6516, allocations: 11.56 kB / 436.6 MB, free: 2.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6518, allocations: 344.6 kB / 436.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.652, allocations: 65.38 kB / 437 MB, free: 1.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.6523, allocations: 157.2 kB / 437.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.6526, allocations: 95.53 kB / 437.2 MB, free: 1.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6526, allocations: 0 / 437.2 MB, free: 1.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008361/0.6535, allocations: 325.6 kB / 437.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6535, allocations: 11.94 kB / 437.5 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6535, allocations: 4 kB / 437.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.6539, allocations: 56.52 kB / 437.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.6545, allocations: 83.78 kB / 437.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.6572, allocations: 2.633 MB / 440.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.6577, allocations: 31.91 kB / 440.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.6578, allocations: 18.31 kB / 440.4 MB, free: 14.29 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 (37): * Single equations (assignments): 35 * 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.0001324/0.6579, allocations: 121.7 kB / 440.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.658, allocations: 27.62 kB / 440.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.65e-05/0.6581, allocations: 38.78 kB / 440.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6581, allocations: 4 kB / 440.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6581, allocations: 0 / 440.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6582, allocations: 4 kB / 440.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.6587, allocations: 325.5 kB / 440.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.6587, allocations: 0 / 440.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.6591, allocations: 47.89 kB / 440.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.6594, allocations: 59.94 kB / 441 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.6594, allocations: 0 / 441 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.662, allocations: 2.623 MB / 443.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.662, allocations: 0 / 443.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.6627, allocations: 324.5 kB / 443.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.6628, allocations: 100.8 kB / 444 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.6628, allocations: 3.25 kB / 444 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.6632, allocations: 31.73 kB / 444 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.6634, allocations: 15.97 kB / 444.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.6634, allocations: 7.562 kB / 444.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.6637, allocations: 176.6 kB / 444.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6637, allocations: 0 / 444.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005688/0.6642, allocations: 74.69 kB / 444.3 MB, free: 10.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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: 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.001004/0.6653, allocations: 0.8643 MB / 445.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008732/0.6662, allocations: 410.8 kB / 445.6 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6662, allocations: 4 kB / 445.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.6667, allocations: 304.5 kB / 445.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.6671, allocations: 27.5 kB / 445.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.6685, allocations: 395.7 kB / 446.3 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.6689, allocations: 0.783 MB / 447.1 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.6692, allocations: 30.05 kB / 447.1 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.6694, allocations: 100.1 kB / 447.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6694, allocations: 0 / 447.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.6989, allocations: 5.056 MB / 452.3 MB, free: 2.574 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/0.6993, allocations: 191.8 kB / 452.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.339, allocations: 0 / 452.4 MB, free: 2.352 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat does not exist to compare? outputFormat=mat