Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.204/2.204, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.747e-05/4.773e-05, allocations: 9.078 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 50.41 MB / 343.2 MB, free: 8.988 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5735, allocations: 81.08 MB / 424.2 MB, free: 7.887 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5739, allocations: 81.09 kB / 424.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03324/0.6071, allocations: 7.138 MB / 431.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6072, allocations: 3.844 kB / 431.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.6072, allocations: 3.844 kB / 431.5 MB, free: 5.918 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001326/0.6086, allocations: 0.5324 MB / 432 MB, free: 5.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.6087, allocations: 11.53 kB / 432 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.6088, allocations: 60.73 kB / 432.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.6089, allocations: 35.09 kB / 432.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.6094, allocations: 264 kB / 432.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.6095, allocations: 16.84 kB / 432.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/0.6096, allocations: 26.88 kB / 432.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/0.6103, allocations: 232.5 kB / 432.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.6104, allocations: 0 / 432.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.6104, allocations: 15.39 kB / 432.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.6105, allocations: 7.688 kB / 432.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.6112, allocations: 184.9 kB / 432.8 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003672/0.6149, allocations: 1.009 MB / 433.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.6157, allocations: 197.5 kB / 434 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.6162, allocations: 99.72 kB / 434.1 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.6163, allocations: 3.719 kB / 434.1 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6164, allocations: 30.56 kB / 434.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 4.919e-06/0.6164, allocations: 3.844 kB / 434.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0105/0.6269, allocations: 1.223 MB / 435.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.627, allocations: 59.11 kB / 435.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.6275, allocations: 203 kB / 435.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/0.6276, allocations: 29.2 kB / 435.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.6277, allocations: 176.8 kB / 435.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.6279, allocations: 116.7 kB / 436 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.628, allocations: 9.469 kB / 436 MB, free: 3.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6281, allocations: 337.5 kB / 436.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.6286, allocations: 98.19 kB / 436.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.6291, allocations: 149.5 kB / 436.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.6296, allocations: 123.2 kB / 436.7 MB, free: 2.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6296, allocations: 3.812 kB / 436.7 MB, free: 2.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.003694/0.6333, allocations: 0.5099 MB / 437.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.6334, allocations: 7.656 kB / 437.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.6334, allocations: 7.938 kB / 437.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.6354, allocations: 186.7 kB / 437.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.6361, allocations: 53.22 kB / 437.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02961/0.6657, allocations: 3.757 MB / 441.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.6664, allocations: 15.16 kB / 441.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.6665, allocations: 19.2 kB / 441.2 MB, free: 15.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.6667, allocations: 123.5 kB / 441.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.6668, allocations: 23.25 kB / 441.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.667, allocations: 37.2 kB / 441.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.667, allocations: 3.844 kB / 441.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.667, allocations: 3.844 kB / 441.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6671, allocations: 3.938 kB / 441.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008852/0.6759, allocations: 0.9465 MB / 442.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.676, allocations: 3.938 kB / 442.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.6766, allocations: 42.84 kB / 442.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/0.6786, allocations: 190.9 kB / 442.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.6787, allocations: 9.297 kB / 442.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.69, allocations: 3.739 MB / 446.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.69, allocations: 3.875 kB / 446.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.6937, allocations: 0.7126 MB / 447 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.6938, allocations: 100.6 kB / 447.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.6939, allocations: 11.67 kB / 447.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.6943, allocations: 11.5 kB / 447.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.6945, allocations: 38.75 kB / 447.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.6945, allocations: 7.781 kB / 447.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.6947, allocations: 162.6 kB / 447.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6948, allocations: 0 / 447.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008588/0.6956, allocations: 103.1 kB / 447.5 MB, free: 11.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00314/0.6988, allocations: 1.336 MB / 448.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.6999, allocations: 0.5156 MB / 449.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7, allocations: 4.219 kB / 449.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000703/0.7007, allocations: 405.1 kB / 449.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.701, allocations: 15.44 kB / 449.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.7026, allocations: 0.5219 MB / 450.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.7031, allocations: 0.7852 MB / 451 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.7033, allocations: 13.8 kB / 451.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.7034, allocations: 99.98 kB / 451.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7034, allocations: 0 / 451.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04509/0.7485, allocations: 7.984 MB / 459.1 MB, free: 5.258 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/0.7489, allocations: 211.1 kB / 459.3 MB, free: 5.035 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/3.701, allocations: 0 / 459.3 MB, free: 5.035 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat