Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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 2.063/2.063, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2543/2.317, allocations: 51.03 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/2.433, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/2.813, allocations: 92.87 MB / 408.8 MB, free: 88 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/2.814, allocations: 80.52 kB / 408.9 MB, free: 44 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.3594/3.173, allocations: 72.83 MB / 481.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/3.173, allocations: 12 kB / 481.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/3.189, allocations: 1.688 MB / 483.5 MB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01776/3.207, allocations: 4.112 MB / 487.6 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004596/3.207, allocations: 112 kB / 487.7 MB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/3.21, allocations: 199.9 kB / 487.9 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2351/3.445, allocations: 5.186 MB / 493.1 MB, free: 74.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/3.466, allocations: 8.095 MB / 0.4894 GB, free: 72.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/3.466, allocations: 54.47 kB / 0.4895 GB, free: 72.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/3.468, allocations: 29.47 kB / 0.4895 GB, free: 72.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001751/3.469, allocations: 0.9198 MB / 0.4904 GB, free: 72.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06602/3.535, allocations: 41.62 MB / 0.531 GB, free: 45.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/3.54, allocations: 2.549 MB / 0.5335 GB, free: 44.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003193/3.543, allocations: 1.532 MB / 0.535 GB, free: 44.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/3.556, allocations: 5.135 MB / 0.54 GB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/3.556, allocations: 49.5 kB / 0.5401 GB, free: 42.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 4.669e-06/3.556, allocations: 0 / 0.5401 GB, free: 42.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.04098/3.597, allocations: 10.63 MB / 0.5505 GB, free: 40.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/3.597, allocations: 171.4 kB / 0.5506 GB, free: 39.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006907/3.604, allocations: 2.828 MB / 0.5534 GB, free: 38.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003454/3.605, allocations: 29.33 kB / 0.5534 GB, free: 38.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002178/3.607, allocations: 2.62 MB / 0.556 GB, free: 36.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008047/3.608, allocations: 0.4884 MB / 0.5565 GB, free: 36.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006637/3.608, allocations: 3.938 kB / 0.5565 GB, free: 36.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004046/3.609, allocations: 0.5366 MB / 0.557 GB, free: 36.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00447/3.613, allocations: 1.615 MB / 0.5586 GB, free: 35.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008774/3.622, allocations: 5.134 MB / 0.5636 GB, free: 30.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008529/3.631, allocations: 2.897 MB / 0.5664 GB, free: 29.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000314/3.631, allocations: 37.12 kB / 0.5664 GB, free: 29.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.02852/3.66, allocations: 6.011 MB / 0.5723 GB, free: 26.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/3.66, allocations: 6.312 kB / 0.5723 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004259/3.66, allocations: 130 kB / 0.5724 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/3.662, allocations: 345.2 kB / 0.5728 GB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01261/3.675, allocations: 1.284 MB / 0.574 GB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/3.679, allocations: 2.238 MB / 0.5762 GB, free: 25.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006818/3.685, allocations: 165.3 kB / 0.5764 GB, free: 25.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/3.687, allocations: 347.2 kB / 0.5767 GB, free: 25.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[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 (681): * Single equations (assignments): 677 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002049/3.689, allocations: 412.1 kB / 0.5771 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000822/3.69, allocations: 282.3 kB / 0.5774 GB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008803/3.699, allocations: 2.188 MB / 0.5795 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.933e-05/3.699, allocations: 11.09 kB / 0.5795 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/3.699, allocations: 4 kB / 0.5795 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/3.699, allocations: 5.078 kB / 0.5795 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/3.719, allocations: 5.195 MB / 0.5846 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/3.719, allocations: 0 / 0.5846 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/3.721, allocations: 160.5 kB / 0.5847 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00549/3.726, allocations: 0.6455 MB / 0.5854 GB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003511/3.727, allocations: 8 kB / 0.5854 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009255/3.736, allocations: 4.205 MB / 0.5895 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/3.736, allocations: 0 / 0.5895 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01338/3.749, allocations: 4.302 MB / 0.5937 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01477/3.764, allocations: 6.001 MB / 0.5995 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/3.766, allocations: 0.4946 MB / 0.6 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009663/3.767, allocations: 0 / 0.6 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/3.77, allocations: 43.3 kB / 0.6001 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/3.77, allocations: 51.36 kB / 0.6001 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/3.77, allocations: 35.75 kB / 0.6001 GB, free: 6.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004745/3.775, allocations: 1.888 MB / 0.602 GB, free: 4.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007771/3.783, allocations: 0.6996 MB / 0.6027 GB, free: 4.297 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (91): * Single equations (assignments): 87 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007198/3.784, allocations: 137.7 kB / 0.6028 GB, free: 4.164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009149/3.793, allocations: 3.826 MB / 0.6065 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/3.793, allocations: 1.688 kB / 0.6065 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003935/3.797, allocations: 1.119 MB / 0.6076 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/3.8, allocations: 289 kB / 0.6079 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/3.823, allocations: 5.894 MB / 0.6137 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01066/3.833, allocations: 3.073 MB / 0.6167 GB, free: 7.941 MB / 426.7 MB Notification: Performance of SimCode: time 2.796e-06/3.834, allocations: 0 / 0.6167 GB, free: 7.941 MB / 426.7 MB