Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.547/2.547, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.584e-05/4.59e-05, allocations: 4 kB / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4013, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/0.6087, allocations: 112.5 MB / 0.5106 GB, free: 9.926 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.6091, allocations: 79.95 kB / 0.5107 GB, free: 9.848 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598/2.207, allocations: 229.2 MB / 0.7345 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/2.207, allocations: 0 / 0.7345 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001098/2.209, allocations: 367.4 kB / 0.7348 GB, free: 33.16 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.05069/2.259, allocations: 12.79 MB / 0.7473 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/2.259, allocations: 10.44 kB / 0.7473 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01302/2.272, allocations: 2.867 MB / 0.7501 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03874/2.311, allocations: 5.718 MB / 0.7557 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03733/2.349, allocations: 10.16 MB / 0.7656 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001796/2.35, allocations: 1.441 MB / 0.7671 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00819/2.359, allocations: 1.899 MB / 0.7689 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1366/2.495, allocations: 39.92 MB / 0.8079 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0015/2.497, allocations: 197 kB / 0.8081 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007795/2.505, allocations: 0.8838 MB / 0.8089 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003682/2.508, allocations: 1.901 MB / 0.8108 GB, free: 17.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09882/2.607, allocations: 28.19 MB / 0.8383 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7967/3.404, allocations: 162.1 MB / 0.9966 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06826/3.472, allocations: 12.8 MB / 1.009 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006528/3.479, allocations: 3.443 MB / 1.012 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/3.497, allocations: 15.27 MB / 1.027 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/3.497, allocations: 63.34 kB / 1.027 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=238): time 7.213e-06/3.497, allocations: 0 / 1.027 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=273): time 0.3796/3.877, allocations: 73.86 MB / 1.1 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/3.877, allocations: 218.4 kB / 1.1 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02394/3.901, allocations: 9.211 MB / 1.109 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007115/3.901, allocations: 70.38 kB / 1.109 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01114/3.913, allocations: 10.77 MB / 1.119 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002147/3.915, allocations: 1.23 MB / 1.121 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002501/3.917, allocations: 350.4 kB / 1.121 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.002479/3.92, allocations: 1.053 MB / 1.122 GB, free: 392 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03811/3.958, allocations: 7.123 MB / 1.129 GB, free: 0 / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02643/3.985, allocations: 17.73 MB / 1.146 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02329/4.008, allocations: 10.3 MB / 1.156 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005281/4.009, allocations: 128 kB / 1.156 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2265) (initialization): time 0.5082/4.517, allocations: 21.18 MB / 1.177 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004362/4.517, allocations: 194.5 kB / 1.177 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009123/4.518, allocations: 437.7 kB / 1.178 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/4.52, allocations: 0.8064 MB / 1.178 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02503/4.545, allocations: 4.291 MB / 1.183 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006004/4.552, allocations: 3.581 MB / 1.186 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01868/4.57, allocations: 1.091 MB / 1.187 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003935/4.574, allocations: 1.113 MB / 1.188 GB, free: 141.5 MB / 0.6511 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.005697/4.58, allocations: 1.482 MB / 1.19 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/4.582, allocations: 0.7952 MB / 1.191 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/4.596, allocations: 5.631 MB / 1.196 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001349/4.596, allocations: 30.47 kB / 1.196 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/4.596, allocations: 6.594 kB / 1.196 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-05/4.596, allocations: 14.27 kB / 1.196 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06298/4.659, allocations: 20.11 MB / 1.216 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/4.66, allocations: 7.156 kB / 1.216 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005252/4.665, allocations: 0.6064 MB / 1.216 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/4.666, allocations: 168.4 kB / 1.216 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006149/4.666, allocations: 54.88 kB / 1.217 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/4.67, allocations: 2.143 MB / 1.219 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/4.67, allocations: 10.28 kB / 1.219 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02698/4.697, allocations: 10.4 MB / 1.229 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003274/4.7, allocations: 0.7467 MB / 1.23 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003335/4.704, allocations: 45.72 kB / 1.23 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009347/4.713, allocations: 418.4 kB / 1.23 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/4.714, allocations: 154.1 kB / 1.23 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005694/4.715, allocations: 93.27 kB / 1.23 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.02201/4.737, allocations: 6.277 MB / 1.236 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.223e-06/4.737, allocations: 0 / 1.236 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02659/4.763, allocations: 2.787 MB / 1.239 GB, free: 135.6 MB / 0.6511 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.02171/4.785, allocations: 11.64 MB / 1.25 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02667/4.812, allocations: 12.26 MB / 1.262 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/4.812, allocations: 4.281 kB / 1.262 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005723/4.818, allocations: 2.681 MB / 1.265 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009969/4.828, allocations: 1.364 MB / 1.266 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09313/4.921, allocations: 28.38 MB / 1.294 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02746/4.948, allocations: 10.46 MB / 1.304 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.02449/4.973, allocations: 5.231 MB / 1.309 GB, free: 116 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0153/4.988, allocations: 6.664 MB / 1.316 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.753e-06/4.988, allocations: 0 / 1.316 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8994/5.888, allocations: 195.7 MB / 1.507 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/5.888, allocations: 178.2 kB / 1.507 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/15.96, allocations: 4 kB / 1.507 GB, free: 125.7 MB / 0.6511 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat