Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.087/2.087, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.968e-05, allocations: 10.05 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.5534, allocations: 92.99 MB / 409.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5537, allocations: 79.81 kB / 409.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2525/0.8062, allocations: 54.87 MB / 464.3 MB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8063, allocations: 0 / 464.3 MB, free: 11.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.8065, allocations: 52 kB / 464.3 MB, free: 11.89 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01034/0.8168, allocations: 2.572 MB / 466.9 MB, free: 9.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.8169, allocations: 12.03 kB / 466.9 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.8212, allocations: 483.8 kB / 467.4 MB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005569/0.8268, allocations: 1.544 MB / 468.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.827, allocations: 92 kB / 469 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009546/0.828, allocations: 164 kB / 469.2 MB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01022/0.8382, allocations: 3.804 MB / 473 MB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.8533, allocations: 4.948 MB / 477.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.8535, allocations: 15.86 kB / 477.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/0.854, allocations: 15.98 kB / 477.9 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001516/0.8555, allocations: 0.5203 MB / 478.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.329/1.185, allocations: 20.03 MB / 498.5 MB, free: 95.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/1.187, allocations: 0.8362 MB / 499.3 MB, free: 95.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/1.189, allocations: 0.6172 MB / 500 MB, free: 95.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/1.2, allocations: 4.57 MB / 0.4927 GB, free: 93.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/1.2, allocations: 50.66 kB / 0.4927 GB, free: 93.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=64): time 4.669e-06/1.2, allocations: 0 / 0.4927 GB, free: 93.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.02972/1.23, allocations: 5.246 MB / 0.4979 GB, free: 92.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.23, allocations: 90.11 kB / 0.498 GB, free: 92.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/1.234, allocations: 1.413 MB / 0.4993 GB, free: 92.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002699/1.234, allocations: 27.33 kB / 0.4994 GB, free: 92.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.236, allocations: 1.72 MB / 0.501 GB, free: 91.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006218/1.237, allocations: 332.2 kB / 0.5014 GB, free: 91.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/1.237, allocations: 0 / 0.5014 GB, free: 91.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003857/1.237, allocations: 468.7 kB / 0.5018 GB, free: 90.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/1.24, allocations: 0.8312 MB / 0.5026 GB, free: 90.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003728/1.244, allocations: 2.454 MB / 0.505 GB, free: 88.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005837/1.249, allocations: 1.535 MB / 0.5065 GB, free: 88.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/1.25, allocations: 20.81 kB / 0.5065 GB, free: 88.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01195/1.262, allocations: 3.128 MB / 0.5096 GB, free: 88.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.22e-05/1.262, allocations: 32.78 kB / 0.5096 GB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.755e-05/1.262, allocations: 57.5 kB / 0.5097 GB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/1.262, allocations: 91.08 kB / 0.5098 GB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004897/1.267, allocations: 0.7022 MB / 0.5104 GB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001205/1.267, allocations: 122.2 kB / 0.5106 GB, free: 88.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/1.271, allocations: 94.31 kB / 0.5107 GB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000801/1.271, allocations: 173.8 kB / 0.5108 GB, free: 88.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (366): * Single equations (assignments): 366 * 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.000738/1.272, allocations: 259.4 kB / 0.5111 GB, free: 88.26 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002722/1.275, allocations: 1.095 MB / 0.5121 GB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005837/1.276, allocations: 156 kB / 0.5123 GB, free: 88.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/1.279, allocations: 1.256 MB / 0.5135 GB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/1.279, allocations: 7.562 kB / 0.5135 GB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.279, allocations: 0 / 0.5135 GB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.279, allocations: 5.016 kB / 0.5135 GB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.29, allocations: 3.781 MB / 0.5172 GB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.29, allocations: 3 kB / 0.5172 GB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.292, allocations: 207.6 kB / 0.5174 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.406e-05/1.292, allocations: 8.562 kB / 0.5174 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/1.292, allocations: 9.438 kB / 0.5174 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/1.292, allocations: 13.77 kB / 0.5174 GB, free: 86.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/1.292, allocations: 9.984 kB / 0.5175 GB, free: 86.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/1.295, allocations: 1.582 MB / 0.519 GB, free: 85.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006548/1.296, allocations: 224.8 kB / 0.5192 GB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/1.296, allocations: 14.7 kB / 0.5192 GB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.298, allocations: 36.66 kB / 0.5193 GB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/1.298, allocations: 65.62 kB / 0.5193 GB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/1.298, allocations: 22.53 kB / 0.5193 GB, free: 85.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002055/1.3, allocations: 0.9487 MB / 0.5203 GB, free: 84.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.3, allocations: 0 / 0.5203 GB, free: 84.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004175/1.304, allocations: 458.3 kB / 0.5207 GB, free: 84.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.003629/1.308, allocations: 3.446 MB / 0.5241 GB, free: 81.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004476/1.313, allocations: 1.897 MB / 0.5259 GB, free: 81.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.313, allocations: 3.938 kB / 0.5259 GB, free: 81.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/1.314, allocations: 0.5142 MB / 0.5264 GB, free: 80.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.315, allocations: 152 kB / 0.5266 GB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.33, allocations: 4.539 MB / 0.531 GB, free: 79.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003706/1.333, allocations: 2.194 MB / 0.5332 GB, free: 77.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003856/1.337, allocations: 0.7168 MB / 0.5339 GB, free: 77.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/1.34, allocations: 1.027 MB / 0.5349 GB, free: 77.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/1.34, allocations: 0 / 0.5349 GB, free: 77.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/1.45, allocations: 34.83 MB / 0.5689 GB, free: 56.36 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/1.451, allocations: 135.6 kB / 0.569 GB, free: 56.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.731/5.181, allocations: 0 / 0.569 GB, free: 56.16 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat