Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.087/2.087, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.138e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4969/0.6079, allocations: 92.39 MB / 414.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.6083, allocations: 75.95 kB / 414.4 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.25/0.8583, allocations: 54.51 MB / 468.9 MB, free: 6.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.8584, allocations: 4 kB / 468.9 MB, free: 6.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001642/0.8585, allocations: 48 kB / 468.9 MB, free: 6.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.009144/0.8677, allocations: 2.37 MB / 471.3 MB, free: 3.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.8678, allocations: 12.02 kB / 471.3 MB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002091/0.8699, allocations: 476.8 kB / 471.8 MB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.8741, allocations: 479.8 kB / 472.2 MB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.8796, allocations: 1.516 MB / 473.7 MB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.88, allocations: 217.7 kB / 474 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.8813, allocations: 283.9 kB / 474.2 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/0.9097, allocations: 5.878 MB / 480.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.9099, allocations: 15.88 kB / 480.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/0.9112, allocations: 131.9 kB / 480.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.9134, allocations: 484 kB / 480.7 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02589/0.9394, allocations: 4.415 MB / 485.1 MB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04162/0.981, allocations: 19.87 MB / 0.4932 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3047/1.286, allocations: 1.217 MB / 0.4944 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/1.287, allocations: 375.8 kB / 0.4947 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003255/1.291, allocations: 2.07 MB / 0.4967 GB, free: 114.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/1.291, allocations: 47.94 kB / 0.4968 GB, free: 114.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 4.969e-06/1.291, allocations: 0 / 0.4968 GB, free: 114.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.04878/1.34, allocations: 5.369 MB / 0.502 GB, free: 113.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/1.34, allocations: 96.73 kB / 0.5021 GB, free: 113.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004646/1.344, allocations: 1.58 MB / 0.5037 GB, free: 113.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002484/1.345, allocations: 48.23 kB / 0.5037 GB, free: 113.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/1.346, allocations: 1.64 MB / 0.5053 GB, free: 112.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006117/1.347, allocations: 412 kB / 0.5057 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/1.347, allocations: 56.06 kB / 0.5058 GB, free: 112.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/1.347, allocations: 424.4 kB / 0.5062 GB, free: 111.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/1.349, allocations: 0.7607 MB / 0.5069 GB, free: 111.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003333/1.353, allocations: 2.276 MB / 0.5091 GB, free: 109.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/1.356, allocations: 1.319 MB / 0.5104 GB, free: 109.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.356, allocations: 14.97 kB / 0.5104 GB, free: 109.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009644/1.366, allocations: 2.915 MB / 0.5133 GB, free: 109.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/1.366, allocations: 32.53 kB / 0.5133 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.918e-05/1.366, allocations: 57.38 kB / 0.5134 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/1.367, allocations: 87.83 kB / 0.5134 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/1.371, allocations: 0.6419 MB / 0.5141 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001459/1.371, allocations: 110.1 kB / 0.5142 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/1.374, allocations: 121.3 kB / 0.5143 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005546/1.375, allocations: 162.5 kB / 0.5144 GB, free: 109.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (359): * Single equations (assignments): 359 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006323/1.375, allocations: 328.8 kB / 0.5148 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005491/1.376, allocations: 175.6 kB / 0.5149 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/1.379, allocations: 1.231 MB / 0.5161 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.379, allocations: 14.8 kB / 0.5161 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.379, allocations: 0.875 kB / 0.5161 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.379, allocations: 8.578 kB / 0.5162 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.394, allocations: 6.378 MB / 0.5224 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/1.394, allocations: 19.22 kB / 0.5224 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.395, allocations: 201.2 kB / 0.5226 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-05/1.395, allocations: 32.53 kB / 0.5226 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/1.395, allocations: 48.03 kB / 0.5227 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.645e-05/1.395, allocations: 46.61 kB / 0.5227 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-05/1.395, allocations: 37 kB / 0.5228 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/1.398, allocations: 3.156 MB / 0.5258 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006229/1.399, allocations: 275.5 kB / 0.5261 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/1.399, allocations: 41.77 kB / 0.5261 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.401, allocations: 43.62 kB / 0.5262 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.401, allocations: 139.2 kB / 0.5263 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-05/1.401, allocations: 52 kB / 0.5264 GB, free: 103.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002413/1.403, allocations: 1.176 MB / 0.5275 GB, free: 103.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.403, allocations: 0 / 0.5275 GB, free: 103.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003799/1.407, allocations: 0.4911 MB / 0.528 GB, free: 103.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004507/1.412, allocations: 9.441 MB / 0.5372 GB, free: 93.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004101/1.416, allocations: 1.687 MB / 0.5389 GB, free: 93.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.348e-05/1.416, allocations: 3.875 kB / 0.5389 GB, free: 93.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.417, allocations: 458 kB / 0.5393 GB, free: 93.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.419, allocations: 245.7 kB / 0.5395 GB, free: 93.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/1.434, allocations: 4.997 MB / 0.5444 GB, free: 90.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/1.437, allocations: 2.241 MB / 0.5466 GB, free: 89.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003539/1.44, allocations: 0.7072 MB / 0.5473 GB, free: 89.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/1.442, allocations: 1.031 MB / 0.5483 GB, free: 88.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.864e-06/1.442, allocations: 0 / 0.5483 GB, free: 88.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09513/1.538, allocations: 36.89 MB / 0.5843 GB, free: 68.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/1.538, allocations: 150.4 kB / 0.5845 GB, free: 68.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.58/5.118, allocations: 0 / 0.5845 GB, free: 68.34 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat