Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.507/2.507, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.15e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5829/0.7469, allocations: 107.9 MB / 0.5061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.7472, allocations: 75.95 kB / 0.5062 GB, free: 12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2381/0.9853, allocations: 52.56 MB / 0.5575 GB, free: 7.172 MB / 474.7 MB Notification: Performance of FrontEnd: time 6.863e-06/0.9854, allocations: 4 kB / 0.5575 GB, free: 7.168 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002168/0.9856, allocations: 51.98 kB / 0.5575 GB, free: 7.117 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.0108/0.9965, allocations: 2.228 MB / 0.5597 GB, free: 4.832 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.544e-05/0.9966, allocations: 12.03 kB / 0.5597 GB, free: 4.82 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002324/0.9989, allocations: 438.7 kB / 0.5601 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/1.004, allocations: 440.1 kB / 0.5606 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00702/1.011, allocations: 1.469 MB / 0.562 GB, free: 2.426 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/1.012, allocations: 193.3 kB / 0.5622 GB, free: 2.234 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/1.013, allocations: 264 kB / 0.5624 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/1.036, allocations: 5.536 MB / 0.5678 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/1.036, allocations: 15.78 kB / 0.5679 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006754/1.037, allocations: 124 kB / 0.568 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009306/1.038, allocations: 399.6 kB / 0.5684 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/1.056, allocations: 4.262 MB / 0.5725 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03629/1.093, allocations: 18.48 MB / 0.5906 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007184/1.1, allocations: 1.205 MB / 0.5917 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/1.101, allocations: 374.4 kB / 0.5921 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00296/1.104, allocations: 2.07 MB / 0.5941 GB, free: 368 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/1.104, allocations: 43.08 kB / 0.5942 GB, free: 316 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 4.178e-06/1.104, allocations: 0 / 0.5942 GB, free: 316 kB / 0.4948 GB Notification: Performance of matching and sorting (n=109): time 0.04873/1.153, allocations: 4.952 MB / 0.599 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/1.153, allocations: 64.41 kB / 0.5991 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/1.158, allocations: 1.51 MB / 0.6005 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002839/1.159, allocations: 45.7 kB / 0.6006 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002345/1.161, allocations: 1.501 MB / 0.602 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008654/1.162, allocations: 410.5 kB / 0.6024 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/1.162, allocations: 52 kB / 0.6025 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004265/1.163, allocations: 419.4 kB / 0.6029 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/1.166, allocations: 0.7393 MB / 0.6036 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005271/1.171, allocations: 2.16 MB / 0.6057 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005255/1.177, allocations: 1.265 MB / 0.6069 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.212e-05/1.177, allocations: 20 kB / 0.607 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.4553/1.632, allocations: 2.778 MB / 0.6097 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/1.632, allocations: 29.2 kB / 0.6097 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/1.632, allocations: 53.48 kB / 0.6098 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/1.633, allocations: 76.69 kB / 0.6098 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/1.637, allocations: 0.6027 MB / 0.6104 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00018/1.637, allocations: 105.4 kB / 0.6105 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/1.64, allocations: 117 kB / 0.6106 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000684/1.641, allocations: 150.3 kB / 0.6108 GB, free: 141.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.prismatic.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],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.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 (341): * Single equations (assignments): 341 * 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.0006389/1.641, allocations: 327.4 kB / 0.6111 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/1.642, allocations: 161 kB / 0.6112 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/1.645, allocations: 1.217 MB / 0.6124 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/1.645, allocations: 9.75 kB / 0.6124 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.645, allocations: 1.094 kB / 0.6124 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/1.646, allocations: 5.297 kB / 0.6124 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/1.662, allocations: 6.135 MB / 0.6184 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/1.662, allocations: 25.06 kB / 0.6185 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.663, allocations: 204 kB / 0.6187 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-05/1.663, allocations: 29.12 kB / 0.6187 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/1.664, allocations: 45.38 kB / 0.6187 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.913e-05/1.664, allocations: 37.58 kB / 0.6188 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.331e-05/1.664, allocations: 32.72 kB / 0.6188 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/1.668, allocations: 3.112 MB / 0.6218 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008218/1.669, allocations: 267.6 kB / 0.6221 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003299/1.669, allocations: 50.17 kB / 0.6221 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.67, allocations: 40.25 kB / 0.6222 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/1.67, allocations: 137.4 kB / 0.6223 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/1.671, allocations: 53 kB / 0.6224 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002906/1.673, allocations: 1.11 MB / 0.6234 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.21e-07/1.674, allocations: 0 / 0.6234 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003955/1.677, allocations: 479.5 kB / 0.6239 GB, free: 136.8 MB / 0.5105 GB 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.005346/1.683, allocations: 9.425 MB / 0.6331 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004943/1.688, allocations: 1.631 MB / 0.6347 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.802e-05/1.688, allocations: 3.125 kB / 0.6347 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/1.69, allocations: 457.2 kB / 0.6351 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/1.694, allocations: 253 kB / 0.6354 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.711, allocations: 4.734 MB / 0.64 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003917/1.715, allocations: 2.14 MB / 0.6421 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003625/1.719, allocations: 0.6735 MB / 0.6427 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/1.721, allocations: 0.9599 MB / 0.6437 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/1.721, allocations: 0 / 0.6437 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09052/1.812, allocations: 35.26 MB / 0.6781 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.812, allocations: 142 kB / 0.6782 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.6/5.412, allocations: 4 kB / 0.6783 GB, free: 120.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat