Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.659/2.659, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.041e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4097, allocations: 58.84 MB / 382.3 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.6208, allocations: 111.3 MB / 493.7 MB, free: 13 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.6211, allocations: 79.95 kB / 493.7 MB, free: 12.92 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.156/1.777, allocations: 235.6 MB / 0.7122 GB, free: 8.258 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.545e-06/1.777, allocations: 0 / 0.7122 GB, free: 8.258 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0009303/1.778, allocations: 371.8 kB / 0.7126 GB, free: 7.895 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.8247/2.603, allocations: 13.14 MB / 0.7254 GB, free: 36.2 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/2.603, allocations: 13.03 kB / 0.7254 GB, free: 36.2 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01298/2.616, allocations: 2.968 MB / 0.7283 GB, free: 36.02 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04004/2.656, allocations: 5.817 MB / 0.734 GB, free: 35.05 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03688/2.693, allocations: 10.52 MB / 0.7443 GB, free: 34.28 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001698/2.694, allocations: 1.477 MB / 0.7457 GB, free: 34.23 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007715/2.702, allocations: 1.944 MB / 0.7476 GB, free: 34.22 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.13/2.832, allocations: 40.99 MB / 0.7876 GB, free: 25.15 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001382/2.834, allocations: 198.9 kB / 0.7878 GB, free: 25.14 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007165/2.841, allocations: 0.9024 MB / 0.7887 GB, free: 25.14 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00384/2.845, allocations: 2.046 MB / 0.7907 GB, free: 25.11 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1003/2.945, allocations: 29.22 MB / 0.8192 GB, free: 18.48 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.32/4.266, allocations: 165.3 MB / 0.9806 GB, free: 25.17 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07073/4.336, allocations: 13.23 MB / 0.9936 GB, free: 24.5 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006725/4.343, allocations: 3.607 MB / 0.9971 GB, free: 24.46 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01775/4.361, allocations: 15.28 MB / 1.012 GB, free: 27.91 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/4.361, allocations: 72.16 kB / 1.012 GB, free: 27.87 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=274): time 8.616e-06/4.361, allocations: 0 / 1.012 GB, free: 27.87 MB / 0.6044 GB Notification: Performance of matching and sorting (n=309): time 0.4054/4.767, allocations: 75.1 MB / 1.085 GB, free: 17.45 MB / 0.6044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/4.767, allocations: 209.9 kB / 1.086 GB, free: 17.2 MB / 0.6044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02359/4.79, allocations: 9.45 MB / 1.095 GB, free: 11.41 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 0.0007428/4.791, allocations: 77.83 kB / 1.095 GB, free: 11.37 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.01146/4.803, allocations: 11.08 MB / 1.106 GB, free: 3.059 MB / 0.6044 GB Notification: Performance of collectInitialBindings (initialization): time 0.002339/4.805, allocations: 1.369 MB / 1.107 GB, free: 2.141 MB / 0.6044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002434/4.808, allocations: 361.1 kB / 1.107 GB, free: 2.07 MB / 0.6044 GB Notification: Performance of setup shared object (initialization): time 0.002508/4.81, allocations: 1.082 MB / 1.108 GB, free: 1.488 MB / 0.6044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03088/4.841, allocations: 6.846 MB / 1.115 GB, free: 0 / 0.6044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02894/4.87, allocations: 18.27 MB / 1.133 GB, free: 11.34 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02452/4.895, allocations: 10.63 MB / 1.143 GB, free: 5.727 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005235/4.895, allocations: 128 kB / 1.143 GB, free: 5.602 MB / 0.6357 GB Notification: Performance of matching and sorting (n=2353) (initialization): time 0.06868/4.964, allocations: 21.97 MB / 1.165 GB, free: 6.059 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004199/4.964, allocations: 196 kB / 1.165 GB, free: 5.867 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007976/4.965, allocations: 448 kB / 1.166 GB, free: 5.43 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/4.967, allocations: 0.8254 MB / 1.166 GB, free: 4.602 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02734/4.995, allocations: 4.464 MB / 1.171 GB, free: 132 kB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/5.002, allocations: 3.594 MB / 1.174 GB, free: 12.41 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01911/5.021, allocations: 1.127 MB / 1.175 GB, free: 11.28 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004274/5.025, allocations: 1.151 MB / 1.176 GB, free: 10.13 MB / 0.6669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2040 * Number of states: 0 () * Number of discrete variables: 33 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],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 (2307): * Single equations (assignments): 2299 * 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.006152/5.031, allocations: 1.52 MB / 1.178 GB, free: 8.598 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002637/5.034, allocations: 0.8317 MB / 1.179 GB, free: 7.758 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/5.053, allocations: 6.066 MB / 1.185 GB, free: 1.641 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001404/5.053, allocations: 35.05 kB / 1.185 GB, free: 1.609 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/5.053, allocations: 4 kB / 1.185 GB, free: 1.605 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.868e-05/5.053, allocations: 11.95 kB / 1.185 GB, free: 1.594 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5095/5.563, allocations: 21.08 MB / 1.205 GB, free: 180.4 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/5.563, allocations: 3.594 kB / 1.205 GB, free: 180.4 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006074/5.569, allocations: 0.6843 MB / 1.206 GB, free: 180.4 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008877/5.57, allocations: 163.7 kB / 1.206 GB, free: 180.3 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007128/5.571, allocations: 64.7 kB / 1.206 GB, free: 180.3 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/5.574, allocations: 2.162 MB / 1.208 GB, free: 179.1 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/5.574, allocations: 7.281 kB / 1.208 GB, free: 179.1 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02106/5.595, allocations: 11.03 MB / 1.219 GB, free: 177.3 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00474/5.6, allocations: 1.286 MB / 1.22 GB, free: 177.2 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002593/5.602, allocations: 56.95 kB / 1.22 GB, free: 177.2 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007531/5.61, allocations: 432.2 kB / 1.221 GB, free: 177.2 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009735/5.611, allocations: 180.5 kB / 1.221 GB, free: 177.2 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004207/5.611, allocations: 97.53 kB / 1.221 GB, free: 177.2 MB / 0.6669 GB Notification: Performance of sorting global known variables: time 0.01793/5.629, allocations: 6.445 MB / 1.227 GB, free: 176.9 MB / 0.6669 GB Notification: Performance of sort global known variables: time 1.212e-06/5.629, allocations: 0 / 1.227 GB, free: 176.9 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.02175/5.651, allocations: 2.905 MB / 1.23 GB, free: 176.9 MB / 0.6669 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 (279): * Single equations (assignments): 271 * 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.02331/5.674, allocations: 12.26 MB / 1.242 GB, free: 174.1 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.02897/5.704, allocations: 12.79 MB / 1.255 GB, free: 173.9 MB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/5.704, allocations: 448 / 1.255 GB, free: 173.9 MB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 0.006399/5.71, allocations: 2.867 MB / 1.257 GB, free: 173.8 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009821/5.72, allocations: 1.376 MB / 1.259 GB, free: 173.7 MB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1061/5.826, allocations: 29.34 MB / 1.287 GB, free: 165.2 MB / 0.6669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02956/5.856, allocations: 10.79 MB / 1.298 GB, free: 161.6 MB / 0.6669 GB Notification: Performance of simCode: alias equations: time 0.02602/5.882, allocations: 5.397 MB / 1.303 GB, free: 161.5 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01663/5.898, allocations: 6.902 MB / 1.31 GB, free: 155.6 MB / 0.6669 GB Notification: Performance of SimCode: time 2.585e-06/5.899, allocations: 0 / 1.31 GB, free: 155.6 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9494/6.848, allocations: 202.8 MB / 1.508 GB, free: 147 MB / 0.6669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/6.848, allocations: 186.5 kB / 1.508 GB, free: 146.8 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/17.61, allocations: 2.812 kB / 1.508 GB, free: 146.8 MB / 0.6669 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat