Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",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 1.605/1.605, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2012/1.806, allocations: 46.82 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/1.893, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/2.193, allocations: 92.26 MB / 386.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/2.193, allocations: 88.97 kB / 386.3 MB, free: 4.465 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.4322/2.626, allocations: 99.43 MB / 485.7 MB, free: 1.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/2.626, allocations: 8 kB / 485.7 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/2.644, allocations: 1.927 MB / 487.6 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/2.664, allocations: 4.968 MB / 492.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/2.664, allocations: 168 kB / 492.8 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002213/2.667, allocations: 307.9 kB / 493.1 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02394/2.691, allocations: 7.97 MB / 0.4893 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1592/2.85, allocations: 11.74 MB / 0.5008 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/2.85, allocations: 63.25 kB / 0.5008 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/2.851, allocations: 36.97 kB / 0.5008 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002415/2.854, allocations: 1.264 MB / 0.5021 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08897/2.943, allocations: 55.58 MB / 0.5564 GB, free: 76.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008566/2.951, allocations: 4.447 MB / 0.5607 GB, free: 75.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006347/2.958, allocations: 3.309 MB / 0.5639 GB, free: 73.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02517/2.983, allocations: 10 MB / 0.5737 GB, free: 68.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/2.983, allocations: 59.73 kB / 0.5738 GB, free: 68.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=215): time 6.152e-06/2.983, allocations: 0 / 0.5738 GB, free: 68.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=246): time 0.07973/3.063, allocations: 22.28 MB / 0.5955 GB, free: 60.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/3.063, allocations: 150.1 kB / 0.5957 GB, free: 60.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007158/3.07, allocations: 3.401 MB / 0.599 GB, free: 58.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007087/3.071, allocations: 25.7 kB / 0.599 GB, free: 58.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00248/3.073, allocations: 3.422 MB / 0.6023 GB, free: 56.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001506/3.075, allocations: 0.9016 MB / 0.6032 GB, free: 55.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006921/3.076, allocations: 0 / 0.6032 GB, free: 55.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004651/3.076, allocations: 0.6067 MB / 0.6038 GB, free: 55.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007795/3.084, allocations: 2.964 MB / 0.6067 GB, free: 54.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009271/3.093, allocations: 7.125 MB / 0.6137 GB, free: 45.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/3.104, allocations: 4.554 MB / 0.6181 GB, free: 42.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.611e-05/3.104, allocations: 44 kB / 0.6182 GB, free: 41.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=933) (initialization): time 0.0286/3.132, allocations: 10.06 MB / 0.628 GB, free: 33.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/3.132, allocations: 7.75 kB / 0.628 GB, free: 33.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/3.133, allocations: 155.4 kB / 0.6281 GB, free: 33.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005139/3.138, allocations: 1.08 MB / 0.6292 GB, free: 32.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/3.15, allocations: 1.731 MB / 0.6309 GB, free: 30.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/3.162, allocations: 5.532 MB / 0.6363 GB, free: 25.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009166/3.171, allocations: 250.2 kB / 0.6365 GB, free: 25.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/3.172, allocations: 448.3 kB / 0.6369 GB, free: 25.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (894): * Single equations (assignments): 890 * 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.001433/3.174, allocations: 479.8 kB / 0.6374 GB, free: 24.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/3.175, allocations: 370.8 kB / 0.6378 GB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/3.192, allocations: 5.361 MB / 0.643 GB, free: 20.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.534e-05/3.192, allocations: 20 kB / 0.643 GB, free: 20.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/3.192, allocations: 4 kB / 0.643 GB, free: 20.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-05/3.192, allocations: 16.28 kB / 0.643 GB, free: 20.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03048/3.223, allocations: 10.74 MB / 0.6535 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/3.223, allocations: 4 kB / 0.6535 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005626/3.228, allocations: 467.7 kB / 0.654 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004889/3.233, allocations: 0.8684 MB / 0.6548 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003595/3.234, allocations: 15.98 kB / 0.6548 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/3.245, allocations: 5.238 MB / 0.6599 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/3.245, allocations: 11.84 kB / 0.66 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1621/3.407, allocations: 9.553 MB / 0.6693 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02978/3.437, allocations: 13.35 MB / 0.6823 GB, free: 99.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003024/3.44, allocations: 0.8285 MB / 0.6831 GB, free: 99.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/3.441, allocations: 7.734 kB / 0.6831 GB, free: 99.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004861/3.446, allocations: 90.33 kB / 0.6832 GB, free: 99.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006397/3.447, allocations: 131.5 kB / 0.6833 GB, free: 99.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003664/3.447, allocations: 66.27 kB / 0.6834 GB, free: 99.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004857/3.452, allocations: 2.274 MB / 0.6856 GB, free: 99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009084/3.461, allocations: 1.085 MB / 0.6867 GB, free: 99 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 215 * 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 Backend phase and start with SimCode phase: time 0.0007268/3.462, allocations: 162.2 kB / 0.6868 GB, free: 98.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01626/3.478, allocations: 6.998 MB / 0.6937 GB, free: 98.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/3.478, allocations: 3.062 kB / 0.6937 GB, free: 98.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006529/3.485, allocations: 2.638 MB / 0.6963 GB, free: 98.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/3.488, allocations: 341 kB / 0.6966 GB, free: 98.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/3.518, allocations: 10.01 MB / 0.7064 GB, free: 96.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/3.528, allocations: 4.249 MB / 0.7105 GB, free: 95.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.704e-06/3.528, allocations: 0 / 0.7105 GB, free: 95.34 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.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat