Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",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.282/2.282, allocations: 234.9 MB / 241.9 MB, free: 9.805 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1922/2.474, allocations: 57.21 MB / 299.1 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/2.772, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/2.971, allocations: 86.94 MB / 440.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/2.971, allocations: 79.89 kB / 441 MB, free: 6.297 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: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.8142/3.785, allocations: 96.45 MB / 0.5249 GB, free: 7.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/3.785, allocations: 8 kB / 0.5249 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/3.804, allocations: 1.756 MB / 0.5266 GB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/3.818, allocations: 3.406 MB / 0.5299 GB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/3.818, allocations: 148 kB / 0.53 GB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005921/3.824, allocations: 287.8 kB / 0.5303 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04067/3.865, allocations: 9.966 MB / 0.54 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.049/3.914, allocations: 13.45 MB / 0.5532 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005592/3.914, allocations: 63.38 kB / 0.5532 GB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005092/3.92, allocations: 28 kB / 0.5533 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004956/3.925, allocations: 1.147 MB / 0.5544 GB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1731/4.098, allocations: 53.82 MB / 0.607 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2129/4.311, allocations: 6.855 MB / 0.6136 GB, free: 135.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006604/4.317, allocations: 2.909 MB / 0.6165 GB, free: 135.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/4.336, allocations: 6.459 MB / 0.6228 GB, free: 132.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/4.337, allocations: 57.59 kB / 0.6228 GB, free: 132.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 5.671e-06/4.337, allocations: 0 / 0.6228 GB, free: 132.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.007406/4.344, allocations: 2.678 MB / 0.6255 GB, free: 132.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/4.344, allocations: 146.7 kB / 0.6256 GB, free: 132 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/4.355, allocations: 3.779 MB / 0.6293 GB, free: 131.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003666/4.355, allocations: 25.7 kB / 0.6293 GB, free: 131.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002761/4.358, allocations: 3.338 MB / 0.6326 GB, free: 130.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001139/4.359, allocations: 0.7147 MB / 0.6333 GB, free: 129.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/4.36, allocations: 0 / 0.6333 GB, free: 129.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004623/4.36, allocations: 0.5878 MB / 0.6339 GB, free: 129.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005173/4.365, allocations: 2.151 MB / 0.636 GB, free: 129.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007708/4.373, allocations: 6.501 MB / 0.6423 GB, free: 123.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009555/4.383, allocations: 3.74 MB / 0.646 GB, free: 123.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001685/4.383, allocations: 47.5 kB / 0.646 GB, free: 123.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02988/4.413, allocations: 7.679 MB / 0.6535 GB, free: 123.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/4.413, allocations: 10.31 kB / 0.6535 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002744/4.413, allocations: 157.3 kB / 0.6537 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/4.413, allocations: 228.7 kB / 0.6539 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01099/4.424, allocations: 1.647 MB / 0.6555 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003036/4.425, allocations: 307 kB / 0.6558 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01485/4.44, allocations: 0.757 MB / 0.6565 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/4.442, allocations: 454.8 kB / 0.6569 GB, free: 122.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.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 (870): * Single equations (assignments): 867 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001523/4.443, allocations: 489.7 kB / 0.6574 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/4.444, allocations: 373.8 kB / 0.6578 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006995/4.451, allocations: 2.476 MB / 0.6602 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001126/4.451, allocations: 17.5 kB / 0.6602 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/4.451, allocations: 3.469 kB / 0.6602 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/4.452, allocations: 9.109 kB / 0.6602 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009351/4.461, allocations: 3.209 MB / 0.6634 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.147e-05/4.461, allocations: 0 / 0.6634 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004103/4.465, allocations: 331.7 kB / 0.6637 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.884e-05/4.465, allocations: 8.375 kB / 0.6637 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003136/4.465, allocations: 10.75 kB / 0.6637 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/4.466, allocations: 13.67 kB / 0.6637 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/4.466, allocations: 3.812 kB / 0.6637 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01181/4.477, allocations: 4.878 MB / 0.6685 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01464/4.492, allocations: 7.019 MB / 0.6753 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/4.494, allocations: 459.8 kB / 0.6758 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/4.495, allocations: 7.625 kB / 0.6758 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/4.499, allocations: 24.45 kB / 0.6758 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005998/4.499, allocations: 91.66 kB / 0.6759 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/4.5, allocations: 53.55 kB / 0.6759 GB, free: 114.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.007795/4.508, allocations: 2.543 MB / 0.6784 GB, free: 113.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0099/4.517, allocations: 1.217 MB / 0.6796 GB, free: 113.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008025/4.518, allocations: 151.5 kB / 0.6797 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/4.531, allocations: 4.837 MB / 0.6845 GB, free: 111.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/4.531, allocations: 1.188 kB / 0.6845 GB, free: 111.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003339/4.534, allocations: 1.272 MB / 0.6857 GB, free: 111.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/4.539, allocations: 373.4 kB / 0.6861 GB, free: 111 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0354/4.574, allocations: 8.7 MB / 0.6946 GB, free: 104 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01506/4.589, allocations: 4.05 MB / 0.6985 GB, free: 100.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.963e-06/4.589, allocations: 4 kB / 0.6985 GB, free: 100.9 MB / 458.7 MB