Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.467/2.467, allocations: 270 MB / 282.6 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.357e-05, allocations: 7.938 kB / 347.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4024, allocations: 61.86 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.6082, allocations: 112.5 MB / 0.5092 GB, free: 10 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.6086, allocations: 75.97 kB / 0.5093 GB, free: 9.926 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58/2.189, allocations: 229.2 MB / 0.7331 GB, free: 33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/2.189, allocations: 0 / 0.7331 GB, free: 33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000813/2.19, allocations: 370.8 kB / 0.7334 GB, free: 32.99 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5519 * Number of variables: 5519 Notification: Performance of Generate backend data structure: time 0.04772/2.237, allocations: 12.79 MB / 0.7459 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/2.238, allocations: 7.312 kB / 0.7459 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01176/2.249, allocations: 2.871 MB / 0.7487 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03763/2.287, allocations: 5.721 MB / 0.7543 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03391/2.321, allocations: 10.16 MB / 0.7642 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001524/2.323, allocations: 1.442 MB / 0.7656 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007465/2.33, allocations: 1.895 MB / 0.7675 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1257/2.456, allocations: 39.92 MB / 0.8065 GB, free: 17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001378/2.457, allocations: 199.7 kB / 0.8067 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007226/2.464, allocations: 0.8823 MB / 0.8075 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004535/2.469, allocations: 1.897 MB / 0.8094 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1184/2.587, allocations: 28.19 MB / 0.8369 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7655/3.353, allocations: 162.1 MB / 0.9952 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06745/3.421, allocations: 12.79 MB / 1.008 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006262/3.427, allocations: 3.45 MB / 1.011 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/3.444, allocations: 15.27 MB / 1.026 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.186e-05/3.444, allocations: 62.31 kB / 1.026 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=238): time 7.424e-06/3.444, allocations: 0 / 1.026 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=273): time 0.3654/3.81, allocations: 73.85 MB / 1.098 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/3.81, allocations: 211.7 kB / 1.098 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02313/3.833, allocations: 9.212 MB / 1.107 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006873/3.834, allocations: 72.12 kB / 1.107 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01138/3.845, allocations: 10.65 MB / 1.118 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002106/3.848, allocations: 1.23 MB / 1.119 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002371/3.85, allocations: 352.6 kB / 1.119 GB, free: 1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.002481/3.852, allocations: 1.05 MB / 1.12 GB, free: 432 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03774/3.89, allocations: 7.103 MB / 1.127 GB, free: 0 / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02691/3.917, allocations: 17.73 MB / 1.145 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02352/3.941, allocations: 10.3 MB / 1.155 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005419/3.941, allocations: 132 kB / 1.155 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2265) (initialization): time 0.05993/4.001, allocations: 21.04 MB / 1.175 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004748/4.002, allocations: 188 kB / 1.176 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008336/4.003, allocations: 436 kB / 1.176 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/4.005, allocations: 0.8018 MB / 1.177 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02613/4.031, allocations: 4.289 MB / 1.181 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00662/4.038, allocations: 3.573 MB / 1.184 GB, free: 380 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4708/4.509, allocations: 1.157 MB / 1.186 GB, free: 162.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004901/4.514, allocations: 1.119 MB / 1.187 GB, free: 162.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1988 * Number of states: 0 () * Number of discrete variables: 41 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2219): * Single equations (assignments): 2211 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005618/4.52, allocations: 1.484 MB / 1.188 GB, free: 162.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/4.521, allocations: 0.7931 MB / 1.189 GB, free: 162.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/4.536, allocations: 5.635 MB / 1.194 GB, free: 162.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001297/4.536, allocations: 30.08 kB / 1.194 GB, free: 162.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/4.536, allocations: 3.219 kB / 1.194 GB, free: 162.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.881e-05/4.536, allocations: 13.27 kB / 1.194 GB, free: 162.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06149/4.598, allocations: 20.12 MB / 1.214 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/4.598, allocations: 7.219 kB / 1.214 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005195/4.603, allocations: 0.6046 MB / 1.215 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/4.604, allocations: 166.6 kB / 1.215 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004989/4.604, allocations: 49.39 kB / 1.215 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/4.607, allocations: 2.161 MB / 1.217 GB, free: 159.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/4.607, allocations: 3.656 kB / 1.217 GB, free: 159.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/4.626, allocations: 10.4 MB / 1.227 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/4.629, allocations: 0.7403 MB / 1.228 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002763/4.632, allocations: 43.75 kB / 1.228 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007017/4.639, allocations: 425.7 kB / 1.228 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008774/4.64, allocations: 151.9 kB / 1.228 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003908/4.64, allocations: 88.52 kB / 1.229 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.01638/4.657, allocations: 6.278 MB / 1.235 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.022e-06/4.657, allocations: 0 / 1.235 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.02155/4.678, allocations: 2.792 MB / 1.237 GB, free: 157.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 231 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02136/4.7, allocations: 11.64 MB / 1.249 GB, free: 154.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02674/4.726, allocations: 12.26 MB / 1.261 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/4.727, allocations: 448 / 1.261 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00568/4.732, allocations: 2.68 MB / 1.263 GB, free: 154.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009803/4.742, allocations: 1.377 MB / 1.265 GB, free: 154 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/4.843, allocations: 30.33 MB / 1.294 GB, free: 144 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02836/4.871, allocations: 10.46 MB / 1.305 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01543/4.887, allocations: 6.773 MB / 1.311 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.362e-06/4.887, allocations: 0 / 1.311 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.479/12.37, allocations: 315.7 MB / 1.619 GB, free: 31.41 MB / 0.6667 GB