Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.621/2.621, allocations: 270 MB / 283.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.444e-05/4.459e-05, allocations: 4 kB / 348.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5187, allocations: 61.87 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2164/0.7351, allocations: 91.76 MB / 0.4904 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.7355, allocations: 79.95 kB / 0.4904 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02632/0.7618, allocations: 5.781 MB / 0.4961 GB, free: 8.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7619, allocations: 4 kB / 0.4961 GB, free: 8.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.7619, allocations: 4 kB / 0.4961 GB, free: 8.934 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001575/0.7635, allocations: 0.6078 MB / 0.4967 GB, free: 8.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.7635, allocations: 16.03 kB / 0.4967 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.7637, allocations: 74.53 kB / 0.4968 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.7638, allocations: 44.91 kB / 0.4968 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.7643, allocations: 286.5 kB / 0.4971 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.7644, allocations: 24.78 kB / 0.4971 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.82e-05/0.7645, allocations: 40 kB / 0.4971 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.7653, allocations: 306.2 kB / 0.4974 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.7654, allocations: 3.984 kB / 0.4974 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/0.7655, allocations: 16 kB / 0.4975 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.7655, allocations: 8 kB / 0.4975 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.7663, allocations: 265.5 kB / 0.4977 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.7699, allocations: 1.355 MB / 0.499 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/0.7707, allocations: 252.1 kB / 0.4993 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.7711, allocations: 153.3 kB / 0.4994 GB, free: 5.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.7711, allocations: 4.281 kB / 0.4994 GB, free: 5.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.7712, allocations: 38.78 kB / 0.4995 GB, free: 5.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.276e-06/0.7712, allocations: 0 / 0.4995 GB, free: 5.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007834/0.772, allocations: 251.8 kB / 0.4997 GB, free: 5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.7721, allocations: 55.41 kB / 0.4998 GB, free: 4.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.7724, allocations: 231.1 kB / 0.5 GB, free: 4.703 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.7725, allocations: 33.7 kB / 0.5 GB, free: 4.664 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.7727, allocations: 200 kB / 0.5002 GB, free: 4.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.7728, allocations: 126.2 kB / 0.5003 GB, free: 4.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.7729, allocations: 8 kB / 0.5003 GB, free: 4.332 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7731, allocations: 342.8 kB / 0.5007 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.7734, allocations: 84.88 kB / 0.5007 GB, free: 3.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.7738, allocations: 154.7 kB / 0.5009 GB, free: 3.723 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.7741, allocations: 113.5 kB / 0.501 GB, free: 3.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7741, allocations: 4 kB / 0.501 GB, free: 3.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008976/0.775, allocations: 323.3 kB / 0.5013 GB, free: 3.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.7751, allocations: 7.984 kB / 0.5013 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7751, allocations: 4 kB / 0.5013 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.7751, allocations: 4 kB / 0.5013 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.7761, allocations: 99.88 kB / 0.5014 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.7761, allocations: 7.938 kB / 0.5014 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.7766, allocations: 47.52 kB / 0.5015 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.7767, allocations: 23.92 kB / 0.5015 GB, free: 3.098 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001475/0.7768, allocations: 125.7 kB / 0.5016 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.7769, allocations: 31.58 kB / 0.5016 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/0.7778, allocations: 292.5 kB / 0.5019 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.7778, allocations: 8 kB / 0.5019 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.7778, allocations: 0 / 0.5019 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7779, allocations: 7.875 kB / 0.5019 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.7786, allocations: 405.1 kB / 0.5023 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7786, allocations: 0 / 0.5023 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/0.7794, allocations: 83.94 kB / 0.5024 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.7795, allocations: 3.953 kB / 0.5024 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.7795, allocations: 8 kB / 0.5024 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.7795, allocations: 7.922 kB / 0.5024 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7795, allocations: 0 / 0.5024 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.7806, allocations: 482.7 kB / 0.5029 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.7808, allocations: 140.7 kB / 0.503 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.7809, allocations: 11.95 kB / 0.503 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.7813, allocations: 12 kB / 0.503 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.7814, allocations: 23.95 kB / 0.5031 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.7815, allocations: 8 kB / 0.5031 GB, free: 1.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002803/0.7818, allocations: 183.1 kB / 0.5032 GB, free: 1.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.7818, allocations: 0 / 0.5032 GB, free: 1.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005376/0.7823, allocations: 91.84 kB / 0.5033 GB, free: 1.113 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.001428/0.7838, allocations: 1.02 MB / 0.5043 GB, free: 68 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.7845, allocations: 239.7 kB / 0.5046 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7846, allocations: 0 / 0.5046 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.7849, allocations: 120.5 kB / 0.5047 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.7853, allocations: 30.69 kB / 0.5047 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.7874, allocations: 0.6123 MB / 0.5053 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.7879, allocations: 0.7913 MB / 0.5061 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003559/0.7882, allocations: 46.92 kB / 0.5061 GB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.7885, allocations: 111.4 kB / 0.5062 GB, free: 14.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.183e-06/0.7885, allocations: 0 / 0.5062 GB, free: 14.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.8233, allocations: 5.15 MB / 0.5113 GB, free: 9.023 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/0.8237, allocations: 157.6 kB / 0.5114 GB, free: 8.793 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.486, allocations: 0 / 0.5114 GB, free: 8.793 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat