Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.809/2.809, allocations: 235 MB / 242 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1568/2.966, allocations: 57.2 MB / 299.2 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/3.272, allocations: 54.85 MB / 354.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/3.734, allocations: 103.9 MB / 458 MB, free: 34.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/3.734, allocations: 74.22 kB / 458.1 MB, free: 34.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 1.475/5.209, allocations: 239 MB / 0.6807 GB, free: 47.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/5.209, allocations: 10.78 kB / 0.6807 GB, free: 47.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05307/5.262, allocations: 5.455 MB / 0.686 GB, free: 46.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04241/5.305, allocations: 10.55 MB / 0.6963 GB, free: 45.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001202/5.306, allocations: 0.635 MB / 0.697 GB, free: 45.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008631/5.315, allocations: 1.146 MB / 0.6981 GB, free: 45.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08347/5.398, allocations: 21.06 MB / 0.7186 GB, free: 45.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1112/5.509, allocations: 33.15 MB / 0.751 GB, free: 26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001516/5.511, allocations: 198.4 kB / 0.7512 GB, free: 25.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008656/5.52, allocations: 100 kB / 0.7513 GB, free: 25.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004396/5.524, allocations: 2.136 MB / 0.7534 GB, free: 23.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8469/6.371, allocations: 158.2 MB / 0.9078 GB, free: 46.41 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/6.387, allocations: 4.74 MB / 0.9125 GB, free: 45.76 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01204/6.399, allocations: 3.717 MB / 0.9161 GB, free: 45.72 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1032/6.502, allocations: 31.36 MB / 0.9467 GB, free: 31.02 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.409e-05/6.502, allocations: 58.41 kB / 0.9468 GB, free: 30.98 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=254): time 1.346e-05/6.502, allocations: 2.438 kB / 0.9468 GB, free: 30.98 MB / 0.5418 GB Notification: Performance of matching and sorting (n=289): time 0.2577/6.76, allocations: 41.99 MB / 0.9878 GB, free: 21.04 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/6.76, allocations: 207.5 kB / 0.988 GB, free: 20.81 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0313/6.791, allocations: 8.909 MB / 0.9967 GB, free: 17.19 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0008419/6.792, allocations: 29.2 kB / 0.9967 GB, free: 17.16 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.01035/6.803, allocations: 10.8 MB / 1.007 GB, free: 8.859 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002697/6.805, allocations: 1.266 MB / 1.008 GB, free: 8 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002722/6.808, allocations: 0 / 1.008 GB, free: 8 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.003093/6.811, allocations: 1.084 MB / 1.01 GB, free: 7.367 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01743/6.829, allocations: 5.759 MB / 1.015 GB, free: 5.172 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4951/7.324, allocations: 18.3 MB / 1.033 GB, free: 126.9 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03622/7.36, allocations: 10.48 MB / 1.043 GB, free: 126.9 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001095/7.362, allocations: 133 kB / 1.043 GB, free: 126.9 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2374) (initialization): time 0.0976/7.459, allocations: 20.69 MB / 1.064 GB, free: 125.3 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/7.459, allocations: 3.719 kB / 1.064 GB, free: 125.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001148/7.46, allocations: 456.9 kB / 1.064 GB, free: 125.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/7.463, allocations: 0.8068 MB / 1.065 GB, free: 125.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03183/7.495, allocations: 4.414 MB / 1.069 GB, free: 124.9 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/7.501, allocations: 3.193 MB / 1.072 GB, free: 123.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03419/7.535, allocations: 0.662 MB / 1.073 GB, free: 123.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006998/7.542, allocations: 1.169 MB / 1.074 GB, free: 123.4 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2081 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2331): * Single equations (assignments): 2323 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00998/7.552, allocations: 1.137 MB / 1.075 GB, free: 122.9 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002632/7.555, allocations: 0.7959 MB / 1.076 GB, free: 122.9 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02544/7.58, allocations: 5.9 MB / 1.082 GB, free: 122.7 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002433/7.581, allocations: 25.34 kB / 1.082 GB, free: 122.7 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/7.581, allocations: 9.344 kB / 1.082 GB, free: 122.7 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.682e-05/7.581, allocations: 11.91 kB / 1.082 GB, free: 122.7 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08425/7.665, allocations: 17.03 MB / 1.098 GB, free: 121.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.808e-05/7.665, allocations: 7.969 kB / 1.098 GB, free: 121.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007811/7.673, allocations: 0.5588 MB / 1.099 GB, free: 121.4 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/7.674, allocations: 162.9 kB / 1.099 GB, free: 121.4 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008522/7.675, allocations: 17.44 kB / 1.099 GB, free: 121.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004437/7.68, allocations: 2.031 MB / 1.101 GB, free: 120.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/7.68, allocations: 3.875 kB / 1.101 GB, free: 120.2 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0287/7.709, allocations: 10.43 MB / 1.111 GB, free: 119 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03508/7.744, allocations: 14.68 MB / 1.126 GB, free: 114.2 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005118/7.749, allocations: 1.242 MB / 1.127 GB, free: 113.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002805/7.752, allocations: 4.891 kB / 1.127 GB, free: 113.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008345/7.76, allocations: 303.9 kB / 1.127 GB, free: 113.5 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/7.761, allocations: 127.6 kB / 1.127 GB, free: 113.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006766/7.762, allocations: 97.19 kB / 1.127 GB, free: 113.4 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.02418/7.786, allocations: 5.915 MB / 1.133 GB, free: 111.2 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.02753/7.814, allocations: 2.49 MB / 1.136 GB, free: 111.1 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (259): * Single equations (assignments): 251 * 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.002013/7.816, allocations: 222 kB / 1.136 GB, free: 111 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.03826/7.854, allocations: 12.68 MB / 1.148 GB, free: 106.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/7.854, allocations: 2.75 kB / 1.148 GB, free: 106.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.007516/7.862, allocations: 2.821 MB / 1.151 GB, free: 105.4 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01101/7.873, allocations: 1.237 MB / 1.152 GB, free: 104.9 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09239/7.965, allocations: 24.2 MB / 1.176 GB, free: 85.46 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04139/8.007, allocations: 11.49 MB / 1.187 GB, free: 76.84 MB / 0.5419 GB Notification: Performance of SimCode: time 2.384e-06/8.007, allocations: 0 / 1.187 GB, free: 76.84 MB / 0.5419 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat