Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_1_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 1.996/1.996, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2465/2.243, allocations: 51.02 MB / 267.3 MB, free: 5.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/2.369, allocations: 48.7 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3754/2.744, allocations: 80.67 MB / 396.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/2.745, allocations: 79.7 kB / 396.7 MB, free: 12.11 MB / 330.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.8031/3.548, allocations: 96.46 MB / 493.2 MB, free: 127.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/3.548, allocations: 8.688 kB / 493.2 MB, free: 127.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/3.565, allocations: 1.757 MB / 494.9 MB, free: 126.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/3.577, allocations: 3.409 MB / 498.4 MB, free: 126.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/3.577, allocations: 153.8 kB / 498.5 MB, free: 126.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003804/3.581, allocations: 281.7 kB / 498.8 MB, free: 126.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0285/3.61, allocations: 9.965 MB / 0.4968 GB, free: 126.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04856/3.658, allocations: 13.45 MB / 0.51 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004236/3.659, allocations: 62.88 kB / 0.51 GB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003556/3.662, allocations: 32.7 kB / 0.51 GB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004142/3.667, allocations: 1.151 MB / 0.5112 GB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1362/3.803, allocations: 53.8 MB / 0.5637 GB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02156/3.824, allocations: 6.861 MB / 0.5704 GB, free: 85.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006868/3.831, allocations: 2.925 MB / 0.5733 GB, free: 83.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/3.845, allocations: 6.447 MB / 0.5796 GB, free: 77.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/3.845, allocations: 48.78 kB / 0.5796 GB, free: 77.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 6.122e-06/3.845, allocations: 3.938 kB / 0.5796 GB, free: 77.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=176): time 0.007896/3.853, allocations: 2.682 MB / 0.5822 GB, free: 75.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/3.853, allocations: 145.5 kB / 0.5824 GB, free: 75.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/3.864, allocations: 3.784 MB / 0.5861 GB, free: 71.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003683/3.864, allocations: 25.7 kB / 0.5861 GB, free: 71.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/3.867, allocations: 3.338 MB / 0.5894 GB, free: 68.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/3.869, allocations: 0.7066 MB / 0.59 GB, free: 68.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008445/3.87, allocations: 0 / 0.59 GB, free: 68.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004925/3.87, allocations: 0.5941 MB / 0.5906 GB, free: 67.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005687/3.876, allocations: 2.15 MB / 0.5927 GB, free: 65.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008861/3.885, allocations: 6.5 MB / 0.5991 GB, free: 57.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009903/3.895, allocations: 3.74 MB / 0.6027 GB, free: 54.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000149/3.895, allocations: 44 kB / 0.6028 GB, free: 54.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02345/3.918, allocations: 7.674 MB / 0.6103 GB, free: 46.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/3.919, allocations: 8 kB / 0.6103 GB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002605/3.919, allocations: 163.9 kB / 0.6104 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/3.919, allocations: 228.8 kB / 0.6106 GB, free: 46.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01158/3.931, allocations: 1.645 MB / 0.6122 GB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002845/3.931, allocations: 316.6 kB / 0.6126 GB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009472/3.941, allocations: 0.7524 MB / 0.6133 GB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/3.943, allocations: 451.9 kB / 0.6137 GB, free: 43.42 MB / 410.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.002555/3.945, allocations: 490.2 kB / 0.6142 GB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/3.946, allocations: 371.1 kB / 0.6145 GB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00826/3.955, allocations: 2.476 MB / 0.617 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/3.955, allocations: 16 kB / 0.617 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/3.955, allocations: 7.984 kB / 0.617 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/3.955, allocations: 7.969 kB / 0.617 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/3.966, allocations: 3.202 MB / 0.6201 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-05/3.966, allocations: 4 kB / 0.6201 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004294/3.97, allocations: 331.6 kB / 0.6204 GB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.19e-05/3.971, allocations: 12 kB / 0.6204 GB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004417/3.971, allocations: 11.98 kB / 0.6205 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.445e-05/3.971, allocations: 8 kB / 0.6205 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/3.971, allocations: 2.906 kB / 0.6205 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01081/3.982, allocations: 4.889 MB / 0.6252 GB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01382/3.996, allocations: 7.019 MB / 0.6321 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/3.997, allocations: 459.8 kB / 0.6325 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/3.998, allocations: 3.312 kB / 0.6325 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/4.002, allocations: 23.97 kB / 0.6326 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005702/4.003, allocations: 89.08 kB / 0.6326 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/4.003, allocations: 44 kB / 0.6327 GB, free: 23.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.007411/4.01, allocations: 2.553 MB / 0.6352 GB, free: 21.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01062/4.021, allocations: 1.222 MB / 0.6364 GB, free: 20.05 MB / 410.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.0009638/4.022, allocations: 143.5 kB / 0.6365 GB, free: 19.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01483/4.037, allocations: 4.837 MB / 0.6412 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/4.037, allocations: 0 / 0.6412 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/4.041, allocations: 1.277 MB / 0.6425 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/4.046, allocations: 378.1 kB / 0.6428 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03124/4.078, allocations: 8.695 MB / 0.6513 GB, free: 4.809 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01637/4.094, allocations: 4.05 MB / 0.6553 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/4.094, allocations: 0 / 0.6553 GB, free: 0.7344 MB / 410.7 MB