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.029/2.029, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.593e-05, allocations: 4 kB / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 48.7 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4915/0.5962, allocations: 91.91 MB / 408.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5966, allocations: 81.75 kB / 408.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.22/0.8166, allocations: 53.11 MB / 461.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8166, allocations: 192 / 461.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001653/0.8168, allocations: 51.94 kB / 461.5 MB, free: 14.81 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.008608/0.8254, allocations: 2.373 MB / 463.9 MB, free: 12.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.8255, allocations: 8.031 kB / 463.9 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/0.8296, allocations: 479.8 kB / 464.3 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006975/0.8366, allocations: 1.512 MB / 465.8 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.837, allocations: 96 kB / 465.9 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.8383, allocations: 160 kB / 466.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009498/0.8478, allocations: 3.379 MB / 469.5 MB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.8607, allocations: 4.627 MB / 474.1 MB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.8609, allocations: 23.86 kB / 474.1 MB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004841/0.8614, allocations: 8 kB / 474.1 MB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.8629, allocations: 480.8 kB / 474.6 MB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3717/1.235, allocations: 18.21 MB / 492.8 MB, free: 97.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/1.237, allocations: 0.6486 MB / 493.5 MB, free: 97.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/1.238, allocations: 302.6 kB / 493.8 MB, free: 97.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/1.24, allocations: 1.742 MB / 495.5 MB, free: 96.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.866e-05/1.24, allocations: 44.8 kB / 495.5 MB, free: 96.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 5.72e-06/1.24, allocations: 0.5625 kB / 495.5 MB, free: 96.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.01718/1.257, allocations: 3.333 MB / 498.9 MB, free: 95.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/1.257, allocations: 88.95 kB / 499 MB, free: 95.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/1.261, allocations: 1.349 MB / 0.4886 GB, free: 95.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/1.261, allocations: 25.7 kB / 0.4886 GB, free: 95.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.263, allocations: 1.698 MB / 0.4903 GB, free: 94.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/1.263, allocations: 343.9 kB / 0.4906 GB, free: 94.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/1.264, allocations: 1.094 kB / 0.4906 GB, free: 94.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/1.264, allocations: 469.1 kB / 0.491 GB, free: 93.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.266, allocations: 0.6626 MB / 0.4917 GB, free: 93.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/1.269, allocations: 2.237 MB / 0.4939 GB, free: 91.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/1.272, allocations: 1.2 MB / 0.4951 GB, free: 91.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.576e-05/1.272, allocations: 15.94 kB / 0.4951 GB, free: 91.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.008384/1.28, allocations: 2.607 MB / 0.4976 GB, free: 91.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/1.28, allocations: 30.47 kB / 0.4976 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.281, allocations: 55.25 kB / 0.4977 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/1.281, allocations: 83.72 kB / 0.4978 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005256/1.286, allocations: 0.6488 MB / 0.4984 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001666/1.286, allocations: 112.4 kB / 0.4985 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/1.289, allocations: 62.86 kB / 0.4986 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007085/1.29, allocations: 163.7 kB / 0.4987 GB, free: 91.8 MB / 410.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.0006701/1.291, allocations: 260.5 kB / 0.499 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002221/1.293, allocations: 0.8736 MB / 0.4998 GB, free: 91.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/1.293, allocations: 147 kB / 0.5 GB, free: 91.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/1.296, allocations: 0.9478 MB / 0.5009 GB, free: 91.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/1.296, allocations: 9.688 kB / 0.5009 GB, free: 91.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.296, allocations: 0 / 0.5009 GB, free: 91.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.296, allocations: 5 kB / 0.5009 GB, free: 91.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.307, allocations: 4.54 MB / 0.5053 GB, free: 90 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/1.307, allocations: 15.44 kB / 0.5054 GB, free: 90 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.308, allocations: 174 kB / 0.5055 GB, free: 89.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-05/1.308, allocations: 27.91 kB / 0.5056 GB, free: 89.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/1.308, allocations: 23.42 kB / 0.5056 GB, free: 89.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.549e-05/1.308, allocations: 34.47 kB / 0.5056 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-05/1.308, allocations: 27.09 kB / 0.5056 GB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/1.31, allocations: 2.355 MB / 0.5079 GB, free: 87.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/1.311, allocations: 223.9 kB / 0.5082 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/1.311, allocations: 26.25 kB / 0.5082 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.312, allocations: 27.45 kB / 0.5082 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.313, allocations: 113 kB / 0.5083 GB, free: 87.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/1.313, allocations: 47.19 kB / 0.5084 GB, free: 87.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001894/1.315, allocations: 0.9004 MB / 0.5092 GB, free: 87.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.315, allocations: 0 / 0.5092 GB, free: 87.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004076/1.319, allocations: 423.2 kB / 0.5096 GB, free: 87.38 MB / 410.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.003793/1.323, allocations: 7.632 MB / 0.5171 GB, free: 80.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003818/1.326, allocations: 1.517 MB / 0.5186 GB, free: 79.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/1.327, allocations: 7.344 kB / 0.5186 GB, free: 79.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009277/1.327, allocations: 362.8 kB / 0.5189 GB, free: 79.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.329, allocations: 180.8 kB / 0.5191 GB, free: 79.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/1.344, allocations: 4.615 MB / 0.5236 GB, free: 77.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003215/1.347, allocations: 2.213 MB / 0.5258 GB, free: 76.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003417/1.35, allocations: 0.659 MB / 0.5264 GB, free: 76.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/1.353, allocations: 1.008 MB / 0.5274 GB, free: 75.68 MB / 410.7 MB Notification: Performance of SimCode: time 3.807e-06/1.353, allocations: 0 / 0.5274 GB, free: 75.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/1.477, allocations: 31.9 MB / 0.5585 GB, free: 62 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/1.477, allocations: 131.6 kB / 0.5587 GB, free: 61.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/4.946, allocations: 3.938 kB / 0.5587 GB, free: 61.8 MB / 410.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