Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Prismatic",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.652/2.652, allocations: 235.1 MB / 242 MB, free: 9.656 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1663/2.818, allocations: 57.19 MB / 299.2 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/3.103, allocations: 54.86 MB / 354.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/3.59, allocations: 94.65 MB / 448.7 MB, free: 31.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004518/3.59, allocations: 77.28 kB / 448.8 MB, free: 31.43 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.4431/4.033, allocations: 85.62 MB / 0.5219 GB, free: 128 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/4.033, allocations: 15.98 kB / 0.5219 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03215/4.066, allocations: 2.795 MB / 0.5246 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0225/4.088, allocations: 4.235 MB / 0.5288 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/4.089, allocations: 128 kB / 0.5289 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/4.092, allocations: 220 kB / 0.5291 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03034/4.122, allocations: 7.204 MB / 0.5361 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03743/4.16, allocations: 9.366 MB / 0.5453 GB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000216/4.16, allocations: 27.81 kB / 0.5453 GB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/4.162, allocations: 12 kB / 0.5453 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003521/4.166, allocations: 1.234 MB / 0.5465 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.127/4.293, allocations: 29.98 MB / 0.5758 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/4.305, allocations: 1.55 MB / 0.5773 GB, free: 6.199 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00455/4.309, allocations: 1.061 MB / 0.5784 GB, free: 5.133 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03508/4.344, allocations: 6.458 MB / 0.5847 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/4.345, allocations: 47.56 kB / 0.5847 GB, free: 14.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=154): time 7.524e-06/4.345, allocations: 4 kB / 0.5847 GB, free: 14.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.03402/4.379, allocations: 6.983 MB / 0.5915 GB, free: 6.977 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/4.379, allocations: 64.41 kB / 0.5916 GB, free: 6.902 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/4.39, allocations: 2.48 MB / 0.594 GB, free: 4.406 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004484/4.39, allocations: 25.7 kB / 0.594 GB, free: 4.375 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004835/4.395, allocations: 2.822 MB / 0.5968 GB, free: 1.508 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001565/4.397, allocations: 0.5976 MB / 0.5974 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008806/4.398, allocations: 0 / 0.5974 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001393/4.399, allocations: 0.5887 MB / 0.598 GB, free: 312 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007368/4.406, allocations: 1.564 MB / 0.5995 GB, free: 14.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/4.418, allocations: 4.676 MB / 0.6041 GB, free: 8.488 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/4.429, allocations: 2.792 MB / 0.6068 GB, free: 5.691 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/4.429, allocations: 35.94 kB / 0.6068 GB, free: 5.656 MB / 474.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02596/4.455, allocations: 5.604 MB / 0.6123 GB, free: 52 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/4.455, allocations: 4 kB / 0.6123 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1911/4.646, allocations: 116.3 kB / 0.6124 GB, free: 155.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/4.647, allocations: 212.7 kB / 0.6126 GB, free: 155.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008396/4.655, allocations: 1.16 MB / 0.6137 GB, free: 155.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/4.657, allocations: 1.605 MB / 0.6153 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005637/4.663, allocations: 114.1 kB / 0.6154 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000883/4.664, allocations: 323.6 kB / 0.6157 GB, free: 153.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (648): * Single equations (assignments): 641 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008677/4.665, allocations: 379.8 kB / 0.6161 GB, free: 153.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004914/4.665, allocations: 244.5 kB / 0.6163 GB, free: 153.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/4.666, allocations: 316.4 kB / 0.6166 GB, free: 153.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001246/4.666, allocations: 13.5 kB / 0.6166 GB, free: 153.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/4.666, allocations: 3.906 kB / 0.6166 GB, free: 153.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/4.666, allocations: 7.266 kB / 0.6166 GB, free: 153.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/4.683, allocations: 5.216 MB / 0.6217 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/4.683, allocations: 7 kB / 0.6217 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/4.685, allocations: 188 kB / 0.6219 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/4.685, allocations: 48.53 kB / 0.622 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/4.685, allocations: 7.438 kB / 0.622 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/4.687, allocations: 1.405 MB / 0.6233 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/4.687, allocations: 9.297 kB / 0.6234 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008833/4.696, allocations: 3.704 MB / 0.627 GB, free: 151.5 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01177/4.708, allocations: 5.352 MB / 0.6322 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/4.71, allocations: 489.6 kB / 0.6327 GB, free: 150.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006521/4.71, allocations: 3.75 kB / 0.6327 GB, free: 150.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/4.712, allocations: 18.72 kB / 0.6327 GB, free: 150.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/4.712, allocations: 70.84 kB / 0.6328 GB, free: 150.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/4.712, allocations: 49.33 kB / 0.6328 GB, free: 150.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004701/4.717, allocations: 1.627 MB / 0.6344 GB, free: 150.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007926/4.725, allocations: 0.7236 MB / 0.6351 GB, free: 150.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009225/4.726, allocations: 140.7 kB / 0.6352 GB, free: 150.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00988/4.736, allocations: 3.712 MB / 0.6389 GB, free: 150 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/4.736, allocations: 0 / 0.6389 GB, free: 150 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/4.739, allocations: 1.047 MB / 0.6399 GB, free: 149.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/4.741, allocations: 217.9 kB / 0.6401 GB, free: 149.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/4.765, allocations: 6.717 MB / 0.6466 GB, free: 148.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01025/4.775, allocations: 3.481 MB / 0.65 GB, free: 147.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.004e-06/4.775, allocations: 2.344 kB / 0.6501 GB, free: 147.7 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat