Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.543/2.543, allocations: 270 MB / 283.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.205e-05/5.209e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1454, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5079/0.6534, allocations: 89.34 MB / 499.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.6537, allocations: 69.16 kB / 499.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03338/0.6871, allocations: 7.2 MB / 0.4951 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.6872, allocations: 0 / 0.4951 GB, free: 7.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.6872, allocations: 8 kB / 0.4951 GB, free: 7.363 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001532/0.6887, allocations: 0.588 MB / 0.4957 GB, free: 6.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.6888, allocations: 12.03 kB / 0.4957 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.6889, allocations: 70.47 kB / 0.4957 GB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.6891, allocations: 39.53 kB / 0.4958 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.6896, allocations: 276.3 kB / 0.496 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.6897, allocations: 28.78 kB / 0.4961 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.6897, allocations: 31.95 kB / 0.4961 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.6906, allocations: 318.4 kB / 0.4964 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.6906, allocations: 0 / 0.4964 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.6907, allocations: 16 kB / 0.4964 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.6907, allocations: 11.94 kB / 0.4964 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.6913, allocations: 200.7 kB / 0.4966 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.6943, allocations: 1.29 MB / 0.4979 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.6949, allocations: 170.5 kB / 0.498 GB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.6951, allocations: 59.56 kB / 0.4981 GB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.6951, allocations: 8.031 kB / 0.4981 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.6952, allocations: 38.67 kB / 0.4982 GB, free: 3.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.166e-06/0.6952, allocations: 0 / 0.4982 GB, free: 3.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005305/0.6957, allocations: 149.2 kB / 0.4983 GB, free: 3.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.6958, allocations: 132.5 kB / 0.4984 GB, free: 3.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.6963, allocations: 286.6 kB / 0.4987 GB, free: 3.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6964, allocations: 25.7 kB / 0.4987 GB, free: 3.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.6966, allocations: 247.3 kB / 0.499 GB, free: 3.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.6967, allocations: 51.27 kB / 0.499 GB, free: 3.043 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.6967, allocations: 4 kB / 0.499 GB, free: 3.039 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6969, allocations: 338.8 kB / 0.4993 GB, free: 2.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.697, allocations: 56.59 kB / 0.4994 GB, free: 2.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.6973, allocations: 132 kB / 0.4995 GB, free: 2.473 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.6975, allocations: 75.89 kB / 0.4996 GB, free: 2.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6976, allocations: 4 kB / 0.4996 GB, free: 2.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006439/0.6982, allocations: 241.3 kB / 0.4998 GB, free: 2.152 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.6983, allocations: 11.98 kB / 0.4998 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.6983, allocations: 8.062 kB / 0.4998 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.6983, allocations: 7.953 kB / 0.4998 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.699, allocations: 75.89 kB / 0.4999 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.699, allocations: 8.188 kB / 0.4999 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.6996, allocations: 63.52 kB / 0.5 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.6996, allocations: 8 kB / 0.5 GB, free: 1.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001142/0.6997, allocations: 116.9 kB / 0.5001 GB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.6999, allocations: 31.61 kB / 0.5001 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.7, allocations: 34.41 kB / 0.5002 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.7, allocations: 0 / 0.5002 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.7, allocations: 11.95 kB / 0.5002 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7001, allocations: 0 / 0.5002 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.7012, allocations: 0.5798 MB / 0.5007 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.537e-06/0.7012, allocations: 7.953 kB / 0.5007 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.7016, allocations: 48.12 kB / 0.5008 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.7016, allocations: 7.938 kB / 0.5008 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.7016, allocations: 0 / 0.5008 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.7017, allocations: 7.938 kB / 0.5008 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7017, allocations: 0 / 0.5008 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.7022, allocations: 417.7 kB / 0.5012 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.7023, allocations: 112.6 kB / 0.5013 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.7024, allocations: 8 kB / 0.5013 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.7028, allocations: 19.97 kB / 0.5013 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.7029, allocations: 20.06 kB / 0.5014 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.7029, allocations: 4 kB / 0.5014 GB, free: 400 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003949/0.7033, allocations: 230.2 kB / 0.5016 GB, free: 168 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7033, allocations: 3.938 kB / 0.5016 GB, free: 164 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006302/0.704, allocations: 67.84 kB / 0.5017 GB, free: 96 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/0.7053, allocations: 1.376 MB / 0.503 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.7059, allocations: 131.8 kB / 0.5031 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7059, allocations: 4 kB / 0.5031 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.7061, allocations: 56.17 kB / 0.5032 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.7065, allocations: 18.03 kB / 0.5032 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.7081, allocations: 421.5 kB / 0.5036 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.7086, allocations: 0.7794 MB / 0.5044 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.7088, allocations: 26.06 kB / 0.5044 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.7091, allocations: 99.41 kB / 0.5045 GB, free: 13.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.7091, allocations: 3.938 kB / 0.5045 GB, free: 13.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.7409, allocations: 4.461 MB / 0.5088 GB, free: 8.688 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.7413, allocations: 141.3 kB / 0.509 GB, free: 8.469 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.368, allocations: 0 / 0.509 GB, free: 8.469 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat