Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.219/2.219, allocations: 235 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2142/2.433, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/2.718, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/3.099, allocations: 101.2 MB / 455.1 MB, free: 88.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/3.1, allocations: 86.36 kB / 455.2 MB, free: 88.32 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.3797/3.479, allocations: 85.78 MB / 0.5283 GB, free: 4.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/3.479, allocations: 12 kB / 0.5283 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/3.496, allocations: 1.819 MB / 0.5301 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01832/3.514, allocations: 4.563 MB / 0.5346 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/3.515, allocations: 140 kB / 0.5347 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/3.517, allocations: 247.9 kB / 0.5349 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0205/3.538, allocations: 6.603 MB / 0.5414 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03107/3.569, allocations: 9.797 MB / 0.551 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003297/3.57, allocations: 63.41 kB / 0.551 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/3.572, allocations: 32 kB / 0.551 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002851/3.575, allocations: 1.072 MB / 0.5521 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09493/3.67, allocations: 46.11 MB / 0.5971 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008317/3.678, allocations: 3.329 MB / 0.6004 GB, free: 7.859 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005209/3.683, allocations: 1.936 MB / 0.6023 GB, free: 5.914 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2117/3.895, allocations: 6.32 MB / 0.6084 GB, free: 138.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/3.895, allocations: 49.84 kB / 0.6085 GB, free: 138.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 7.304e-06/3.895, allocations: 0 / 0.6085 GB, free: 138.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=149): time 0.06173/3.957, allocations: 11.32 MB / 0.6195 GB, free: 136.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/3.957, allocations: 144.5 kB / 0.6197 GB, free: 136 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009375/3.967, allocations: 3.107 MB / 0.6227 GB, free: 135.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00043/3.967, allocations: 25.7 kB / 0.6227 GB, free: 135.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002483/3.97, allocations: 3.009 MB / 0.6257 GB, free: 134.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/3.971, allocations: 0.5803 MB / 0.6262 GB, free: 133.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007574/3.971, allocations: 0 / 0.6262 GB, free: 133.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000491/3.972, allocations: 0.5642 MB / 0.6268 GB, free: 133.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004908/3.977, allocations: 1.892 MB / 0.6286 GB, free: 133.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007526/3.984, allocations: 5.699 MB / 0.6342 GB, free: 128.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007793/3.992, allocations: 3.277 MB / 0.6374 GB, free: 128.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/3.993, allocations: 40.16 kB / 0.6374 GB, free: 128.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.02859/4.021, allocations: 7.294 MB / 0.6446 GB, free: 127.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/4.021, allocations: 11.64 kB / 0.6446 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002234/4.021, allocations: 136 kB / 0.6447 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004614/4.026, allocations: 0.8635 MB / 0.6455 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009074/4.035, allocations: 1.393 MB / 0.6469 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009426/4.045, allocations: 4.482 MB / 0.6513 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007216/4.052, allocations: 195.8 kB / 0.6515 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/4.054, allocations: 380.5 kB / 0.6518 GB, free: 126.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 738 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00299/4.057, allocations: 439.4 kB / 0.6522 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008877/4.057, allocations: 316.9 kB / 0.6526 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009884/4.067, allocations: 2.715 MB / 0.6552 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.762e-05/4.068, allocations: 11.06 kB / 0.6552 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/4.068, allocations: 3.719 kB / 0.6552 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/4.068, allocations: 6.797 kB / 0.6552 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/4.088, allocations: 6.212 MB / 0.6613 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/4.088, allocations: 0 / 0.6613 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/4.09, allocations: 239.5 kB / 0.6615 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003919/4.094, allocations: 0.6353 MB / 0.6621 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/4.095, allocations: 11.62 kB / 0.6621 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008635/4.103, allocations: 4.118 MB / 0.6662 GB, free: 121.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/4.103, allocations: 3.969 kB / 0.6662 GB, free: 121.7 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01321/4.117, allocations: 5.094 MB / 0.6711 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01741/4.134, allocations: 7.16 MB / 0.6781 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/4.136, allocations: 0.5754 MB / 0.6787 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/4.137, allocations: 1.719 kB / 0.6787 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/4.14, allocations: 51.78 kB / 0.6788 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004556/4.141, allocations: 66.78 kB / 0.6788 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/4.141, allocations: 50.97 kB / 0.6789 GB, free: 116.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.00584/4.147, allocations: 2.071 MB / 0.6809 GB, free: 115.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008768/4.156, allocations: 0.8212 MB / 0.6817 GB, free: 115.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 114 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008202/4.157, allocations: 139.7 kB / 0.6818 GB, free: 115.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0117/4.168, allocations: 4.509 MB / 0.6862 GB, free: 113.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/4.168, allocations: 1.969 kB / 0.6862 GB, free: 113.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003227/4.172, allocations: 1.335 MB / 0.6875 GB, free: 113 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/4.175, allocations: 308.3 kB / 0.6878 GB, free: 112.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/4.198, allocations: 7.215 MB / 0.6949 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009532/4.207, allocations: 3.587 MB / 0.6984 GB, free: 103.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.645e-06/4.207, allocations: 0 / 0.6984 GB, free: 103.6 MB / 458.7 MB