Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.762/2.762, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.2e-05, allocations: 7.281 kB / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4757, allocations: 54.86 MB / 354.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.6807, allocations: 98.23 MB / 452.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004141/0.6812, allocations: 83.95 kB / 452.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6425/1.324, allocations: 53.09 MB / 0.494 GB, free: 105 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.324, allocations: 0 / 0.494 GB, free: 105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002427/1.324, allocations: 54.31 kB / 0.494 GB, free: 105 MB / 426.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.01304/1.337, allocations: 2.361 MB / 0.4964 GB, free: 103.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.083e-05/1.337, allocations: 9.375 kB / 0.4964 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006948/1.344, allocations: 484.6 kB / 0.4968 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008071/1.352, allocations: 1.508 MB / 0.4983 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/1.353, allocations: 93.22 kB / 0.4984 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/1.355, allocations: 165.5 kB / 0.4985 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01303/1.368, allocations: 3.383 MB / 0.5018 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/1.386, allocations: 4.63 MB / 0.5064 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/1.386, allocations: 19.67 kB / 0.5064 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007271/1.387, allocations: 10.09 kB / 0.5064 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001969/1.389, allocations: 481.8 kB / 0.5069 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0487/1.438, allocations: 18.21 MB / 0.5246 GB, free: 90.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/1.44, allocations: 0.6586 MB / 0.5253 GB, free: 90.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009869/1.441, allocations: 313.4 kB / 0.5256 GB, free: 90.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002925/1.444, allocations: 1.747 MB / 0.5273 GB, free: 88.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/1.444, allocations: 39.06 kB / 0.5273 GB, free: 88.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 9.108e-06/1.444, allocations: 4 kB / 0.5273 GB, free: 88.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.02493/1.469, allocations: 3.338 MB / 0.5306 GB, free: 87.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/1.47, allocations: 88.86 kB / 0.5307 GB, free: 87.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/1.473, allocations: 1.35 MB / 0.532 GB, free: 86.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/1.474, allocations: 25.7 kB / 0.532 GB, free: 86.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001748/1.475, allocations: 1.692 MB / 0.5337 GB, free: 85.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005855/1.476, allocations: 342.4 kB / 0.534 GB, free: 85.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/1.476, allocations: 0 / 0.534 GB, free: 85.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003945/1.477, allocations: 470.8 kB / 0.5344 GB, free: 84.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/1.479, allocations: 0.6679 MB / 0.5351 GB, free: 84.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/1.481, allocations: 2.231 MB / 0.5373 GB, free: 82.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/1.485, allocations: 1.203 MB / 0.5384 GB, free: 81.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.576e-05/1.485, allocations: 15 kB / 0.5385 GB, free: 81.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.006823/1.492, allocations: 2.608 MB / 0.541 GB, free: 80.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/1.492, allocations: 30 kB / 0.541 GB, free: 80.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-05/1.492, allocations: 57.16 kB / 0.5411 GB, free: 80.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/1.492, allocations: 86.53 kB / 0.5412 GB, free: 80.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/1.497, allocations: 0.6398 MB / 0.5418 GB, free: 80.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.394e-05/1.497, allocations: 113.5 kB / 0.5419 GB, free: 80.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.499, allocations: 71.2 kB / 0.542 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/1.5, allocations: 160 kB / 0.5421 GB, free: 79.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * 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 (356): * Single equations (assignments): 356 * 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.0005006/1.5, allocations: 261.9 kB / 0.5424 GB, free: 79.57 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002096/1.502, allocations: 0.8643 MB / 0.5432 GB, free: 78.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/1.503, allocations: 146.1 kB / 0.5434 GB, free: 78.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/1.505, allocations: 0.952 MB / 0.5443 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.505, allocations: 15.28 kB / 0.5443 GB, free: 77.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.505, allocations: 3.812 kB / 0.5443 GB, free: 77.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.505, allocations: 9.906 kB / 0.5443 GB, free: 77.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.516, allocations: 4.525 MB / 0.5487 GB, free: 73.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/1.516, allocations: 16 kB / 0.5488 GB, free: 73.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.517, allocations: 178.4 kB / 0.5489 GB, free: 73.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.481e-05/1.517, allocations: 24 kB / 0.5489 GB, free: 73.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/1.517, allocations: 20 kB / 0.549 GB, free: 73.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.778e-05/1.517, allocations: 38.97 kB / 0.549 GB, free: 73.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-05/1.517, allocations: 23.88 kB / 0.549 GB, free: 73.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.52, allocations: 2.352 MB / 0.5513 GB, free: 70.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/1.52, allocations: 237.1 kB / 0.5515 GB, free: 70.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/1.521, allocations: 23.84 kB / 0.5516 GB, free: 70.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.522, allocations: 19.94 kB / 0.5516 GB, free: 70.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.522, allocations: 116 kB / 0.5517 GB, free: 70 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/1.522, allocations: 44 kB / 0.5517 GB, free: 69.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001906/1.524, allocations: 0.9053 MB / 0.5526 GB, free: 69.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.524, allocations: 0 / 0.5526 GB, free: 69.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004009/1.528, allocations: 419.9 kB / 0.553 GB, free: 68.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.003725/1.532, allocations: 7.625 MB / 0.5605 GB, free: 60.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003678/1.535, allocations: 1.528 MB / 0.562 GB, free: 59.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/1.536, allocations: 0 / 0.562 GB, free: 59.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008695/1.536, allocations: 363.9 kB / 0.5623 GB, free: 58.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.538, allocations: 175.3 kB / 0.5625 GB, free: 58.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.553, allocations: 4.623 MB / 0.567 GB, free: 54.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004752/1.558, allocations: 2.204 MB / 0.5691 GB, free: 52.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005006/1.563, allocations: 0.6603 MB / 0.5698 GB, free: 52.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00309/1.566, allocations: 1.011 MB / 0.5708 GB, free: 51.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/1.566, allocations: 0 / 0.5708 GB, free: 51.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/1.726, allocations: 31.91 MB / 0.6019 GB, free: 19.99 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002443/1.726, allocations: 128.1 kB / 0.6021 GB, free: 19.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.859/5.586, allocations: 3.938 kB / 0.6021 GB, free: 19.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat