Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.735/2.735, allocations: 235 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1969/2.932, allocations: 57.2 MB / 299.2 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/3.223, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4825/3.705, allocations: 99.03 MB / 453.1 MB, free: 33.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000411/3.706, allocations: 78.28 kB / 453.2 MB, free: 33.47 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: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.4718/4.178, allocations: 77.35 MB / 0.5181 GB, free: 4.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.854e-05/4.178, allocations: 12 kB / 0.5181 GB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03987/4.218, allocations: 3.925 MB / 0.5219 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02319/4.241, allocations: 4.514 MB / 0.5264 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/4.241, allocations: 116 kB / 0.5265 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002272/4.244, allocations: 219.8 kB / 0.5267 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01859/4.262, allocations: 5.3 MB / 0.5319 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02889/4.291, allocations: 8.369 MB / 0.54 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003609/4.292, allocations: 63.34 kB / 0.5401 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002134/4.294, allocations: 28 kB / 0.5401 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002619/4.296, allocations: 0.9425 MB / 0.541 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09649/4.393, allocations: 44.22 MB / 0.5842 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/4.403, allocations: 2.578 MB / 0.5867 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007454/4.411, allocations: 1.658 MB / 0.5884 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02177/4.433, allocations: 5.542 MB / 0.5938 GB, free: 3.773 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.452e-05/4.433, allocations: 51.34 kB / 0.5938 GB, free: 3.711 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 7.224e-06/4.433, allocations: 0 / 0.5938 GB, free: 3.711 MB / 458.7 MB Notification: Performance of matching and sorting (n=184): time 0.1068/4.54, allocations: 17.36 MB / 0.6108 GB, free: 2.211 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/4.54, allocations: 205.2 kB / 0.611 GB, free: 1.969 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2021/4.742, allocations: 2.916 MB / 0.6138 GB, free: 156.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006215/4.743, allocations: 25.7 kB / 0.6138 GB, free: 156.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003359/4.746, allocations: 2.684 MB / 0.6165 GB, free: 155.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001628/4.748, allocations: 0.6862 MB / 0.6171 GB, free: 155.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/4.749, allocations: 0 / 0.6171 GB, free: 155.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001023/4.75, allocations: 0.562 MB / 0.6177 GB, free: 155.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008385/4.759, allocations: 1.96 MB / 0.6196 GB, free: 155.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01271/4.771, allocations: 5.613 MB / 0.6251 GB, free: 150.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/4.788, allocations: 3.667 MB / 0.6287 GB, free: 150.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/4.788, allocations: 41 kB / 0.6287 GB, free: 150.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.055/4.843, allocations: 8.755 MB / 0.6372 GB, free: 150 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/4.843, allocations: 7.344 kB / 0.6372 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003675/4.844, allocations: 129 kB / 0.6374 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01731/4.861, allocations: 1.512 MB / 0.6388 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01385/4.875, allocations: 1.325 MB / 0.6401 GB, free: 149.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04986/4.925, allocations: 9.299 MB / 0.6492 GB, free: 148.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/4.937, allocations: 186.9 kB / 0.6494 GB, free: 148.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002508/4.94, allocations: 383.1 kB / 0.6498 GB, free: 148.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (718): * Single equations (assignments): 714 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00336/4.943, allocations: 429.8 kB / 0.6502 GB, free: 148.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/4.945, allocations: 308.4 kB / 0.6505 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02828/4.973, allocations: 4.148 MB / 0.6545 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001412/4.973, allocations: 17.94 kB / 0.6545 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/4.973, allocations: 10.97 kB / 0.6545 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-05/4.973, allocations: 9.922 kB / 0.6546 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.039/5.012, allocations: 7.802 MB / 0.6622 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/5.012, allocations: 0 / 0.6622 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/5.015, allocations: 223.1 kB / 0.6624 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01116/5.026, allocations: 1.235 MB / 0.6636 GB, free: 146 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004743/5.027, allocations: 14.89 kB / 0.6636 GB, free: 146 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03058/5.058, allocations: 7.993 MB / 0.6714 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/5.058, allocations: 3.938 kB / 0.6714 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03391/5.092, allocations: 6.635 MB / 0.6779 GB, free: 140.1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03514/5.127, allocations: 8.924 MB / 0.6866 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002748/5.13, allocations: 0.5824 MB / 0.6872 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001974/5.132, allocations: 6 kB / 0.6872 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/5.136, allocations: 48.64 kB / 0.6872 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006616/5.137, allocations: 80.81 kB / 0.6873 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003118/5.137, allocations: 59.81 kB / 0.6874 GB, free: 136.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007651/5.145, allocations: 1.957 MB / 0.6893 GB, free: 135.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01004/5.155, allocations: 0.837 MB / 0.6901 GB, free: 135.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 121 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/5.156, allocations: 159.3 kB / 0.6902 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01398/5.17, allocations: 4.796 MB / 0.6949 GB, free: 132.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/5.17, allocations: 4 kB / 0.6949 GB, free: 132.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004659/5.175, allocations: 1.57 MB / 0.6965 GB, free: 130.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/5.178, allocations: 286.7 kB / 0.6967 GB, free: 130.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/5.209, allocations: 6.943 MB / 0.7035 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01042/5.219, allocations: 3.267 MB / 0.7067 GB, free: 121.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.853e-06/5.219, allocations: 0 / 0.7067 GB, free: 121.8 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat