Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.574/2.574, allocations: 270 MB / 283.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.08e-05, allocations: 4 kB / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4489, allocations: 61.86 MB / 410.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.6464, allocations: 106.5 MB / 0.5048 GB, free: 16 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.6468, allocations: 76.03 kB / 0.5048 GB, free: 15.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6645/1.311, allocations: 78.9 MB / 0.5819 GB, free: 60.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.311, allocations: 0 / 0.5819 GB, free: 60.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001767/1.311, allocations: 72 kB / 0.582 GB, free: 60.18 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.0125/1.324, allocations: 3.479 MB / 0.5854 GB, free: 56.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.324, allocations: 15.97 kB / 0.5854 GB, free: 56.62 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003979/1.328, allocations: 0.7834 MB / 0.5861 GB, free: 55.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0249/1.353, allocations: 3.348 MB / 0.5894 GB, free: 52.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008138/1.361, allocations: 2.302 MB / 0.5917 GB, free: 50.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/1.362, allocations: 303.8 kB / 0.592 GB, free: 49.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002529/1.364, allocations: 391.9 kB / 0.5923 GB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02849/1.393, allocations: 10.34 MB / 0.6024 GB, free: 38.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/1.393, allocations: 51.56 kB / 0.6025 GB, free: 38.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002321/1.395, allocations: 195.9 kB / 0.6027 GB, free: 37.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002392/1.398, allocations: 1.104 MB / 0.6037 GB, free: 36.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/1.421, allocations: 8.859 MB / 0.6124 GB, free: 27.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07623/1.498, allocations: 46.22 MB / 0.6575 GB, free: 12.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009684/1.507, allocations: 3.336 MB / 0.6608 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003311/1.511, allocations: 1.213 MB / 0.662 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/1.527, allocations: 5.039 MB / 0.6669 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/1.527, allocations: 43.12 kB / 0.6669 GB, free: 2.102 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 6.232e-06/1.527, allocations: 4 kB / 0.6669 GB, free: 2.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=150): time 0.01111/1.538, allocations: 2.51 MB / 0.6694 GB, free: 15.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.538, allocations: 170.8 kB / 0.6696 GB, free: 15.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.548, allocations: 3.41 MB / 0.6729 GB, free: 11.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003185/1.549, allocations: 41.7 kB / 0.6729 GB, free: 11.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004179/1.553, allocations: 3.235 MB / 0.6761 GB, free: 8.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/1.554, allocations: 0.6059 MB / 0.6767 GB, free: 8.027 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008993/1.555, allocations: 120 kB / 0.6768 GB, free: 7.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007805/1.556, allocations: 0.5826 MB / 0.6774 GB, free: 7.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00579/1.562, allocations: 1.879 MB / 0.6792 GB, free: 5.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/1.572, allocations: 5.974 MB / 0.685 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00883/1.581, allocations: 3.421 MB / 0.6884 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001673/1.581, allocations: 44 kB / 0.6884 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.02235/1.603, allocations: 7.128 MB / 0.6954 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/1.603, allocations: 70.03 kB / 0.6954 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002805/1.604, allocations: 148 kB / 0.6956 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/1.604, allocations: 216 kB / 0.6958 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00936/1.613, allocations: 1.466 MB / 0.6972 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003757/1.614, allocations: 290.9 kB / 0.6975 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007264/1.621, allocations: 0.9127 MB / 0.6984 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/1.623, allocations: 400 kB / 0.6988 GB, free: 15.3 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.002079/1.625, allocations: 0.5863 MB / 0.6993 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008341/1.626, allocations: 311.9 kB / 0.6996 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/1.627, allocations: 415.4 kB / 0.7 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/1.628, allocations: 36 kB / 0.7001 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.628, allocations: 11.94 kB / 0.7001 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.628, allocations: 3.984 kB / 0.7001 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/1.646, allocations: 5.576 MB / 0.7055 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/1.646, allocations: 4 kB / 0.7055 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.648, allocations: 207.7 kB / 0.7057 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.342e-05/1.648, allocations: 12 kB / 0.7057 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/1.648, allocations: 27.98 kB / 0.7058 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/1.648, allocations: 8 kB / 0.7058 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/1.648, allocations: 11.94 kB / 0.7058 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005897/1.654, allocations: 3.093 MB / 0.7088 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.656, allocations: 396.6 kB / 0.7092 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.657, allocations: 27.98 kB / 0.7092 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.659, allocations: 59.92 kB / 0.7093 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/1.66, allocations: 80.31 kB / 0.7093 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/1.66, allocations: 48.45 kB / 0.7094 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006889/1.667, allocations: 2.315 MB / 0.7117 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.222e-06/1.667, allocations: 0 / 0.7117 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007823/1.675, allocations: 1.102 MB / 0.7127 GB, free: 0.625 MB / 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.3852/2.06, allocations: 5.069 MB / 0.7177 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009717/2.07, allocations: 4.12 MB / 0.7217 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.07, allocations: 0 / 0.7217 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/2.072, allocations: 0.9281 MB / 0.7226 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/2.074, allocations: 334.9 kB / 0.7229 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/2.101, allocations: 8.301 MB / 0.731 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007591/2.109, allocations: 3.292 MB / 0.7342 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01066/2.12, allocations: 2.243 MB / 0.7364 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00409/2.124, allocations: 1.698 MB / 0.7381 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.673e-06/2.124, allocations: 0 / 0.7381 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1446/2.268, allocations: 64.04 MB / 0.8006 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/2.269, allocations: 163.4 kB / 0.8008 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.688/6.957, allocations: 0 / 0.8008 GB, free: 94.14 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat