Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.78/1.78, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.346e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.319, allocations: 38.77 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4445, allocations: 69.71 MB / 328.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4447, allocations: 75.95 kB / 328.1 MB, free: 8.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02972/0.4745, allocations: 6.607 MB / 334.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4745, allocations: 0 / 334.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.4746, allocations: 4 kB / 334.7 MB, free: 1.426 MB / 282.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.001144/0.4757, allocations: 0.5372 MB / 335.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4758, allocations: 8.031 kB / 335.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.4759, allocations: 35.53 kB / 335.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.4764, allocations: 247.2 kB / 335.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.4764, allocations: 15.94 kB / 335.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.4765, allocations: 15.95 kB / 335.6 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005176/0.477, allocations: 173 kB / 335.8 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.4775, allocations: 187.8 kB / 335.9 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4776, allocations: 0 / 335.9 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.4776, allocations: 0 / 335.9 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4777, allocations: 8 kB / 336 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.4802, allocations: 0.9503 MB / 336.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.4807, allocations: 158.9 kB / 337.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.481, allocations: 101.1 kB / 337.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.4811, allocations: 93.28 kB / 337.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4812, allocations: 30.75 kB / 337.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/0.4812, allocations: 0 / 337.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.008983/0.4902, allocations: 1.169 MB / 338.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.4902, allocations: 55.41 kB / 338.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.4906, allocations: 187.9 kB / 338.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.4906, allocations: 25.7 kB / 338.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.4908, allocations: 188.4 kB / 338.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4909, allocations: 102.5 kB / 339 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.491, allocations: 0 / 339 MB, free: 12.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4911, allocations: 338.8 kB / 339.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.4914, allocations: 91.98 kB / 339.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.4917, allocations: 136.9 kB / 339.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.4922, allocations: 127.7 kB / 339.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.4922, allocations: 4 kB / 339.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003673/0.4959, allocations: 494.5 kB / 340.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4959, allocations: 11.59 kB / 340.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.496, allocations: 3.984 kB / 340.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000861/0.4968, allocations: 153.6 kB / 340.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.4973, allocations: 59.91 kB / 340.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005703/0.5031, allocations: 2.644 MB / 343 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.5036, allocations: 7.984 kB / 343 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.5036, allocations: 12.09 kB / 343.1 MB, free: 8.637 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.0001612/0.5038, allocations: 113 kB / 343.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003545/0.5074, allocations: 442.9 kB / 343.6 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5075, allocations: 23.72 kB / 343.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/0.5112, allocations: 470.2 kB / 344.1 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.5112, allocations: 15.89 kB / 344.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5113, allocations: 0 / 344.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.5113, allocations: 0 / 344.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004442/0.5157, allocations: 0.8836 MB / 345 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5158, allocations: 0 / 345 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.5162, allocations: 39.97 kB / 345 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007977/0.517, allocations: 165.6 kB / 345.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.517, allocations: 7.984 kB / 345.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005778/0.5228, allocations: 2.644 MB / 347.8 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.5229, allocations: 0 / 347.8 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.527, allocations: 0.6913 MB / 348.5 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.5273, allocations: 120.8 kB / 348.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.5274, allocations: 4 kB / 348.6 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.5279, allocations: 12.05 kB / 348.7 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.528, allocations: 31.89 kB / 348.7 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.5281, allocations: 7.984 kB / 348.7 MB, free: 2.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002234/0.5283, allocations: 148.5 kB / 348.8 MB, free: 2.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5283, allocations: 0 / 348.8 MB, free: 2.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007773/0.5291, allocations: 88 kB / 348.9 MB, free: 2.48 MB / 298.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.004633/0.5338, allocations: 1.324 MB / 350.2 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.535, allocations: 397.5 kB / 350.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.535, allocations: 0 / 350.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.5357, allocations: 269.5 kB / 350.9 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.5361, allocations: 16.98 kB / 350.9 MB, free: 436 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5379, allocations: 492.7 kB / 351.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.5383, allocations: 0.7756 MB / 352.2 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.5386, allocations: 18.08 kB / 352.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.5388, allocations: 91.33 kB / 352.3 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5388, allocations: 0 / 352.3 MB, free: 15 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0523/0.5911, allocations: 6.612 MB / 358.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/0.5915, allocations: 147 kB / 359 MB, free: 8.195 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.47, allocations: 0 / 359 MB, free: 8.195 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat