Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForces",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.544/2.544, allocations: 235 MB / 242 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1697/2.713, allocations: 57.2 MB / 299.2 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/2.983, allocations: 54.87 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/3.449, allocations: 99.84 MB / 453.9 MB, free: 33.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/3.449, allocations: 81.17 kB / 454 MB, free: 33.57 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: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.6063/4.055, allocations: 112.5 MB / 0.5532 GB, free: 240 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/4.056, allocations: 15.98 kB / 0.5532 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05852/4.114, allocations: 6.547 MB / 0.5596 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03253/4.147, allocations: 6.864 MB / 0.5663 GB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005013/4.147, allocations: 172 kB / 0.5665 GB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/4.151, allocations: 319.8 kB / 0.5668 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02686/4.178, allocations: 7.467 MB / 0.5741 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/4.217, allocations: 11.63 MB / 0.5854 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004085/4.217, allocations: 79.28 kB / 0.5855 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002779/4.22, allocations: 40 kB / 0.5855 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004699/4.225, allocations: 1.289 MB / 0.5868 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3599/4.585, allocations: 57.44 MB / 0.6429 GB, free: 99.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008435/4.593, allocations: 3.752 MB / 0.6466 GB, free: 98.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005446/4.599, allocations: 2.377 MB / 0.6489 GB, free: 98.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02163/4.62, allocations: 6.75 MB / 0.6555 GB, free: 97.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/4.62, allocations: 62.44 kB / 0.6555 GB, free: 97.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=172): time 8.176e-06/4.62, allocations: 3.875 kB / 0.6555 GB, free: 97.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=185): time 0.06695/4.687, allocations: 15.24 MB / 0.6704 GB, free: 93.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/4.688, allocations: 199.4 kB / 0.6706 GB, free: 93.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/4.699, allocations: 4.139 MB / 0.6746 GB, free: 93.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000496/4.7, allocations: 29.33 kB / 0.6747 GB, free: 92.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003574/4.703, allocations: 3.724 MB / 0.6783 GB, free: 90.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/4.705, allocations: 0.7199 MB / 0.679 GB, free: 90.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009508/4.706, allocations: 0 / 0.679 GB, free: 90.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005916/4.706, allocations: 0.611 MB / 0.6796 GB, free: 90.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007056/4.714, allocations: 2.201 MB / 0.6818 GB, free: 90.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/4.724, allocations: 6.739 MB / 0.6883 GB, free: 84.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/4.735, allocations: 3.861 MB / 0.6921 GB, free: 84.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001956/4.735, allocations: 47.16 kB / 0.6922 GB, free: 84.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=949) (initialization): time 0.02721/4.762, allocations: 8.228 MB / 0.7002 GB, free: 82.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/4.762, allocations: 9.531 kB / 0.7002 GB, free: 82.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003104/4.763, allocations: 162.8 kB / 0.7004 GB, free: 82.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/4.766, allocations: 0.5903 MB / 0.7009 GB, free: 81.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0129/4.778, allocations: 1.654 MB / 0.7025 GB, free: 81.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/4.789, allocations: 5.309 MB / 0.7077 GB, free: 78.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/4.8, allocations: 223.2 kB / 0.7079 GB, free: 78.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/4.802, allocations: 454.6 kB / 0.7084 GB, free: 78.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (899): * Single equations (assignments): 894 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002329/4.804, allocations: 0.5089 MB / 0.7089 GB, free: 77.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/4.805, allocations: 417.4 kB / 0.7093 GB, free: 77.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009757/4.815, allocations: 2.831 MB / 0.712 GB, free: 76.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/4.815, allocations: 15.47 kB / 0.7121 GB, free: 76.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/4.815, allocations: 7.531 kB / 0.7121 GB, free: 76.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/4.815, allocations: 10.62 kB / 0.7121 GB, free: 76.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/4.84, allocations: 6.977 MB / 0.7189 GB, free: 73.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/4.84, allocations: 3.656 kB / 0.7189 GB, free: 73.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/4.843, allocations: 264.9 kB / 0.7191 GB, free: 73.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/4.846, allocations: 338.8 kB / 0.7195 GB, free: 73.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004409/4.846, allocations: 7.547 kB / 0.7195 GB, free: 73.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009191/4.855, allocations: 4.622 MB / 0.724 GB, free: 70.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/4.855, allocations: 4.938 kB / 0.724 GB, free: 70.45 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01655/4.872, allocations: 5.424 MB / 0.7293 GB, free: 68.15 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02196/4.894, allocations: 7.714 MB / 0.7368 GB, free: 64.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003044/4.897, allocations: 0.6913 MB / 0.7375 GB, free: 63.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/4.899, allocations: 0 / 0.7375 GB, free: 63.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004273/4.903, allocations: 53.5 kB / 0.7375 GB, free: 63.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006374/4.904, allocations: 84.56 kB / 0.7376 GB, free: 63.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/4.904, allocations: 47.89 kB / 0.7377 GB, free: 63.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.008851/4.913, allocations: 2.809 MB / 0.7404 GB, free: 61.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01142/4.924, allocations: 1.02 MB / 0.7414 GB, free: 60.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 141 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008779/4.925, allocations: 142.6 kB / 0.7415 GB, free: 60.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01485/4.94, allocations: 5.343 MB / 0.7468 GB, free: 55.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/4.94, allocations: 0 / 0.7468 GB, free: 55.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004507/4.945, allocations: 1.585 MB / 0.7483 GB, free: 53.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006883/4.952, allocations: 465.4 kB / 0.7488 GB, free: 53.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04944/5.001, allocations: 9.281 MB / 0.7578 GB, free: 45.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02007/5.021, allocations: 4.451 MB / 0.7622 GB, free: 41.67 MB / 474.7 MB Notification: Performance of SimCode: time 1.903e-06/5.021, allocations: 0 / 0.7622 GB, free: 41.67 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat