Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.135e-05, allocations: 11.92 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1646, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5007/0.6654, allocations: 88.1 MB / 498.4 MB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.6658, allocations: 67.97 kB / 498.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.6798, allocations: 2.88 MB / 0.4896 GB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6799, allocations: 0 / 0.4896 GB, free: 12.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.6799, allocations: 7.828 kB / 0.4897 GB, free: 12.94 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009172/0.6808, allocations: 426.3 kB / 0.4901 GB, free: 12.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.6809, allocations: 8.031 kB / 0.4901 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.6809, allocations: 38.56 kB / 0.4901 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.681, allocations: 7.906 kB / 0.4901 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.6813, allocations: 194.8 kB / 0.4903 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.6813, allocations: 15.89 kB / 0.4903 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.6813, allocations: 4 kB / 0.4903 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.6817, allocations: 114.7 kB / 0.4904 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6817, allocations: 0 / 0.4904 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.6817, allocations: 8 kB / 0.4904 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6817, allocations: 0 / 0.4904 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.6819, allocations: 59.89 kB / 0.4905 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.6832, allocations: 459.4 kB / 0.4909 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.6834, allocations: 54.58 kB / 0.491 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.6835, allocations: 24.94 kB / 0.491 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.6835, allocations: 0 / 0.491 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.6835, allocations: 38.5 kB / 0.491 GB, free: 11.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.6835, allocations: 0 / 0.491 GB, free: 11.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001104/0.6847, allocations: 193.3 kB / 0.4912 GB, free: 11.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.6847, allocations: 102.8 kB / 0.4913 GB, free: 11.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.6849, allocations: 132.8 kB / 0.4914 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.685, allocations: 25.7 kB / 0.4915 GB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.6851, allocations: 120.1 kB / 0.4916 GB, free: 10.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.6852, allocations: 23.66 kB / 0.4916 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.6852, allocations: 4 kB / 0.4916 GB, free: 10.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6854, allocations: 322.8 kB / 0.4919 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.6855, allocations: 32 kB / 0.492 GB, free: 10.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.6856, allocations: 60.28 kB / 0.492 GB, free: 10.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.6858, allocations: 40 kB / 0.492 GB, free: 10.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6858, allocations: 0 / 0.492 GB, free: 10.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000318/0.6861, allocations: 109.5 kB / 0.4922 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6861, allocations: 7.953 kB / 0.4922 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6861, allocations: 224 / 0.4922 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.6862, allocations: 4 kB / 0.4922 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.6873, allocations: 95.91 kB / 0.4923 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.6891, allocations: 1.37 MB / 0.4936 GB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.6895, allocations: 36 kB / 0.4936 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.6896, allocations: 4.125 kB / 0.4936 GB, free: 8.453 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001117/0.6897, allocations: 115.5 kB / 0.4937 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.6898, allocations: 15.84 kB / 0.4938 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.6901, allocations: 94.3 kB / 0.4938 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.6901, allocations: 0 / 0.4938 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.6901, allocations: 192 / 0.4938 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6901, allocations: 4.125 kB / 0.4939 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.6908, allocations: 414.2 kB / 0.4942 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6908, allocations: 4 kB / 0.4943 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.6912, allocations: 31.97 kB / 0.4943 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6912, allocations: 0 / 0.4943 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.6912, allocations: 0 / 0.4943 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6912, allocations: 0 / 0.4943 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6912, allocations: 0 / 0.4943 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.6915, allocations: 191.4 kB / 0.4945 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.6916, allocations: 92.97 kB / 0.4946 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.6916, allocations: 3.938 kB / 0.4946 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.692, allocations: 32.03 kB / 0.4946 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.6921, allocations: 11.98 kB / 0.4946 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.6921, allocations: 0 / 0.4946 GB, free: 7.363 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.6923, allocations: 111.3 kB / 0.4947 GB, free: 7.254 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6923, allocations: 0 / 0.4947 GB, free: 7.254 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.6927, allocations: 32 kB / 0.4947 GB, free: 7.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006257/0.6933, allocations: 0.7154 MB / 0.4954 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.6944, allocations: 119.9 kB / 0.4955 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6944, allocations: 0 / 0.4955 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.6945, allocations: 28.53 kB / 0.4956 GB, free: 6.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.6948, allocations: 16.06 kB / 0.4956 GB, free: 6.324 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.697, allocations: 323.1 kB / 0.4959 GB, free: 5.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.6974, allocations: 0.7082 MB / 0.4966 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.6975, allocations: 12.42 kB / 0.4966 GB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.6976, allocations: 31.42 kB / 0.4966 GB, free: 5.191 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6977, allocations: 4 kB / 0.4966 GB, free: 5.188 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.7211, allocations: 2.677 MB / 0.4992 GB, free: 2.625 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/0.7215, allocations: 185.2 kB / 0.4994 GB, free: 2.406 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.121, allocations: 4 kB / 0.4994 GB, free: 2.402 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat does not exist to compare? outputFormat=mat