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.487/2.487, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.784e-05, allocations: 4 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3843, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.5709, allocations: 98.51 MB / 452.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5713, allocations: 79.95 kB / 452.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6262/1.198, allocations: 78.15 MB / 0.5186 GB, free: 101.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.198, allocations: 0 / 0.5186 GB, free: 101.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001624/1.198, allocations: 76.41 kB / 0.5187 GB, free: 101.9 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.01277/1.211, allocations: 3.555 MB / 0.5222 GB, free: 99.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.211, allocations: 9.75 kB / 0.5222 GB, free: 99.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02524/1.236, allocations: 3.369 MB / 0.5255 GB, free: 99.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008366/1.244, allocations: 2.334 MB / 0.5277 GB, free: 97.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/1.245, allocations: 132.5 kB / 0.5279 GB, free: 97.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00263/1.247, allocations: 232.3 kB / 0.5281 GB, free: 97.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01617/1.264, allocations: 6.683 MB / 0.5346 GB, free: 92.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/1.289, allocations: 10 MB / 0.5444 GB, free: 82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/1.29, allocations: 43.56 kB / 0.5444 GB, free: 81.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002181/1.292, allocations: 32 kB / 0.5445 GB, free: 81.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002465/1.294, allocations: 1.136 MB / 0.5456 GB, free: 80.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06846/1.363, allocations: 45.87 MB / 0.5904 GB, free: 33.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004445/1.367, allocations: 2.794 MB / 0.5931 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/1.37, allocations: 1.028 MB / 0.5941 GB, free: 29.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/1.37, allocations: 24.45 kB / 0.5941 GB, free: 29.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/1.37, allocations: 51.38 kB / 0.5942 GB, free: 29.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 6.412e-06/1.37, allocations: 0 / 0.5942 GB, free: 29.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=179): time 0.007896/1.378, allocations: 2.377 MB / 0.5965 GB, free: 27.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/1.378, allocations: 174.9 kB / 0.5967 GB, free: 26.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007362/1.385, allocations: 3.104 MB / 0.5997 GB, free: 23.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003491/1.386, allocations: 29.89 kB / 0.5997 GB, free: 23.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002936/1.389, allocations: 3.354 MB / 0.603 GB, free: 20.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/1.39, allocations: 0.7021 MB / 0.6037 GB, free: 19.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007931/1.391, allocations: 0 / 0.6037 GB, free: 19.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006967/1.391, allocations: 0.6669 MB / 0.6043 GB, free: 18.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/1.396, allocations: 1.9 MB / 0.6062 GB, free: 17.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007619/1.404, allocations: 6.441 MB / 0.6125 GB, free: 8.285 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007821/1.412, allocations: 3.579 MB / 0.616 GB, free: 4.699 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/1.412, allocations: 44 kB / 0.616 GB, free: 4.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.02068/1.432, allocations: 7.246 MB / 0.6231 GB, free: 13.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/1.433, allocations: 76 kB / 0.6232 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000274/1.433, allocations: 164 kB / 0.6233 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/1.433, allocations: 240 kB / 0.6235 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/1.443, allocations: 1.611 MB / 0.6251 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003678/1.444, allocations: 318.7 kB / 0.6254 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007606/1.451, allocations: 0.8183 MB / 0.6262 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/1.453, allocations: 440 kB / 0.6266 GB, free: 9.766 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.002282/1.456, allocations: 498.7 kB / 0.6271 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005954/1.462, allocations: 2.147 MB / 0.6292 GB, free: 7.109 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008915/1.463, allocations: 307.9 kB / 0.6295 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/1.468, allocations: 1.899 MB / 0.6314 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/1.468, allocations: 36 kB / 0.6314 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.468, allocations: 0 / 0.6314 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/1.469, allocations: 15.92 kB / 0.6314 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/1.487, allocations: 5.743 MB / 0.637 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/1.487, allocations: 8 kB / 0.637 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/1.489, allocations: 247.6 kB / 0.6373 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.985e-05/1.49, allocations: 16 kB / 0.6373 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/1.49, allocations: 12 kB / 0.6373 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-05/1.49, allocations: 23.92 kB / 0.6373 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-05/1.49, allocations: 8 kB / 0.6373 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/1.497, allocations: 3.617 MB / 0.6409 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.498, allocations: 372.7 kB / 0.6412 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.499, allocations: 15.98 kB / 0.6412 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/1.502, allocations: 47.92 kB / 0.6413 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005582/1.503, allocations: 100.3 kB / 0.6414 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.503, allocations: 56 kB / 0.6414 GB, free: 10.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006228/1.509, allocations: 2.023 MB / 0.6434 GB, free: 8.102 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.509, allocations: 0 / 0.6434 GB, free: 8.102 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008845/1.518, allocations: 1.019 MB / 0.6444 GB, free: 7.078 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.009064/1.527, allocations: 6.225 MB / 0.6505 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01527/1.542, allocations: 4.398 MB / 0.6548 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.152e-05/1.543, allocations: 4.188 kB / 0.6548 GB, free: 12.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00364/1.546, allocations: 1.045 MB / 0.6558 GB, free: 11.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.55, allocations: 256.9 kB / 0.656 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04473/1.595, allocations: 8.596 MB / 0.6644 GB, free: 2.164 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3406/1.935, allocations: 3.357 MB / 0.6677 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01252/1.948, allocations: 2.48 MB / 0.6701 GB, free: 133 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005181/1.953, allocations: 1.753 MB / 0.6718 GB, free: 133 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/1.953, allocations: 0 / 0.6718 GB, free: 133 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/2.121, allocations: 63 MB / 0.7334 GB, free: 100.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/2.122, allocations: 141.4 kB / 0.7335 GB, free: 99.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.419/6.541, allocations: 0 / 0.7335 GB, free: 99.93 MB / 474.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