Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) [: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 1.911/1.911, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.221/2.132, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/2.271, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/2.633, allocations: 94.37 MB / 410.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/2.634, allocations: 79.81 kB / 410.4 MB, free: 14.6 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.6597/3.294, allocations: 99.11 MB / 0.4976 GB, free: 88.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/3.294, allocations: 10.38 kB / 0.4976 GB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02807/3.322, allocations: 2.913 MB / 0.5004 GB, free: 87.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02365/3.345, allocations: 4.917 MB / 0.5052 GB, free: 87.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006658/3.346, allocations: 162 kB / 0.5054 GB, free: 87.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004432/3.351, allocations: 289.5 kB / 0.5057 GB, free: 87.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.027/3.378, allocations: 8.623 MB / 0.5141 GB, free: 87.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/3.418, allocations: 11.31 MB / 0.5251 GB, free: 84.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003318/3.418, allocations: 38.88 kB / 0.5252 GB, free: 84.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003094/3.422, allocations: 15.69 kB / 0.5252 GB, free: 84.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002709/3.424, allocations: 1.394 MB / 0.5266 GB, free: 84.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1192/3.544, allocations: 39.88 MB / 0.5655 GB, free: 59.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009825/3.553, allocations: 2.916 MB / 0.5684 GB, free: 56.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007528/3.561, allocations: 2.419 MB / 0.5707 GB, free: 54.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03589/3.597, allocations: 10 MB / 0.5805 GB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/3.597, allocations: 56.59 kB / 0.5805 GB, free: 45.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=227): time 6.503e-06/3.597, allocations: 0 / 0.5805 GB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.06815/3.665, allocations: 12.6 MB / 0.5929 GB, free: 34.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/3.665, allocations: 77.34 kB / 0.5929 GB, free: 34.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007326/3.673, allocations: 2.828 MB / 0.5957 GB, free: 31.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000601/3.673, allocations: 29.7 kB / 0.5957 GB, free: 31.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002464/3.676, allocations: 3.264 MB / 0.5989 GB, free: 28.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001525/3.678, allocations: 0.875 MB / 0.5998 GB, free: 27.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008252/3.678, allocations: 0 / 0.5998 GB, free: 27.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006085/3.679, allocations: 0.5869 MB / 0.6003 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006888/3.686, allocations: 2.422 MB / 0.6027 GB, free: 24.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009092/3.695, allocations: 6.024 MB / 0.6086 GB, free: 16.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009297/3.704, allocations: 3.891 MB / 0.6124 GB, free: 12.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/3.705, allocations: 40 kB / 0.6124 GB, free: 12.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02818/3.733, allocations: 8.547 MB / 0.6208 GB, free: 4.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/3.733, allocations: 12.22 kB / 0.6208 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003148/3.733, allocations: 128 kB / 0.6209 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/3.744, allocations: 1.055 MB / 0.6219 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0111/3.755, allocations: 1.454 MB / 0.6233 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/3.766, allocations: 4.461 MB / 0.6277 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007436/3.774, allocations: 179.9 kB / 0.6279 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/3.775, allocations: 387.6 kB / 0.6282 GB, free: 12.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (801): * Single equations (assignments): 793 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.002481/3.778, allocations: 424.1 kB / 0.6287 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008944/3.779, allocations: 300.1 kB / 0.6289 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/3.794, allocations: 4.413 MB / 0.6332 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001765/3.795, allocations: 39.98 kB / 0.6333 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/3.795, allocations: 0 / 0.6333 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.658e-05/3.795, allocations: 7.969 kB / 0.6333 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2243/4.019, allocations: 8.858 MB / 0.6419 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/4.019, allocations: 3.141 kB / 0.6419 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003887/4.023, allocations: 349.9 kB / 0.6423 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003876/4.027, allocations: 0.6049 MB / 0.6429 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006215/4.028, allocations: 20.66 kB / 0.6429 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004207/4.032, allocations: 2.292 MB / 0.6451 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/4.032, allocations: 9.516 kB / 0.6451 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01896/4.051, allocations: 6.823 MB / 0.6518 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0225/4.073, allocations: 9.727 MB / 0.6613 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/4.075, allocations: 348.8 kB / 0.6616 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/4.076, allocations: 8.969 kB / 0.6616 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003317/4.079, allocations: 66.36 kB / 0.6617 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008422/4.08, allocations: 99.7 kB / 0.6618 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003207/4.08, allocations: 69.53 kB / 0.6619 GB, free: 132.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005491/4.086, allocations: 1.857 MB / 0.6637 GB, free: 132 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008734/4.095, allocations: 0.9451 MB / 0.6646 GB, free: 132 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/4.096, allocations: 153.9 kB / 0.6647 GB, free: 131.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02076/4.117, allocations: 5.776 MB / 0.6704 GB, free: 131.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/4.117, allocations: 0 / 0.6704 GB, free: 131.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01099/4.128, allocations: 2.336 MB / 0.6727 GB, free: 131.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004883/4.133, allocations: 294.6 kB / 0.673 GB, free: 131.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04531/4.178, allocations: 9.462 MB / 0.6822 GB, free: 129.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01638/4.194, allocations: 4.144 MB / 0.6862 GB, free: 127.9 MB / 426.7 MB Notification: Performance of SimCode: time 3.697e-06/4.195, allocations: 0 / 0.6862 GB, free: 127.9 MB / 426.7 MB