Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.407e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.5682, allocations: 78.53 MB / 421.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5685, allocations: 74.58 kB / 421.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.5845, allocations: 3.246 MB / 424.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5845, allocations: 0 / 424.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.5846, allocations: 0 / 424.5 MB, free: 12.83 MB / 346.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.0009477/0.5855, allocations: 437.6 kB / 424.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.5856, allocations: 8.031 kB / 424.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.5857, allocations: 41.81 kB / 425 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.5857, allocations: 15.81 kB / 425 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.586, allocations: 191 kB / 425.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.586, allocations: 4 kB / 425.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.5861, allocations: 15.28 kB / 425.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.5864, allocations: 143 kB / 425.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.5865, allocations: 3.953 kB / 425.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.5865, allocations: 3.062 kB / 425.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.5865, allocations: 4 kB / 425.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.5867, allocations: 68.17 kB / 425.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.5882, allocations: 0.507 MB / 425.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.5884, allocations: 75.73 kB / 426 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.5886, allocations: 58.88 kB / 426 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.5887, allocations: 3.938 kB / 426.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.5887, allocations: 34.56 kB / 426.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.947e-06/0.5888, allocations: 7.875 kB / 426.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000325/0.5891, allocations: 77.53 kB / 426.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.5892, allocations: 110.8 kB / 426.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.5894, allocations: 153 kB / 426.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.5894, allocations: 25.7 kB / 426.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.5895, allocations: 116.7 kB / 426.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.5896, allocations: 27.05 kB / 426.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.5896, allocations: 2.688 kB / 426.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5898, allocations: 321.9 kB / 426.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.5899, allocations: 22.69 kB / 426.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.59, allocations: 71.02 kB / 427 MB, free: 10.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.5901, allocations: 34.55 kB / 427 MB, free: 10.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5902, allocations: 0 / 427 MB, free: 10.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003149/0.5905, allocations: 115.4 kB / 427.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5905, allocations: 8 kB / 427.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5905, allocations: 0 / 427.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5906, allocations: 4.094 kB / 427.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5916, allocations: 83.86 kB / 427.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.5935, allocations: 1.383 MB / 428.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.5939, allocations: 23.86 kB / 428.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.5939, allocations: 15.39 kB / 428.7 MB, free: 8.605 MB / 346.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.0001142/0.5941, allocations: 108.9 kB / 428.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.5941, allocations: 11.41 kB / 428.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.5947, allocations: 122.7 kB / 428.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5947, allocations: 3.953 kB / 428.9 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5947, allocations: 4 kB / 428.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5947, allocations: 4 kB / 428.9 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008946/0.5956, allocations: 439.2 kB / 429.3 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.5956, allocations: 0 / 429.3 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.5959, allocations: 27.92 kB / 429.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003753/0.5963, allocations: 50.52 kB / 429.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5963, allocations: 0 / 429.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.5978, allocations: 1.281 MB / 430.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5978, allocations: 32 / 430.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.5985, allocations: 278.8 kB / 431 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.5985, allocations: 88.98 kB / 431.1 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.5986, allocations: 0 / 431.1 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.5989, allocations: 19.3 kB / 431.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.599, allocations: 7.984 kB / 431.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.599, allocations: 0 / 431.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.5991, allocations: 132.2 kB / 431.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5991, allocations: 0 / 431.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00043/0.5996, allocations: 38.97 kB / 431.3 MB, free: 5.938 MB / 346.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 (7): * Single equations (assignments): 6 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009982/0.6006, allocations: 0.8767 MB / 432.1 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.6016, allocations: 116 kB / 432.2 MB, free: 4.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6016, allocations: 0 / 432.2 MB, free: 4.969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.602, allocations: 153.7 kB / 432.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.6022, allocations: 8.312 kB / 432.4 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.6048, allocations: 476.4 kB / 432.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.6051, allocations: 0.716 MB / 433.6 MB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.6053, allocations: 20.53 kB / 433.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.6054, allocations: 40.55 kB / 433.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6054, allocations: 0 / 433.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.6339, allocations: 2.834 MB / 436.5 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.6342, allocations: 183.3 kB / 436.7 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.087, allocations: 0 / 436.7 MB, free: 0.6016 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat