Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.775e-05/3.781e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.5567, allocations: 98.21 MB / 415.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/0.5571, allocations: 85.77 kB / 415.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3671/0.9242, allocations: 84.81 MB / 0.4884 GB, free: 7.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.9243, allocations: 4 kB / 0.4884 GB, free: 7.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002787/0.9246, allocations: 83.98 kB / 0.4885 GB, free: 7.684 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02597/0.9505, allocations: 4.483 MB / 0.4929 GB, free: 3.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.9506, allocations: 12.03 kB / 0.4929 GB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003361/0.954, allocations: 0.7707 MB / 0.4936 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.9718, allocations: 2.221 MB / 0.4958 GB, free: 116 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/0.9893, allocations: 4.477 MB / 0.5002 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.9897, allocations: 320.4 kB / 0.5005 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/0.9922, allocations: 423.8 kB / 0.5009 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.315/1.307, allocations: 10.65 MB / 0.5113 GB, free: 92.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/1.307, allocations: 65.28 kB / 0.5113 GB, free: 92.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001339/1.309, allocations: 211.6 kB / 0.5116 GB, free: 92.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002811/1.312, allocations: 0.9962 MB / 0.5125 GB, free: 92.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02971/1.341, allocations: 8.661 MB / 0.521 GB, free: 92.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07034/1.412, allocations: 48.98 MB / 0.5688 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/1.43, allocations: 3.469 MB / 0.5722 GB, free: 61.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/1.434, allocations: 1.779 MB / 0.5739 GB, free: 60.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/1.446, allocations: 4.367 MB / 0.5782 GB, free: 57.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/1.446, allocations: 51.86 kB / 0.5782 GB, free: 57.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 7.745e-06/1.446, allocations: 0 / 0.5782 GB, free: 57.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=145): time 0.03664/1.482, allocations: 9.747 MB / 0.5878 GB, free: 53.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/1.483, allocations: 140.5 kB / 0.5879 GB, free: 53.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009508/1.492, allocations: 3.696 MB / 0.5915 GB, free: 52.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004086/1.493, allocations: 45.14 kB / 0.5916 GB, free: 52.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/1.495, allocations: 3.203 MB / 0.5947 GB, free: 49.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009703/1.496, allocations: 0.5845 MB / 0.5953 GB, free: 49.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005852/1.497, allocations: 112.9 kB / 0.5954 GB, free: 49.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003546/1.497, allocations: 0.5604 MB / 0.5959 GB, free: 49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004452/1.502, allocations: 1.919 MB / 0.5978 GB, free: 48.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007323/1.509, allocations: 5.694 MB / 0.6033 GB, free: 42.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007114/1.516, allocations: 3.288 MB / 0.6066 GB, free: 41.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/1.517, allocations: 41.81 kB / 0.6066 GB, free: 41.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02242/1.539, allocations: 7.719 MB / 0.6141 GB, free: 38.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.539, allocations: 61.38 kB / 0.6142 GB, free: 38.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/1.539, allocations: 136.8 kB / 0.6143 GB, free: 38.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/1.544, allocations: 0.9133 MB / 0.6152 GB, free: 38.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008778/1.552, allocations: 1.392 MB / 0.6166 GB, free: 38.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009018/1.562, allocations: 4.778 MB / 0.6212 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006674/1.568, allocations: 335.1 kB / 0.6216 GB, free: 33.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.57, allocations: 371.2 kB / 0.6219 GB, free: 33.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (732): * Single equations (assignments): 728 * 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.001549/1.571, allocations: 0.5685 MB / 0.6225 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009601/1.572, allocations: 359 kB / 0.6228 GB, free: 32.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008864/1.581, allocations: 2.805 MB / 0.6255 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-05/1.581, allocations: 16 kB / 0.6256 GB, free: 30.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.581, allocations: 4 kB / 0.6256 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.711e-05/1.581, allocations: 7.891 kB / 0.6256 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/1.601, allocations: 6.961 MB / 0.6324 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.601, allocations: 0 / 0.6324 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.603, allocations: 244.9 kB / 0.6326 GB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003681/1.607, allocations: 0.6951 MB / 0.6333 GB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003405/1.607, allocations: 25.33 kB / 0.6333 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008008/1.615, allocations: 4.345 MB / 0.6376 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.616, allocations: 0 / 0.6376 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/1.627, allocations: 5.097 MB / 0.6425 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/1.63, allocations: 0.6139 MB / 0.6431 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.631, allocations: 23.95 kB / 0.6432 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.634, allocations: 85.8 kB / 0.6432 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/1.634, allocations: 87.09 kB / 0.6433 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.634, allocations: 40 kB / 0.6434 GB, free: 14.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006142/1.64, allocations: 2.567 MB / 0.6459 GB, free: 12.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.64, allocations: 0 / 0.6459 GB, free: 12.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007027/1.647, allocations: 0.9614 MB / 0.6468 GB, free: 11.63 MB / 426.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 (114): * Single equations (assignments): 110 * 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.01222/1.66, allocations: 5.902 MB / 0.6526 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.67, allocations: 4.473 MB / 0.6569 GB, free: 2.379 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.67, allocations: 4 kB / 0.6569 GB, free: 2.375 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002723/1.673, allocations: 1.305 MB / 0.6582 GB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/1.676, allocations: 397.7 kB / 0.6586 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/1.706, allocations: 8.596 MB / 0.667 GB, free: 8.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006796/1.713, allocations: 3.314 MB / 0.6702 GB, free: 5.656 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008881/1.722, allocations: 1.877 MB / 0.6721 GB, free: 3.781 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004721/1.727, allocations: 1.847 MB / 0.6739 GB, free: 1.938 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/1.727, allocations: 0 / 0.6739 GB, free: 1.938 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4694/2.196, allocations: 74.01 MB / 0.7461 GB, free: 83.13 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/2.196, allocations: 197.6 kB / 0.7463 GB, free: 82.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.274/7.471, allocations: 4 kB / 0.7463 GB, free: 82.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat