Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 171.2 MB / 183.8 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.16e-05, allocations: 0 / 225.1 MB, free: 2.621 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4213, allocations: 70.39 MB / 334.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.4217, allocations: 71.97 kB / 334.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02962/0.4513, allocations: 6.677 MB / 341 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4513, allocations: 0 / 341 MB, free: 12.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.4514, allocations: 4 kB / 341 MB, free: 12.59 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001125/0.4525, allocations: 0.5333 MB / 341.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.4526, allocations: 12.03 kB / 341.5 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.895e-05/0.4527, allocations: 62.55 kB / 341.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.4528, allocations: 39.53 kB / 341.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.4532, allocations: 254.9 kB / 341.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.4532, allocations: 24.52 kB / 341.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.4533, allocations: 24 kB / 341.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006023/0.4539, allocations: 219.8 kB / 342.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.454, allocations: 0 / 342.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.454, allocations: 8 kB / 342.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.454, allocations: 11.98 kB / 342.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.4546, allocations: 177 kB / 342.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.4569, allocations: 1.009 MB / 343.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.4574, allocations: 178.8 kB / 343.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.4577, allocations: 101.2 kB / 343.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.4579, allocations: 81.3 kB / 343.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.458, allocations: 34.75 kB / 343.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.825e-06/0.458, allocations: 0 / 343.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.009494/0.4675, allocations: 1.262 MB / 345 MB, free: 8.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.4676, allocations: 59.34 kB / 345 MB, free: 8.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.4679, allocations: 204.9 kB / 345.2 MB, free: 8.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.468, allocations: 33.7 kB / 345.3 MB, free: 7.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.4681, allocations: 238.6 kB / 345.5 MB, free: 7.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.4683, allocations: 110.5 kB / 345.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.4683, allocations: 4 kB / 345.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4684, allocations: 322.8 kB / 345.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.4688, allocations: 96 kB / 346 MB, free: 7.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.4691, allocations: 156.7 kB / 346.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.4695, allocations: 116 kB / 346.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4695, allocations: 0 / 346.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003737/0.4733, allocations: 0.5025 MB / 346.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4733, allocations: 4 kB / 346.8 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4733, allocations: 4 kB / 346.8 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.4755, allocations: 213.5 kB / 347 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.4761, allocations: 55.91 kB / 347.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006144/0.4822, allocations: 2.688 MB / 349.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.4828, allocations: 20.05 kB / 349.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.4829, allocations: 8 kB / 349.8 MB, free: 3.258 MB / 298.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 (27): * Single equations (assignments): 25 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.483, allocations: 124.9 kB / 349.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.4831, allocations: 27.72 kB / 349.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.4869, allocations: 0.4978 MB / 350.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.4869, allocations: 4 kB / 350.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4869, allocations: 0 / 350.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.487, allocations: 4 kB / 350.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.4916, allocations: 0.9494 MB / 351.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.4917, allocations: 0 / 351.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.4921, allocations: 48 kB / 351.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.4943, allocations: 217.6 kB / 351.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.4944, allocations: 8 kB / 351.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/0.5004, allocations: 2.68 MB / 354.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5004, allocations: 4.031 kB / 354.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/0.5047, allocations: 0.7067 MB / 355 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.5049, allocations: 124.8 kB / 355.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.505, allocations: 4 kB / 355.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.5055, allocations: 15.98 kB / 355.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5056, allocations: 35.95 kB / 355.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.5057, allocations: 4 kB / 355.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002961/0.506, allocations: 169.3 kB / 355.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.506, allocations: 0 / 355.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007895/0.5068, allocations: 100 kB / 355.5 MB, free: 13.25 MB / 314.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 (17): * Single equations (assignments): 15 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004728/0.5116, allocations: 1.347 MB / 356.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.5128, allocations: 405.5 kB / 357.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5128, allocations: 0 / 357.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.5135, allocations: 277.5 kB / 357.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.5139, allocations: 28.73 kB / 357.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.5158, allocations: 0.5245 MB / 358.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.5162, allocations: 0.7794 MB / 358.8 MB, free: 9.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.5165, allocations: 95.39 kB / 358.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5165, allocations: 0 / 358.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.782/3.299, allocations: 6.958 MB / 365.9 MB, free: 2.711 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat