Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.754/2.754, allocations: 235.1 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.152e-05, allocations: 4 kB / 299.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.493, allocations: 54.86 MB / 354.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.7045, allocations: 98.5 MB / 452.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.7049, allocations: 83.95 kB / 453 MB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7402/1.445, allocations: 78.15 MB / 0.5187 GB, free: 101.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.445, allocations: 0 / 0.5187 GB, free: 101.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001934/1.445, allocations: 75.69 kB / 0.5188 GB, free: 101.8 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.0141/1.459, allocations: 3.552 MB / 0.5223 GB, free: 99.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/1.46, allocations: 14.09 kB / 0.5223 GB, free: 99.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03056/1.49, allocations: 3.37 MB / 0.5256 GB, free: 98.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009443/1.5, allocations: 2.339 MB / 0.5278 GB, free: 97.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/1.5, allocations: 129.8 kB / 0.528 GB, free: 97.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/1.503, allocations: 229.8 kB / 0.5282 GB, free: 97.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01791/1.521, allocations: 6.685 MB / 0.5347 GB, free: 92.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02862/1.549, allocations: 9.992 MB / 0.5445 GB, free: 81.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002202/1.55, allocations: 43.56 kB / 0.5445 GB, free: 81.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00248/1.552, allocations: 43.88 kB / 0.5446 GB, free: 81.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002855/1.555, allocations: 1.135 MB / 0.5457 GB, free: 80.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07981/1.635, allocations: 45.87 MB / 0.5905 GB, free: 33.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/1.64, allocations: 2.802 MB / 0.5932 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002525/1.643, allocations: 1.023 MB / 0.5942 GB, free: 29.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/1.643, allocations: 16.45 kB / 0.5942 GB, free: 29.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/1.643, allocations: 63.36 kB / 0.5943 GB, free: 29.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 6.873e-06/1.643, allocations: 0 / 0.5943 GB, free: 29.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=179): time 0.0088/1.652, allocations: 2.378 MB / 0.5966 GB, free: 26.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/1.652, allocations: 174.9 kB / 0.5968 GB, free: 26.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007974/1.66, allocations: 3.1 MB / 0.5998 GB, free: 23.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003793/1.66, allocations: 37.7 kB / 0.5998 GB, free: 23.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003196/1.664, allocations: 3.35 MB / 0.6031 GB, free: 20.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.665, allocations: 0.6982 MB / 0.6038 GB, free: 19.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009022/1.666, allocations: 0 / 0.6038 GB, free: 19.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008011/1.667, allocations: 0.663 MB / 0.6044 GB, free: 18.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005426/1.672, allocations: 1.908 MB / 0.6063 GB, free: 16.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008753/1.681, allocations: 6.434 MB / 0.6126 GB, free: 8.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009112/1.69, allocations: 3.583 MB / 0.6161 GB, free: 4.473 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/1.69, allocations: 48 kB / 0.6161 GB, free: 4.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.02377/1.714, allocations: 7.245 MB / 0.6232 GB, free: 13.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/1.714, allocations: 76 kB / 0.6233 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003372/1.715, allocations: 164 kB / 0.6234 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004085/1.715, allocations: 236 kB / 0.6236 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/1.727, allocations: 1.614 MB / 0.6252 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004336/1.728, allocations: 314.8 kB / 0.6255 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008722/1.737, allocations: 0.8223 MB / 0.6263 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00199/1.739, allocations: 436 kB / 0.6267 GB, free: 9.535 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (877): * Single equations (assignments): 871 * Array equations: 6 * 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.00247/1.741, allocations: 496.5 kB / 0.6272 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007044/1.748, allocations: 2.148 MB / 0.6293 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.749, allocations: 311.9 kB / 0.6296 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006455/1.756, allocations: 1.895 MB / 0.6315 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000146/1.756, allocations: 39.98 kB / 0.6315 GB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.756, allocations: 0 / 0.6315 GB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/1.756, allocations: 11.94 kB / 0.6315 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.777, allocations: 5.738 MB / 0.6371 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/1.778, allocations: 8.625 kB / 0.6371 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/1.78, allocations: 255.6 kB / 0.6374 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.447e-05/1.78, allocations: 16 kB / 0.6374 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/1.781, allocations: 15.98 kB / 0.6374 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.858e-05/1.781, allocations: 27.86 kB / 0.6374 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/1.781, allocations: 15.88 kB / 0.6374 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007879/1.789, allocations: 3.617 MB / 0.641 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.79, allocations: 364.7 kB / 0.6413 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.791, allocations: 19.98 kB / 0.6413 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002719/1.794, allocations: 47.92 kB / 0.6414 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005908/1.795, allocations: 104.2 kB / 0.6415 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/1.795, allocations: 55.98 kB / 0.6415 GB, free: 9.867 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006597/1.801, allocations: 2.019 MB / 0.6435 GB, free: 7.859 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.802, allocations: 0 / 0.6435 GB, free: 7.859 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009417/1.811, allocations: 1.019 MB / 0.6445 GB, free: 6.836 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 6 * 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.009878/1.821, allocations: 6.228 MB / 0.6506 GB, free: 356 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01322/1.834, allocations: 4.397 MB / 0.6549 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.834, allocations: 0 / 0.6549 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00304/1.837, allocations: 1.043 MB / 0.6559 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.84, allocations: 255.7 kB / 0.6561 GB, free: 10.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03674/1.877, allocations: 8.586 MB / 0.6645 GB, free: 1.945 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3856/2.263, allocations: 3.357 MB / 0.6678 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01418/2.277, allocations: 2.483 MB / 0.6702 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004792/2.282, allocations: 1.752 MB / 0.6719 GB, free: 133 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/2.282, allocations: 0 / 0.6719 GB, free: 133 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1793/2.461, allocations: 63.01 MB / 0.7335 GB, free: 99.99 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000285/2.461, allocations: 149.9 kB / 0.7336 GB, free: 99.79 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.005/7.466, allocations: 0 / 0.7336 GB, free: 99.79 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat