Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.532/2.532, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.832e-05/4.883e-05, allocations: 3.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1824, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6157/0.7982, allocations: 88.8 MB / 499.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.7986, allocations: 72.83 kB / 499.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.8163, allocations: 2.917 MB / 0.4904 GB, free: 12.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8163, allocations: 3.938 kB / 0.4904 GB, free: 12.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.8163, allocations: 0 / 0.4904 GB, free: 12.18 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001008/0.8174, allocations: 423.2 kB / 0.4908 GB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.8174, allocations: 8.031 kB / 0.4908 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.818e-05/0.8176, allocations: 46.55 kB / 0.4908 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.8177, allocations: 19.75 kB / 0.4909 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.818, allocations: 207 kB / 0.4911 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.8181, allocations: 8.281 kB / 0.4911 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.8181, allocations: 15.95 kB / 0.4911 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.8186, allocations: 123.6 kB / 0.4912 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.8187, allocations: 0 / 0.4912 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.8187, allocations: 4 kB / 0.4912 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.8187, allocations: 8 kB / 0.4912 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.8191, allocations: 76.55 kB / 0.4913 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.8208, allocations: 0.5612 MB / 0.4918 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.8212, allocations: 62.64 kB / 0.4919 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.8213, allocations: 16.98 kB / 0.4919 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.8213, allocations: 0 / 0.4919 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.8214, allocations: 30.56 kB / 0.4919 GB, free: 10.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.856e-06/0.8214, allocations: 0 / 0.4919 GB, free: 10.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003098/0.8217, allocations: 69.53 kB / 0.492 GB, free: 10.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.8218, allocations: 59.41 kB / 0.4921 GB, free: 10.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.8221, allocations: 132.5 kB / 0.4922 GB, free: 10.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.8221, allocations: 25.7 kB / 0.4922 GB, free: 10.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.8222, allocations: 139.4 kB / 0.4923 GB, free: 9.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.8223, allocations: 23.66 kB / 0.4924 GB, free: 9.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.8223, allocations: 0 / 0.4924 GB, free: 9.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8225, allocations: 326.8 kB / 0.4927 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.8226, allocations: 12 kB / 0.4927 GB, free: 9.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.8227, allocations: 56.78 kB / 0.4927 GB, free: 9.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.8229, allocations: 24.84 kB / 0.4928 GB, free: 9.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8229, allocations: 0 / 0.4928 GB, free: 9.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004078/0.8233, allocations: 109.5 kB / 0.4929 GB, free: 9.387 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.8234, allocations: 8 kB / 0.4929 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8234, allocations: 0 / 0.4929 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.8234, allocations: 0 / 0.4929 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.8238, allocations: 31.97 kB / 0.4929 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.8238, allocations: 0 / 0.4929 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.8241, allocations: 15.94 kB / 0.4929 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.8241, allocations: 4 kB / 0.4929 GB, free: 9.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 11 * 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 prepare postOptimizeDAE: time 0.0001237/0.8243, allocations: 116.9 kB / 0.493 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.8244, allocations: 11.89 kB / 0.493 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.8244, allocations: 12.09 kB / 0.4931 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.8245, allocations: 0 / 0.4931 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8245, allocations: 0 / 0.4931 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.8245, allocations: 0 / 0.4931 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.825, allocations: 213.5 kB / 0.4933 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.825, allocations: 3.938 kB / 0.4933 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.8252, allocations: 23.98 kB / 0.4933 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.8253, allocations: 0 / 0.4933 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.8253, allocations: 0 / 0.4933 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8253, allocations: 0 / 0.4933 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8253, allocations: 0 / 0.4933 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.8256, allocations: 167.4 kB / 0.4934 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.8257, allocations: 89.09 kB / 0.4935 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.8258, allocations: 8 kB / 0.4935 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.826, allocations: 11.98 kB / 0.4935 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.8261, allocations: 4 kB / 0.4936 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.8261, allocations: 0 / 0.4936 GB, free: 8.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.8263, allocations: 114.3 kB / 0.4937 GB, free: 8.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.8264, allocations: 0 / 0.4937 GB, free: 8.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.827, allocations: 27.84 kB / 0.4937 GB, free: 8.453 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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007471/0.8277, allocations: 0.7007 MB / 0.4944 GB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.828, allocations: 43.92 kB / 0.4944 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.8281, allocations: 4 kB / 0.4944 GB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.365e-05/0.8282, allocations: 23.88 kB / 0.4944 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.8285, allocations: 480 / 0.4944 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.8296, allocations: 173.8 kB / 0.4946 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.8301, allocations: 0.7119 MB / 0.4953 GB, free: 6.711 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.8302, allocations: 4.672 kB / 0.4953 GB, free: 6.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.8303, allocations: 43.42 kB / 0.4953 GB, free: 6.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8304, allocations: 0 / 0.4953 GB, free: 6.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.8555, allocations: 1.916 MB / 0.4972 GB, free: 4.824 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/0.8559, allocations: 152.1 kB / 0.4974 GB, free: 4.594 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.232, allocations: 4 kB / 0.4974 GB, free: 4.59 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat