Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",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.119/2.119, allocations: 235 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1837/2.302, allocations: 57.21 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/2.563, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.386/2.949, allocations: 102.2 MB / 456.1 MB, free: 34.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/2.95, allocations: 72.7 kB / 456.2 MB, free: 34.48 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: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.5911/3.541, allocations: 128.5 MB / 0.571 GB, free: 13.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/3.541, allocations: 11.98 kB / 0.571 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06419/3.605, allocations: 7.638 MB / 0.5784 GB, free: 6.227 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03751/3.642, allocations: 7.408 MB / 0.5857 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004775/3.643, allocations: 192 kB / 0.5858 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003768/3.647, allocations: 351.9 kB / 0.5862 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03807/3.685, allocations: 10.43 MB / 0.5964 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04425/3.729, allocations: 14.34 MB / 0.6104 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003953/3.73, allocations: 75.33 kB / 0.6104 GB, free: 4.211 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002729/3.732, allocations: 36 kB / 0.6105 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003954/3.736, allocations: 1.717 MB / 0.6122 GB, free: 2.457 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3017/4.038, allocations: 62.36 MB / 0.6731 GB, free: 95.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009588/4.048, allocations: 4.682 MB / 0.6776 GB, free: 94.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008609/4.056, allocations: 3.631 MB / 0.6812 GB, free: 94.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0404/4.097, allocations: 15.55 MB / 0.6964 GB, free: 88.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/4.097, allocations: 65.53 kB / 0.6964 GB, free: 88.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 7.253e-06/4.097, allocations: 0 / 0.6964 GB, free: 88.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=345): time 0.1676/4.265, allocations: 29.21 MB / 0.7249 GB, free: 78.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/4.265, allocations: 213.5 kB / 0.7251 GB, free: 78.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01741/4.282, allocations: 4.339 MB / 0.7294 GB, free: 77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00201/4.284, allocations: 30.7 kB / 0.7294 GB, free: 76.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003987/4.288, allocations: 4.166 MB / 0.7335 GB, free: 73.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00259/4.291, allocations: 1.239 MB / 0.7347 GB, free: 73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/4.293, allocations: 2.438 kB / 0.7347 GB, free: 73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00179/4.295, allocations: 0.701 MB / 0.7354 GB, free: 72.53 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01816/4.313, allocations: 4.548 MB / 0.7398 GB, free: 70.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01771/4.331, allocations: 9.727 MB / 0.7493 GB, free: 62.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/4.347, allocations: 6.617 MB / 0.7558 GB, free: 56.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002004/4.348, allocations: 52 kB / 0.7558 GB, free: 56.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.08426/4.432, allocations: 17.7 MB / 0.7731 GB, free: 42.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/4.432, allocations: 10.66 kB / 0.7731 GB, free: 42.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003264/4.432, allocations: 184.9 kB / 0.7733 GB, free: 42.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04635/4.479, allocations: 5.339 MB / 0.7785 GB, free: 39.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.015/4.494, allocations: 2.085 MB / 0.7806 GB, free: 37.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05629/4.55, allocations: 20.89 MB / 0.801 GB, free: 18.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/4.563, allocations: 314.1 kB / 0.8012 GB, free: 18.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002737/4.566, allocations: 0.5217 MB / 0.8018 GB, free: 18.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1112): * Single equations (assignments): 1104 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00406/4.57, allocations: 0.5574 MB / 0.8023 GB, free: 17.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001652/4.571, allocations: 477.7 kB / 0.8028 GB, free: 17.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06103/4.632, allocations: 12.09 MB / 0.8146 GB, free: 7.293 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000188/4.633, allocations: 55.92 kB / 0.8146 GB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.905e-05/4.633, allocations: 8 kB / 0.8146 GB, free: 7.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.151e-05/4.633, allocations: 11.95 kB / 0.8146 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3418/4.975, allocations: 22.54 MB / 0.8367 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-05/4.975, allocations: 7.875 kB / 0.8367 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006993/4.982, allocations: 0.511 MB / 0.8372 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04314/5.025, allocations: 4.333 MB / 0.8414 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001475/5.027, allocations: 20.03 kB / 0.8414 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04257/5.069, allocations: 16.8 MB / 0.8578 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/5.069, allocations: 8.625 kB / 0.8578 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.065/5.134, allocations: 17.3 MB / 0.8747 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09926/5.234, allocations: 33.54 MB / 0.9075 GB, free: 98.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004961/5.239, allocations: 1.202 MB / 0.9086 GB, free: 98.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002453/5.241, allocations: 8.938 kB / 0.9086 GB, free: 98.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006708/5.248, allocations: 127 kB / 0.9088 GB, free: 98.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/5.249, allocations: 158.3 kB / 0.9089 GB, free: 98.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006223/5.25, allocations: 84.22 kB / 0.909 GB, free: 98.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009258/5.259, allocations: 2.907 MB / 0.9118 GB, free: 97.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01382/5.273, allocations: 1.481 MB / 0.9133 GB, free: 97.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 252 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/5.275, allocations: 170.5 kB / 0.9134 GB, free: 97.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02592/5.301, allocations: 10.3 MB / 0.9235 GB, free: 92.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/5.301, allocations: 4 kB / 0.9235 GB, free: 92.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009372/5.31, allocations: 3.909 MB / 0.9273 GB, free: 88.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005202/5.315, allocations: 450.1 kB / 0.9278 GB, free: 88.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05887/5.374, allocations: 13.73 MB / 0.9412 GB, free: 75.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02342/5.398, allocations: 5.142 MB / 0.9462 GB, free: 71.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.954e-06/5.398, allocations: 2.625 kB / 0.9462 GB, free: 71.93 MB / 474.7 MB