Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.766/2.766, allocations: 235 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2037/2.97, allocations: 57.19 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/3.291, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/3.564, allocations: 86.94 MB / 441 MB, free: 6.312 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/3.564, allocations: 83.88 kB / 441.1 MB, free: 6.23 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.825/4.389, allocations: 96.44 MB / 0.525 GB, free: 6.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/4.389, allocations: 8 kB / 0.525 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/4.408, allocations: 1.76 MB / 0.5267 GB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/4.421, allocations: 3.41 MB / 0.53 GB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/4.422, allocations: 148 kB / 0.5301 GB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003729/4.426, allocations: 275.8 kB / 0.5304 GB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03528/4.461, allocations: 9.97 MB / 0.5401 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04777/4.509, allocations: 13.45 MB / 0.5533 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003878/4.509, allocations: 71.3 kB / 0.5533 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003382/4.513, allocations: 28 kB / 0.5534 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0054/4.518, allocations: 1.144 MB / 0.5545 GB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3303/4.848, allocations: 53.82 MB / 0.6071 GB, free: 133 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/4.866, allocations: 6.856 MB / 0.6138 GB, free: 132.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007576/4.873, allocations: 2.917 MB / 0.6166 GB, free: 132.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/4.889, allocations: 6.447 MB / 0.6229 GB, free: 128.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/4.889, allocations: 50.75 kB / 0.6229 GB, free: 128.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 6.563e-06/4.889, allocations: 0 / 0.6229 GB, free: 128.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.008189/4.897, allocations: 2.68 MB / 0.6256 GB, free: 128.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/4.897, allocations: 145.3 kB / 0.6257 GB, free: 128.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/4.908, allocations: 3.788 MB / 0.6294 GB, free: 128.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003784/4.909, allocations: 29.58 kB / 0.6294 GB, free: 128.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003058/4.912, allocations: 3.334 MB / 0.6327 GB, free: 126.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/4.913, allocations: 0.7047 MB / 0.6334 GB, free: 126.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009662/4.914, allocations: 0 / 0.6334 GB, free: 126.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007687/4.915, allocations: 0.5985 MB / 0.634 GB, free: 126 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00655/4.922, allocations: 2.146 MB / 0.6361 GB, free: 125.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01183/4.934, allocations: 6.499 MB / 0.6424 GB, free: 120.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/4.947, allocations: 3.745 MB / 0.6461 GB, free: 120.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002061/4.947, allocations: 43.59 kB / 0.6461 GB, free: 120.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03614/4.983, allocations: 7.677 MB / 0.6536 GB, free: 119.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/4.984, allocations: 6.844 kB / 0.6536 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004917/4.984, allocations: 156.8 kB / 0.6538 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/4.985, allocations: 229 kB / 0.654 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02061/5.005, allocations: 1.649 MB / 0.6556 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005426/5.006, allocations: 302.9 kB / 0.6559 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01728/5.023, allocations: 0.7563 MB / 0.6566 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002858/5.026, allocations: 452.2 kB / 0.657 GB, free: 119.1 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.00349/5.03, allocations: 493.7 kB / 0.6575 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/5.032, allocations: 370.5 kB / 0.6579 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/5.044, allocations: 2.477 MB / 0.6603 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001462/5.044, allocations: 15.84 kB / 0.6603 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/5.044, allocations: 3.781 kB / 0.6603 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-05/5.045, allocations: 12.03 kB / 0.6603 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03578/5.08, allocations: 3.21 MB / 0.6634 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-05/5.08, allocations: 0 / 0.6634 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01349/5.094, allocations: 332.9 kB / 0.6638 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-05/5.094, allocations: 7.281 kB / 0.6638 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005399/5.095, allocations: 14.17 kB / 0.6638 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.153e-05/5.095, allocations: 6.75 kB / 0.6638 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/5.095, allocations: 0 / 0.6638 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02622/5.121, allocations: 4.891 MB / 0.6686 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0184/5.139, allocations: 7.022 MB / 0.6754 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/5.141, allocations: 453.7 kB / 0.6759 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001868/5.143, allocations: 3.781 kB / 0.6759 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004139/5.147, allocations: 22.59 kB / 0.6759 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/5.148, allocations: 86.36 kB / 0.676 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000278/5.148, allocations: 54.77 kB / 0.676 GB, free: 111.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.008817/5.157, allocations: 2.542 MB / 0.6785 GB, free: 110.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01088/5.168, allocations: 1.23 MB / 0.6797 GB, free: 110.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.0008207/5.169, allocations: 148.7 kB / 0.6798 GB, free: 110 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01481/5.184, allocations: 4.832 MB / 0.6846 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/5.184, allocations: 3.969 kB / 0.6846 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003522/5.187, allocations: 1.271 MB / 0.6858 GB, free: 108.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/5.191, allocations: 388.9 kB / 0.6862 GB, free: 107.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/5.22, allocations: 8.691 MB / 0.6947 GB, free: 100.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01208/5.232, allocations: 4.054 MB / 0.6986 GB, free: 97.77 MB / 458.7 MB Notification: Performance of SimCode: time 2.414e-06/5.232, allocations: 0 / 0.6986 GB, free: 97.77 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat