Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.4 MB / 216.5 MB, free: 6.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.315e-05, allocations: 7.938 kB / 267.6 MB, free: 4.969 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 48.7 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5682, allocations: 88.68 MB / 405 MB, free: 3.957 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5685, allocations: 75.7 kB / 405.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3827/0.9512, allocations: 84.03 MB / 489.1 MB, free: 2.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.9513, allocations: 8 kB / 489.1 MB, free: 2.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002139/0.9515, allocations: 67.94 kB / 489.2 MB, free: 2.73 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: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.3239/1.275, allocations: 3.647 MB / 492.8 MB, free: 91.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/1.276, allocations: 9.562 kB / 492.8 MB, free: 91.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02923/1.305, allocations: 3.51 MB / 496.4 MB, free: 90.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/1.323, allocations: 4.142 MB / 0.4888 GB, free: 90.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/1.324, allocations: 125 kB / 0.4889 GB, free: 90.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003088/1.327, allocations: 222.1 kB / 0.4891 GB, free: 90.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02042/1.347, allocations: 7.26 MB / 0.4962 GB, free: 90.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02947/1.377, allocations: 9.473 MB / 0.5054 GB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002509/1.377, allocations: 21.47 kB / 0.5055 GB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002747/1.38, allocations: 15.56 kB / 0.5055 GB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003091/1.383, allocations: 1.217 MB / 0.5067 GB, free: 89.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07355/1.457, allocations: 32.98 MB / 0.5389 GB, free: 72.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007452/1.464, allocations: 4.167 MB / 0.5429 GB, free: 70.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004601/1.469, allocations: 2.227 MB / 0.5451 GB, free: 69.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/1.471, allocations: 1.881 MB / 0.5469 GB, free: 67.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/1.471, allocations: 55.16 kB / 0.547 GB, free: 67.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=231): time 6.602e-06/1.471, allocations: 0 / 0.547 GB, free: 67.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.04461/1.516, allocations: 14.06 MB / 0.5607 GB, free: 59.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/1.516, allocations: 69.41 kB / 0.5608 GB, free: 59.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/1.521, allocations: 2.242 MB / 0.563 GB, free: 57.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005675/1.522, allocations: 25.7 kB / 0.563 GB, free: 57.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002246/1.524, allocations: 2.782 MB / 0.5657 GB, free: 54.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.525, allocations: 0.8408 MB / 0.5666 GB, free: 54.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006779/1.526, allocations: 3.438 kB / 0.5666 GB, free: 54.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006254/1.527, allocations: 0.6024 MB / 0.5671 GB, free: 53.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005186/1.532, allocations: 2.127 MB / 0.5692 GB, free: 51.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007358/1.539, allocations: 5.253 MB / 0.5744 GB, free: 45.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007778/1.547, allocations: 3.371 MB / 0.5776 GB, free: 42.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/1.547, allocations: 32 kB / 0.5777 GB, free: 42.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=744) (initialization): time 0.02207/1.569, allocations: 7.451 MB / 0.585 GB, free: 36.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/1.57, allocations: 52 kB / 0.585 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/1.57, allocations: 112.9 kB / 0.5851 GB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00414/1.574, allocations: 0.8157 MB / 0.5859 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008216/1.582, allocations: 1.288 MB / 0.5872 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008264/1.591, allocations: 3.985 MB / 0.5911 GB, free: 30.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005942/1.597, allocations: 197 kB / 0.5912 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/1.598, allocations: 331.6 kB / 0.5916 GB, free: 30.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 677 * Array equations: 6 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002086/1.6, allocations: 384.4 kB / 0.5919 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01212/1.613, allocations: 4.077 MB / 0.5959 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.614, allocations: 268 kB / 0.5962 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/1.628, allocations: 4.572 MB / 0.6006 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/1.628, allocations: 45.31 kB / 0.6007 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.628, allocations: 4 kB / 0.6007 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-05/1.628, allocations: 11.11 kB / 0.6007 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0286/1.657, allocations: 9.57 MB / 0.61 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/1.657, allocations: 4 kB / 0.61 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003378/1.66, allocations: 371.4 kB / 0.6104 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/1.664, allocations: 0.645 MB / 0.611 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005797/1.665, allocations: 19.98 kB / 0.611 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007074/1.672, allocations: 3.471 MB / 0.6144 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/1.672, allocations: 11.94 kB / 0.6144 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/1.689, allocations: 7.587 MB / 0.6218 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002727/1.692, allocations: 0.646 MB / 0.6225 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.693, allocations: 12 kB / 0.6225 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.696, allocations: 107.8 kB / 0.6226 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008425/1.697, allocations: 133.1 kB / 0.6227 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003227/1.697, allocations: 67.98 kB / 0.6228 GB, free: 14.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004242/1.701, allocations: 1.467 MB / 0.6242 GB, free: 13.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.702, allocations: 0 / 0.6242 GB, free: 13.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007445/1.709, allocations: 0.8217 MB / 0.625 GB, free: 12.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 174 * Array equations: 6 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02196/1.731, allocations: 10.12 MB / 0.6349 GB, free: 1.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3063/2.037, allocations: 5.183 MB / 0.64 GB, free: 99.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/2.037, allocations: 1.812 kB / 0.64 GB, free: 99.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00462/2.042, allocations: 1.959 MB / 0.6419 GB, free: 99.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/2.044, allocations: 214.2 kB / 0.6421 GB, free: 99.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/2.074, allocations: 9.168 MB / 0.651 GB, free: 97.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007721/2.082, allocations: 3.315 MB / 0.6543 GB, free: 96.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00884/2.091, allocations: 2.076 MB / 0.6563 GB, free: 96.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004343/2.095, allocations: 1.797 MB / 0.6581 GB, free: 96.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/2.095, allocations: 0 / 0.6581 GB, free: 96.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1532/2.249, allocations: 61.82 MB / 0.7184 GB, free: 71.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/2.249, allocations: 127.6 kB / 0.7185 GB, free: 71.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.268/6.517, allocations: 2.406 kB / 0.7186 GB, free: 71.51 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat