Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.332/2.332, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.008e-05/5.012e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3526, allocations: 44.49 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4845, allocations: 71.97 MB / 366.2 MB, free: 9.961 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.4849, allocations: 75.95 kB / 366.3 MB, free: 9.887 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.4964, allocations: 2.498 MB / 368.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4965, allocations: 192 / 368.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4965, allocations: 4 kB / 368.8 MB, free: 7.379 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006963/0.4972, allocations: 422.1 kB / 369.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4973, allocations: 8.031 kB / 369.2 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.4973, allocations: 15.81 kB / 369.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.4976, allocations: 194.8 kB / 369.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4976, allocations: 0 / 369.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.4976, allocations: 8.438 kB / 369.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001983/0.4978, allocations: 59.94 kB / 369.5 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.4981, allocations: 116.1 kB / 369.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.4981, allocations: 3.906 kB / 369.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.4982, allocations: 3.938 kB / 369.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4982, allocations: 4 kB / 369.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.4995, allocations: 475.9 kB / 370 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.4998, allocations: 78.58 kB / 370.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.5, allocations: 45.02 kB / 370.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.5, allocations: 11.97 kB / 370.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5001, allocations: 38.56 kB / 370.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.424e-06/0.5001, allocations: 0 / 370.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005901/0.5007, allocations: 102.4 kB / 370.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.5008, allocations: 106.8 kB / 370.4 MB, free: 5.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.501, allocations: 133.4 kB / 370.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.501, allocations: 33.69 kB / 370.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5011, allocations: 121.4 kB / 370.7 MB, free: 5.227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.5012, allocations: 19.66 kB / 370.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-06/0.5012, allocations: 4 kB / 370.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5014, allocations: 318.8 kB / 371 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.5014, allocations: 23.98 kB / 371.1 MB, free: 4.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.5016, allocations: 69.09 kB / 371.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5017, allocations: 35.97 kB / 371.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5017, allocations: 3.953 kB / 371.2 MB, free: 4.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002993/0.502, allocations: 105.4 kB / 371.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.5021, allocations: 8 kB / 371.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5021, allocations: 3.938 kB / 371.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.5021, allocations: 0 / 371.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.504, allocations: 151.9 kB / 371.4 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.5058, allocations: 1.327 MB / 372.8 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.5061, allocations: 20.06 kB / 372.8 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.5061, allocations: 7.984 kB / 372.8 MB, free: 2.996 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.5062, allocations: 112.8 kB / 372.9 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005088/0.5068, allocations: 114.2 kB / 373 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.5068, allocations: 7.906 kB / 373 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.5073, allocations: 135 kB / 373.1 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5074, allocations: 3.953 kB / 373.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5074, allocations: 0 / 373.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5074, allocations: 0 / 373.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.5083, allocations: 404.6 kB / 373.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5083, allocations: 8.031 kB / 373.6 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.5085, allocations: 15.98 kB / 373.6 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.509, allocations: 52.81 kB / 373.6 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.509, allocations: 0 / 373.6 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.5108, allocations: 1.315 MB / 374.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5109, allocations: 0 / 374.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.5116, allocations: 262.8 kB / 375.2 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.5117, allocations: 88.94 kB / 375.3 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.5117, allocations: 4 kB / 375.3 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.512, allocations: 16.05 kB / 375.3 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.5121, allocations: 11.95 kB / 375.3 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5121, allocations: 0 / 375.3 MB, free: 224 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.5122, allocations: 120.1 kB / 375.4 MB, free: 104 kB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5122, allocations: 0 / 375.4 MB, free: 104 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004661/0.5127, allocations: 39.91 kB / 375.5 MB, free: 64 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.5138, allocations: 0.8707 MB / 376.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.5151, allocations: 131.9 kB / 376.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5151, allocations: 0 / 376.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.5155, allocations: 145.7 kB / 376.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5157, allocations: 12.12 kB / 376.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.5168, allocations: 335 kB / 376.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.5172, allocations: 0.7197 MB / 377.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.847e-05/0.5173, allocations: 8.547 kB / 377.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/0.5174, allocations: 39.42 kB / 377.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5174, allocations: 0 / 377.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.5573, allocations: 2.357 MB / 380.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/0.5576, allocations: 151.9 kB / 380.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.072, allocations: 4.844 kB / 380.2 MB, free: 11.16 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat