Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.155e-05/4.166e-05, allocations: 7.234 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6118/0.7467, allocations: 108.7 MB / 0.5069 GB, free: 11.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.7471, allocations: 83.94 kB / 0.507 GB, free: 11.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2565/1.004, allocations: 54.46 MB / 0.5602 GB, free: 4.375 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.639e-06/1.004, allocations: 3.984 kB / 0.5602 GB, free: 4.371 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001463/1.004, allocations: 48 kB / 0.5603 GB, free: 4.324 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.009956/1.014, allocations: 2.454 MB / 0.5627 GB, free: 1.812 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.014, allocations: 8.031 kB / 0.5627 GB, free: 1.805 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001851/1.016, allocations: 443 kB / 0.5631 GB, free: 1.359 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/1.02, allocations: 440.1 kB / 0.5635 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005318/1.025, allocations: 1.493 MB / 0.565 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/1.025, allocations: 197.2 kB / 0.5651 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009112/1.026, allocations: 256 kB / 0.5654 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02284/1.049, allocations: 6.239 MB / 0.5715 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.713e-05/1.049, allocations: 19.88 kB / 0.5715 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004701/1.05, allocations: 112 kB / 0.5716 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001017/1.051, allocations: 460 kB / 0.572 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02178/1.072, allocations: 5.215 MB / 0.5771 GB, free: 2.586 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/1.115, allocations: 20.13 MB / 0.5968 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/1.129, allocations: 1.788 MB / 0.5985 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/1.13, allocations: 0.6553 MB / 0.5992 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/1.141, allocations: 4.732 MB / 0.6038 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/1.141, allocations: 43.12 kB / 0.6038 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 4.899e-06/1.141, allocations: 0 / 0.6038 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110): time 0.4395/1.581, allocations: 7.05 MB / 0.6107 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/1.581, allocations: 63.02 kB / 0.6108 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004424/1.585, allocations: 1.612 MB / 0.6124 GB, free: 143 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000279/1.586, allocations: 43.94 kB / 0.6124 GB, free: 143 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.587, allocations: 1.532 MB / 0.6139 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007129/1.588, allocations: 410.6 kB / 0.6143 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/1.588, allocations: 63.42 kB / 0.6144 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.589, allocations: 417.2 kB / 0.6148 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/1.591, allocations: 0.9809 MB / 0.6157 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/1.595, allocations: 2.467 MB / 0.6181 GB, free: 140 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/1.599, allocations: 1.511 MB / 0.6196 GB, free: 140 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-05/1.599, allocations: 15.38 kB / 0.6196 GB, free: 140 MB / 0.5105 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01031/1.61, allocations: 3.324 MB / 0.6229 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.525e-05/1.61, allocations: 27.5 kB / 0.6229 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.572e-05/1.61, allocations: 55.84 kB / 0.6229 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/1.61, allocations: 80.33 kB / 0.623 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005233/1.615, allocations: 0.6837 MB / 0.6237 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001818/1.615, allocations: 108.9 kB / 0.6238 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/1.619, allocations: 151.7 kB / 0.6239 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007095/1.62, allocations: 154.9 kB / 0.6241 GB, free: 139.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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.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 (353): * Single equations (assignments): 353 * 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.0008738/1.621, allocations: 331.9 kB / 0.6244 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007197/1.621, allocations: 168.7 kB / 0.6246 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006464/1.628, allocations: 1.714 MB / 0.6262 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/1.628, allocations: 14.38 kB / 0.6262 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.628, allocations: 3.625 kB / 0.6262 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.628, allocations: 5.297 kB / 0.6263 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.649, allocations: 5.588 MB / 0.6317 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/1.649, allocations: 12.59 kB / 0.6317 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/1.651, allocations: 251.9 kB / 0.632 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.073e-05/1.652, allocations: 22.36 kB / 0.632 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.652, allocations: 30.67 kB / 0.632 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-05/1.652, allocations: 29.92 kB / 0.632 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.603e-05/1.652, allocations: 17.12 kB / 0.6321 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005152/1.657, allocations: 2.536 MB / 0.6345 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.658, allocations: 256.2 kB / 0.6348 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008524/1.659, allocations: 34.34 kB / 0.6348 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.662, allocations: 67.22 kB / 0.6349 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/1.662, allocations: 100.4 kB / 0.635 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.662, allocations: 46.25 kB / 0.635 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004346/1.667, allocations: 1.167 MB / 0.6362 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.062e-06/1.667, allocations: 0 / 0.6362 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005475/1.672, allocations: 0.5136 MB / 0.6367 GB, free: 135.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.006685/1.679, allocations: 6.348 MB / 0.6429 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006862/1.686, allocations: 2.085 MB / 0.6449 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.183e-05/1.686, allocations: 3.812 kB / 0.6449 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/1.688, allocations: 0.5894 MB / 0.6455 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.691, allocations: 235.2 kB / 0.6457 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.706, allocations: 4.664 MB / 0.6503 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/1.709, allocations: 2.12 MB / 0.6523 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003702/1.713, allocations: 0.7524 MB / 0.6531 GB, free: 125 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/1.715, allocations: 0.9577 MB / 0.654 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/1.715, allocations: 3.906 kB / 0.654 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09535/1.81, allocations: 38.28 MB / 0.6914 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/1.811, allocations: 142.9 kB / 0.6915 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.629/5.44, allocations: 0 / 0.6915 GB, free: 110.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat