Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.629/2.629, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.311e-05, allocations: 4 kB / 305 MB, free: 5.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4418, allocations: 54.86 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.6331, allocations: 99.17 MB / 459 MB, free: 13.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.6335, allocations: 79.89 kB / 459.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6809/1.314, allocations: 79.82 MB / 0.5263 GB, free: 107.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.504e-06/1.314, allocations: 0 / 0.5263 GB, free: 107.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002004/1.315, allocations: 78.88 kB / 0.5264 GB, free: 107.7 MB / 458.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.01546/1.33, allocations: 3.56 MB / 0.5298 GB, free: 106.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/1.33, allocations: 9.938 kB / 0.5298 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004301/1.335, allocations: 0.8093 MB / 0.5306 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02728/1.362, allocations: 3.369 MB / 0.5339 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.372, allocations: 2.336 MB / 0.5362 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006064/1.373, allocations: 306.6 kB / 0.5365 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002991/1.376, allocations: 406.2 kB / 0.5369 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03309/1.409, allocations: 10.67 MB / 0.5473 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003998/1.41, allocations: 48.66 kB / 0.5474 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003011/1.413, allocations: 199.5 kB / 0.5475 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002825/1.415, allocations: 1.133 MB / 0.5486 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/1.44, allocations: 9.287 MB / 0.5577 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07128/1.512, allocations: 46.89 MB / 0.6035 GB, free: 67.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008465/1.52, allocations: 3.457 MB / 0.6069 GB, free: 65.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00278/1.523, allocations: 1.254 MB / 0.6081 GB, free: 65.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/1.537, allocations: 5.324 MB / 0.6133 GB, free: 62.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.537, allocations: 48.86 kB / 0.6134 GB, free: 62.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 6.642e-06/1.537, allocations: 0 / 0.6134 GB, free: 62.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.009958/1.547, allocations: 2.531 MB / 0.6158 GB, free: 61.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/1.547, allocations: 174 kB / 0.616 GB, free: 61.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009298/1.557, allocations: 3.454 MB / 0.6194 GB, free: 58.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000335/1.557, allocations: 45.64 kB / 0.6194 GB, free: 58.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003097/1.56, allocations: 3.311 MB / 0.6226 GB, free: 55.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.561, allocations: 0.6179 MB / 0.6233 GB, free: 55.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008645/1.562, allocations: 128 kB / 0.6234 GB, free: 55.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006211/1.563, allocations: 0.5854 MB / 0.6239 GB, free: 54.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005312/1.568, allocations: 1.901 MB / 0.6258 GB, free: 52.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008303/1.577, allocations: 6.154 MB / 0.6318 GB, free: 44.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007935/1.585, allocations: 3.482 MB / 0.6352 GB, free: 41.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/1.585, allocations: 40 kB / 0.6352 GB, free: 41.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02055/1.605, allocations: 7.704 MB / 0.6428 GB, free: 35.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/1.606, allocations: 72 kB / 0.6428 GB, free: 34.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/1.606, allocations: 156.2 kB / 0.643 GB, free: 34.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/1.606, allocations: 220 kB / 0.6432 GB, free: 34.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009155/1.615, allocations: 1.496 MB / 0.6447 GB, free: 33.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000307/1.616, allocations: 294.1 kB / 0.6449 GB, free: 32.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007296/1.623, allocations: 0.935 MB / 0.6459 GB, free: 32.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/1.625, allocations: 408.5 kB / 0.6462 GB, free: 31.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (813): * Single equations (assignments): 807 * 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.002036/1.627, allocations: 0.5967 MB / 0.6468 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007844/1.627, allocations: 315.8 kB / 0.6471 GB, free: 30.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/1.629, allocations: 421.2 kB / 0.6475 GB, free: 30.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/1.629, allocations: 39.91 kB / 0.6476 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/1.629, allocations: 4 kB / 0.6476 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.629, allocations: 10.92 kB / 0.6476 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.646, allocations: 5.747 MB / 0.6532 GB, free: 25.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/1.646, allocations: 8 kB / 0.6532 GB, free: 25.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/1.648, allocations: 215.8 kB / 0.6534 GB, free: 25.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.897e-05/1.648, allocations: 15.95 kB / 0.6534 GB, free: 25.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/1.648, allocations: 24 kB / 0.6534 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-05/1.648, allocations: 15.61 kB / 0.6535 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.648, allocations: 11.94 kB / 0.6535 GB, free: 25.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/1.653, allocations: 3.213 MB / 0.6566 GB, free: 21.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.654, allocations: 395.1 kB / 0.657 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.655, allocations: 31.75 kB / 0.657 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.658, allocations: 62.73 kB / 0.6571 GB, free: 21.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/1.659, allocations: 89.11 kB / 0.6572 GB, free: 21.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.659, allocations: 51.14 kB / 0.6572 GB, free: 21.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006477/1.665, allocations: 2.347 MB / 0.6595 GB, free: 19.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.733e-06/1.665, allocations: 0 / 0.6595 GB, free: 19.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007298/1.673, allocations: 1.125 MB / 0.6606 GB, free: 18.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * 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.00603/1.679, allocations: 5.363 MB / 0.6658 GB, free: 12.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01034/1.689, allocations: 4.39 MB / 0.6701 GB, free: 8.738 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.689, allocations: 4 kB / 0.6701 GB, free: 8.734 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.691, allocations: 0.9494 MB / 0.6711 GB, free: 7.785 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.694, allocations: 334.6 kB / 0.6714 GB, free: 7.469 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03372/1.728, allocations: 8.512 MB / 0.6797 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/1.741, allocations: 3.353 MB / 0.683 GB, free: 11.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01714/1.758, allocations: 2.275 MB / 0.6852 GB, free: 9.219 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00561/1.764, allocations: 1.733 MB / 0.6869 GB, free: 7.484 MB / 474.7 MB Notification: Performance of SimCode: time 2.685e-06/1.764, allocations: 0 / 0.6869 GB, free: 7.484 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5739/2.337, allocations: 65.7 MB / 0.751 GB, free: 112.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/2.338, allocations: 152.4 kB / 0.7512 GB, free: 112.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.979/7.316, allocations: 0 / 0.7512 GB, free: 112.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat