Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.828/2.828, allocations: 270 MB / 283.6 MB, free: 2.027 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.778e-05/4.788e-05, allocations: 7.938 kB / 348.5 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4406, allocations: 61.86 MB / 410.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2242/0.6649, allocations: 106.8 MB / 0.505 GB, free: 15.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.6653, allocations: 71.97 kB / 0.5051 GB, free: 15.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8035/1.469, allocations: 91.11 MB / 0.5941 GB, free: 47.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.667e-06/1.469, allocations: 0 / 0.5941 GB, free: 47.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002916/1.469, allocations: 76 kB / 0.5942 GB, free: 47.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.02209/1.491, allocations: 3.903 MB / 0.598 GB, free: 43.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.117e-05/1.491, allocations: 8.031 kB / 0.598 GB, free: 43.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004788/1.496, allocations: 0.8242 MB / 0.5988 GB, free: 42.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02659/1.523, allocations: 3.532 MB / 0.6022 GB, free: 38.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/1.54, allocations: 4.256 MB / 0.6064 GB, free: 34.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004131/1.54, allocations: 316.3 kB / 0.6067 GB, free: 34.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/1.543, allocations: 415.9 kB / 0.6071 GB, free: 33.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03436/1.578, allocations: 10.61 MB / 0.6174 GB, free: 22.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003057/1.578, allocations: 23.81 kB / 0.6175 GB, free: 22.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003041/1.581, allocations: 191.9 kB / 0.6177 GB, free: 22.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002815/1.584, allocations: 1.216 MB / 0.6188 GB, free: 21.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03009/1.614, allocations: 10.14 MB / 0.6287 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08661/1.701, allocations: 36.98 MB / 0.6648 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/1.717, allocations: 4.546 MB / 0.6693 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005946/1.723, allocations: 2.381 MB / 0.6716 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/1.725, allocations: 1.319 MB / 0.6729 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/1.725, allocations: 52.56 kB / 0.673 GB, free: 12.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 9.067e-06/1.725, allocations: 4 kB / 0.673 GB, free: 12.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.06399/1.789, allocations: 14.51 MB / 0.6871 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/1.789, allocations: 73.41 kB / 0.6872 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006774/1.796, allocations: 2.413 MB / 0.6896 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000683/1.797, allocations: 57.7 kB / 0.6896 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003202/1.8, allocations: 2.78 MB / 0.6923 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/1.802, allocations: 0.9172 MB / 0.6932 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006987/1.802, allocations: 104 kB / 0.6933 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006005/1.803, allocations: 0.5296 MB / 0.6938 GB, free: 7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006409/1.81, allocations: 2.248 MB / 0.696 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/1.82, allocations: 5.091 MB / 0.701 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009247/1.829, allocations: 3.429 MB / 0.7043 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/1.829, allocations: 28 kB / 0.7044 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02761/1.857, allocations: 7.86 MB / 0.7121 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.857, allocations: 48 kB / 0.7121 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/1.857, allocations: 100 kB / 0.7122 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/1.863, allocations: 0.9452 MB / 0.7131 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008531/1.871, allocations: 1.22 MB / 0.7143 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4045/2.276, allocations: 4.722 MB / 0.7189 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/2.281, allocations: 298.1 kB / 0.7192 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/2.283, allocations: 305.1 kB / 0.7195 GB, free: 130.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (652): * Single equations (assignments): 645 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001207/2.284, allocations: 0.5037 MB / 0.72 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007233/2.285, allocations: 274.2 kB / 0.7202 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/2.3, allocations: 5.067 MB / 0.7252 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/2.3, allocations: 46.25 kB / 0.7252 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/2.3, allocations: 3.594 kB / 0.7252 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.045e-05/2.3, allocations: 14.59 kB / 0.7253 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03351/2.333, allocations: 11.84 MB / 0.7368 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-05/2.334, allocations: 10.72 kB / 0.7368 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003566/2.337, allocations: 399.1 kB / 0.7372 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005503/2.343, allocations: 0.7762 MB / 0.738 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006052/2.343, allocations: 57.52 kB / 0.738 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008705/2.352, allocations: 4.009 MB / 0.7419 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/2.352, allocations: 14.59 kB / 0.742 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/2.371, allocations: 8.371 MB / 0.7501 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/2.372, allocations: 335.4 kB / 0.7504 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007928/2.372, allocations: 48.95 kB / 0.7505 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/2.375, allocations: 140.1 kB / 0.7506 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004683/2.375, allocations: 155.1 kB / 0.7508 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/2.376, allocations: 80.14 kB / 0.7509 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00368/2.379, allocations: 1.639 MB / 0.7525 GB, free: 124 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.263e-06/2.379, allocations: 0 / 0.7525 GB, free: 124 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006464/2.386, allocations: 0.9928 MB / 0.7534 GB, free: 123.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02009/2.406, allocations: 11.6 MB / 0.7647 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01254/2.418, allocations: 5.336 MB / 0.77 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/2.419, allocations: 3.375 kB / 0.77 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005121/2.424, allocations: 2.099 MB / 0.772 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/2.427, allocations: 352.3 kB / 0.7723 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/2.455, allocations: 9.905 MB / 0.782 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006643/2.462, allocations: 3.467 MB / 0.7854 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007795/2.469, allocations: 1.989 MB / 0.7873 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004334/2.474, allocations: 1.819 MB / 0.7891 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.465e-06/2.474, allocations: 0 / 0.7891 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/2.635, allocations: 69.16 MB / 0.8567 GB, free: 39 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/2.635, allocations: 169.2 kB / 0.8568 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.939/7.574, allocations: 0 / 0.8568 GB, free: 38.77 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat