Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.427e-05, allocations: 4 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4103, allocations: 61.87 MB / 410.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.6048, allocations: 106.5 MB / 0.5048 GB, free: 15.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6051, allocations: 83.88 kB / 0.5048 GB, free: 15.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6744/1.28, allocations: 78.9 MB / 0.5819 GB, free: 60.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.714e-06/1.28, allocations: 0 / 0.5819 GB, free: 60.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001619/1.28, allocations: 72 kB / 0.582 GB, free: 60.01 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01123/1.291, allocations: 3.479 MB / 0.5854 GB, free: 56.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.291, allocations: 12.03 kB / 0.5854 GB, free: 56.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003412/1.295, allocations: 0.7912 MB / 0.5861 GB, free: 55.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04421/1.339, allocations: 3.348 MB / 0.5894 GB, free: 52.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/1.351, allocations: 2.294 MB / 0.5917 GB, free: 49.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/1.351, allocations: 303.8 kB / 0.5919 GB, free: 49.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0119/1.363, allocations: 395.8 kB / 0.5923 GB, free: 49.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/1.397, allocations: 10.35 MB / 0.6024 GB, free: 37.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001813/1.398, allocations: 43.56 kB / 0.6025 GB, free: 37.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001894/1.4, allocations: 195.9 kB / 0.6027 GB, free: 37.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/1.402, allocations: 1.1 MB / 0.6037 GB, free: 36.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/1.425, allocations: 8.859 MB / 0.6124 GB, free: 27.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07247/1.497, allocations: 46.21 MB / 0.6575 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009298/1.507, allocations: 3.346 MB / 0.6608 GB, free: 8.395 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/1.51, allocations: 1.211 MB / 0.662 GB, free: 7.168 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01584/1.526, allocations: 5.039 MB / 0.6669 GB, free: 1.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/1.526, allocations: 51.11 kB / 0.6669 GB, free: 1.922 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 5.971e-06/1.526, allocations: 0 / 0.6669 GB, free: 1.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=150): time 0.01082/1.537, allocations: 2.506 MB / 0.6694 GB, free: 15.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.537, allocations: 174.7 kB / 0.6695 GB, free: 15.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009099/1.546, allocations: 3.398 MB / 0.6729 GB, free: 11.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002727/1.546, allocations: 45.61 kB / 0.6729 GB, free: 11.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003884/1.55, allocations: 3.235 MB / 0.6761 GB, free: 8.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.551, allocations: 0.6059 MB / 0.6767 GB, free: 7.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007881/1.552, allocations: 128 kB / 0.6768 GB, free: 7.734 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006698/1.553, allocations: 0.5787 MB / 0.6773 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005316/1.558, allocations: 1.867 MB / 0.6792 GB, free: 5.277 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009798/1.568, allocations: 5.982 MB / 0.685 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00852/1.577, allocations: 3.424 MB / 0.6884 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001459/1.577, allocations: 40 kB / 0.6884 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.02193/1.599, allocations: 7.123 MB / 0.6954 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.599, allocations: 72 kB / 0.6954 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002646/1.599, allocations: 148.6 kB / 0.6956 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/1.6, allocations: 216 kB / 0.6958 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009238/1.609, allocations: 1.474 MB / 0.6972 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003519/1.609, allocations: 286.9 kB / 0.6975 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007011/1.616, allocations: 0.9164 MB / 0.6984 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.618, allocations: 403.9 kB / 0.6988 GB, free: 15.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (794): * Single equations (assignments): 788 * 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.001668/1.619, allocations: 0.5863 MB / 0.6993 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007873/1.62, allocations: 311.9 kB / 0.6996 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/1.622, allocations: 411.4 kB / 0.7 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001114/1.622, allocations: 39.98 kB / 0.7001 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.622, allocations: 7.953 kB / 0.7001 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.622, allocations: 7.984 kB / 0.7001 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.639, allocations: 5.576 MB / 0.7055 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/1.639, allocations: 11.98 kB / 0.7055 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/1.641, allocations: 199.7 kB / 0.7057 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.667e-05/1.641, allocations: 12 kB / 0.7057 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.641, allocations: 28 kB / 0.7058 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.312e-05/1.641, allocations: 15.98 kB / 0.7058 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/1.641, allocations: 11.94 kB / 0.7058 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/1.647, allocations: 3.085 MB / 0.7088 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.648, allocations: 388.6 kB / 0.7092 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008075/1.649, allocations: 24 kB / 0.7092 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.651, allocations: 75.89 kB / 0.7093 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/1.652, allocations: 76.33 kB / 0.7093 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.652, allocations: 47.98 kB / 0.7094 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00666/1.658, allocations: 2.307 MB / 0.7116 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.51e-07/1.658, allocations: 0 / 0.7116 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008744/1.667, allocations: 1.106 MB / 0.7127 GB, free: 480 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * 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.3814/2.049, allocations: 5.069 MB / 0.7177 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01032/2.059, allocations: 4.115 MB / 0.7217 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/2.059, allocations: 7.344 kB / 0.7217 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/2.061, allocations: 0.9242 MB / 0.7226 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/2.064, allocations: 341.4 kB / 0.7229 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/2.092, allocations: 8.297 MB / 0.731 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008311/2.101, allocations: 3.297 MB / 0.7342 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0103/2.111, allocations: 2.237 MB / 0.7364 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004184/2.115, allocations: 1.695 MB / 0.7381 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/2.115, allocations: 0 / 0.7381 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1624/2.278, allocations: 64.04 MB / 0.8006 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/2.278, allocations: 155.5 kB / 0.8008 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.832/7.11, allocations: 0 / 0.8008 GB, free: 93.86 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat