Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.372e-05, allocations: 0 / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4113/0.5154, allocations: 79.78 MB / 396.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5157, allocations: 83.62 kB / 396.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04284/0.5585, allocations: 11.15 MB / 408.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5586, allocations: 0 / 408.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.5586, allocations: 4 kB / 408.1 MB, free: 14.74 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001886/0.5605, allocations: 0.6055 MB / 408.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.5606, allocations: 8.031 kB / 408.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.5608, allocations: 73.2 kB / 408.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.5618, allocations: 105.7 kB / 408.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.5623, allocations: 262 kB / 409.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.5624, allocations: 23.72 kB / 409.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-05/0.5625, allocations: 43.42 kB / 409.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.5633, allocations: 318.8 kB / 409.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.5633, allocations: 0 / 409.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.5634, allocations: 11.81 kB / 409.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.5634, allocations: 11.98 kB / 409.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.564, allocations: 231 kB / 409.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/0.567, allocations: 1.453 MB / 411.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/0.568, allocations: 0.6859 MB / 411.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.5682, allocations: 110.8 kB / 412 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.5684, allocations: 85.09 kB / 412.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.5684, allocations: 38.5 kB / 412.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.966e-06/0.5685, allocations: 0 / 412.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008397/0.5693, allocations: 240 kB / 412.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.5694, allocations: 63.36 kB / 412.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.5696, allocations: 157.4 kB / 412.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.5697, allocations: 25.7 kB / 412.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.5698, allocations: 182.9 kB / 412.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.5699, allocations: 90.19 kB / 412.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.57, allocations: 3.875 kB / 412.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5701, allocations: 326.8 kB / 413.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.5703, allocations: 63.19 kB / 413.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.5705, allocations: 126 kB / 413.3 MB, free: 9.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.5708, allocations: 83.45 kB / 413.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5708, allocations: 0 / 413.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009183/0.5717, allocations: 306 kB / 413.7 MB, free: 9.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5718, allocations: 4 kB / 413.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5718, allocations: 0 / 413.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004817/0.5723, allocations: 82.75 kB / 413.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.5726, allocations: 39.98 kB / 413.8 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.5753, allocations: 1.82 MB / 415.7 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.5756, allocations: 34.64 kB / 415.7 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.5757, allocations: 12.06 kB / 415.7 MB, free: 7.715 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.5758, allocations: 119.9 kB / 415.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.5759, allocations: 19.62 kB / 415.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008749/0.5768, allocations: 276.3 kB / 416.1 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.5768, allocations: 7.953 kB / 416.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5768, allocations: 0 / 416.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.5768, allocations: 4 kB / 416.1 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.5784, allocations: 0.6806 MB / 416.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5784, allocations: 7.953 kB / 416.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.5786, allocations: 27.92 kB / 416.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/0.5791, allocations: 71.81 kB / 416.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.5791, allocations: 3.25 kB / 416.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.5817, allocations: 1.825 MB / 418.7 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5817, allocations: 0 / 418.7 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.5828, allocations: 447.2 kB / 419.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.5829, allocations: 110.8 kB / 419.3 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.583, allocations: 3.625 kB / 419.3 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.5832, allocations: 11.44 kB / 419.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.5833, allocations: 23.91 kB / 419.3 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.5833, allocations: 11.31 kB / 419.3 MB, free: 4.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.5835, allocations: 125.9 kB / 419.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5835, allocations: 0 / 419.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00071/0.5842, allocations: 109.2 kB / 419.6 MB, free: 4.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/0.5857, allocations: 1.006 MB / 420.6 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008654/0.5866, allocations: 323.8 kB / 420.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5866, allocations: 0 / 420.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.5871, allocations: 229.8 kB / 421.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.5875, allocations: 22.73 kB / 421.1 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.589, allocations: 471.8 kB / 421.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.5895, allocations: 0.7594 MB / 422.4 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001893/0.5897, allocations: 22.08 kB / 422.4 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5899, allocations: 72.09 kB / 422.4 MB, free: 1.586 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5899, allocations: 0 / 422.4 MB, free: 1.586 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.6252, allocations: 4.652 MB / 427.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.6256, allocations: 193.5 kB / 427.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.13, allocations: 0 / 427.3 MB, free: 12.79 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat does not exist to compare? outputFormat=mat