Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.289e-05, allocations: 3.984 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5357, allocations: 79.16 MB / 396.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5361, allocations: 71.16 kB / 396.2 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0318/0.5679, allocations: 6.903 MB / 403.2 MB, free: 2.637 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5679, allocations: 0 / 403.2 MB, free: 2.637 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.282e-05/0.568, allocations: 8 kB / 403.2 MB, free: 2.629 MB / 314.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.001274/0.5693, allocations: 0.5249 MB / 403.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.5693, allocations: 12.03 kB / 403.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.5694, allocations: 57.86 kB / 403.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.987e-05/0.5696, allocations: 31.62 kB / 403.8 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.5701, allocations: 269.3 kB / 404 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.5701, allocations: 24.39 kB / 404.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.5702, allocations: 27.73 kB / 404.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.5709, allocations: 228.6 kB / 404.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5709, allocations: 4 kB / 404.3 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.5709, allocations: 7.75 kB / 404.3 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.571, allocations: 8 kB / 404.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/0.5715, allocations: 180.9 kB / 404.5 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.574, allocations: 1.02 MB / 405.5 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.5746, allocations: 195.9 kB / 405.7 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.5749, allocations: 100 kB / 405.8 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.5749, allocations: 8 kB / 405.8 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.575, allocations: 34.38 kB / 405.9 MB, free: 216 kB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.805e-06/0.575, allocations: 3.938 kB / 405.9 MB, free: 212 kB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.00639/0.5814, allocations: 1.211 MB / 407.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.5815, allocations: 55.41 kB / 407.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.5818, allocations: 211.3 kB / 407.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.5819, allocations: 33.52 kB / 407.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5821, allocations: 182.5 kB / 407.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.5822, allocations: 121.6 kB / 407.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.5822, allocations: 3.938 kB / 407.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5824, allocations: 342.3 kB / 408 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.5827, allocations: 100.3 kB / 408.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.5831, allocations: 152.1 kB / 408.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.5834, allocations: 113.7 kB / 408.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5834, allocations: 4 kB / 408.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002496/0.5859, allocations: 0.5036 MB / 408.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.586, allocations: 16.05 kB / 408.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.586, allocations: 0 / 408.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.5874, allocations: 185.5 kB / 409.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.5879, allocations: 58.97 kB / 409.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/0.5949, allocations: 3.759 MB / 412.9 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.5954, allocations: 10.38 kB / 412.9 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.5954, allocations: 15.12 kB / 412.9 MB, free: 9.863 MB / 330.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.0001591/0.5956, allocations: 123.3 kB / 413 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.5957, allocations: 27.78 kB / 413.1 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.5958, allocations: 39.41 kB / 413.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5958, allocations: 4 kB / 413.1 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.5958, allocations: 3.953 kB / 413.1 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.5959, allocations: 7.984 kB / 413.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.5991, allocations: 0.9358 MB / 414.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5991, allocations: 0 / 414.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.5995, allocations: 43.91 kB / 414.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.6009, allocations: 182.9 kB / 414.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.6009, allocations: 14.48 kB / 414.3 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006777/0.6077, allocations: 3.758 MB / 418 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6078, allocations: 0 / 418 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.6106, allocations: 0.7155 MB / 418.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.6108, allocations: 100.1 kB / 418.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.6108, allocations: 6.625 kB / 418.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.6113, allocations: 15.61 kB / 418.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.6114, allocations: 35.77 kB / 418.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.6115, allocations: 10.88 kB / 418.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002366/0.6117, allocations: 162.3 kB / 419.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6117, allocations: 0 / 419.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008392/0.6126, allocations: 102.1 kB / 419.2 MB, free: 4.23 MB / 330.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.003318/0.6159, allocations: 1.329 MB / 420.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.6172, allocations: 0.5185 MB / 421 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6172, allocations: 0 / 421 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007742/0.618, allocations: 393.2 kB / 421.4 MB, free: 2.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.6184, allocations: 26.67 kB / 421.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.6201, allocations: 0.5159 MB / 422 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.6206, allocations: 0.7879 MB / 422.7 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.6208, allocations: 22.06 kB / 422.8 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.6209, allocations: 93.14 kB / 422.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6209, allocations: 0 / 422.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.6601, allocations: 7.97 MB / 430.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/0.6605, allocations: 193.9 kB / 431 MB, free: 8.773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.36, allocations: 0 / 431 MB, free: 8.773 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat