Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",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(Modelica): time 2.91/2.91, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.294/3.204, allocations: 46.82 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/3.313, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/3.794, allocations: 91.56 MB / 385.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/3.794, allocations: 85.27 kB / 385.6 MB, free: 4.566 MB / 298.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.5445/4.339, allocations: 85.57 MB / 471.1 MB, free: 260 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/4.339, allocations: 12 kB / 471.1 MB, free: 248 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03134/4.37, allocations: 1.819 MB / 473 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03041/4.4, allocations: 4.512 MB / 477.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000572/4.401, allocations: 143.9 kB / 477.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00385/4.405, allocations: 251.9 kB / 477.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03007/4.435, allocations: 6.533 MB / 484.4 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04213/4.477, allocations: 9.85 MB / 494.2 MB, free: 8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004911/4.478, allocations: 59.41 kB / 494.3 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003227/4.481, allocations: 32 kB / 494.3 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004671/4.486, allocations: 1.057 MB / 495.4 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2812/4.767, allocations: 47.59 MB / 0.5302 GB, free: 90.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00927/4.776, allocations: 3.319 MB / 0.5335 GB, free: 89.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005582/4.782, allocations: 1.915 MB / 0.5354 GB, free: 89.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01832/4.8, allocations: 5.932 MB / 0.5411 GB, free: 87.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/4.801, allocations: 48.78 kB / 0.5412 GB, free: 87.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 7.364e-06/4.801, allocations: 6.547 kB / 0.5412 GB, free: 87.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.04828/4.849, allocations: 11.23 MB / 0.5522 GB, free: 85.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/4.849, allocations: 143.3 kB / 0.5523 GB, free: 85.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009618/4.859, allocations: 3.183 MB / 0.5554 GB, free: 84.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004504/4.859, allocations: 25.7 kB / 0.5554 GB, free: 84.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00291/4.862, allocations: 3.059 MB / 0.5584 GB, free: 81.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/4.863, allocations: 0.5783 MB / 0.559 GB, free: 81.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008033/4.864, allocations: 0 / 0.559 GB, free: 81.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000855/4.865, allocations: 0.5659 MB / 0.5595 GB, free: 81.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008859/4.874, allocations: 1.921 MB / 0.5614 GB, free: 80.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/4.887, allocations: 5.855 MB / 0.5671 GB, free: 74.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/4.9, allocations: 3.35 MB / 0.5704 GB, free: 73.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002045/4.901, allocations: 38.66 kB / 0.5704 GB, free: 73.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.04127/4.942, allocations: 7.423 MB / 0.5777 GB, free: 71.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/4.942, allocations: 4.906 kB / 0.5777 GB, free: 71.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003718/4.942, allocations: 140.3 kB / 0.5778 GB, free: 71.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008227/4.951, allocations: 0.8629 MB / 0.5787 GB, free: 71.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01282/4.964, allocations: 1.428 MB / 0.5801 GB, free: 70.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/4.976, allocations: 4.498 MB / 0.5845 GB, free: 68.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009144/4.985, allocations: 194.7 kB / 0.5846 GB, free: 68.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/4.987, allocations: 391.9 kB / 0.585 GB, free: 68.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * 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 (760): * Single equations (assignments): 756 * 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.002132/4.989, allocations: 455.3 kB / 0.5855 GB, free: 68.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000977/4.99, allocations: 318.8 kB / 0.5858 GB, free: 67.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/5.003, allocations: 2.697 MB / 0.5884 GB, free: 67.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000127/5.003, allocations: 13.41 kB / 0.5884 GB, free: 67.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/5.003, allocations: 3.875 kB / 0.5884 GB, free: 67.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.221e-05/5.003, allocations: 8.906 kB / 0.5884 GB, free: 67.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02608/5.029, allocations: 6.131 MB / 0.5944 GB, free: 63.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/5.029, allocations: 0 / 0.5944 GB, free: 63.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/5.033, allocations: 231 kB / 0.5946 GB, free: 63.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005338/5.038, allocations: 0.6372 MB / 0.5953 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004648/5.039, allocations: 18.48 kB / 0.5953 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/5.05, allocations: 4.114 MB / 0.5993 GB, free: 59.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/5.05, allocations: 4.062 kB / 0.5993 GB, free: 59.34 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01655/5.067, allocations: 5.073 MB / 0.6042 GB, free: 54.92 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02508/5.092, allocations: 7.123 MB / 0.6112 GB, free: 48.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003369/5.095, allocations: 0.5644 MB / 0.6118 GB, free: 48.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/5.097, allocations: 7.375 kB / 0.6118 GB, free: 48.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005555/5.103, allocations: 47.03 kB / 0.6118 GB, free: 48.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008707/5.104, allocations: 65.81 kB / 0.6119 GB, free: 48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000382/5.104, allocations: 54.91 kB / 0.6119 GB, free: 47.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.008951/5.113, allocations: 2.117 MB / 0.614 GB, free: 46.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01591/5.129, allocations: 0.8212 MB / 0.6148 GB, free: 45.31 MB / 394.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 (115): * Single equations (assignments): 111 * 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.001203/5.13, allocations: 141.2 kB / 0.6149 GB, free: 45.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01776/5.148, allocations: 4.558 MB / 0.6194 GB, free: 41.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/5.148, allocations: 4.062 kB / 0.6194 GB, free: 41.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005169/5.153, allocations: 1.32 MB / 0.6207 GB, free: 39.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005903/5.159, allocations: 319.6 kB / 0.621 GB, free: 39.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/5.192, allocations: 7.23 MB / 0.628 GB, free: 33.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01072/5.203, allocations: 3.577 MB / 0.6315 GB, free: 30.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/5.203, allocations: 0 / 0.6315 GB, free: 30.32 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat