Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.741/2.741, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.03e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3936, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.6245, allocations: 99.39 MB / 453.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.6249, allocations: 75.95 kB / 453.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6564/1.281, allocations: 72.7 MB / 0.5143 GB, free: 50.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.281, allocations: 0 / 0.5143 GB, free: 50.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001966/1.282, allocations: 75.92 kB / 0.5143 GB, free: 50.82 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01419/1.296, allocations: 3.574 MB / 0.5178 GB, free: 47.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.296, allocations: 8.031 kB / 0.5178 GB, free: 47.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006352/1.302, allocations: 0.6699 MB / 0.5185 GB, free: 46.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008369/1.311, allocations: 2.193 MB / 0.5206 GB, free: 44.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/1.311, allocations: 124 kB / 0.5208 GB, free: 44.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/1.313, allocations: 224 kB / 0.521 GB, free: 43.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0135/1.326, allocations: 5.227 MB / 0.5261 GB, free: 38.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01932/1.345, allocations: 6.888 MB / 0.5328 GB, free: 31.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/1.346, allocations: 15.88 kB / 0.5328 GB, free: 31.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007095/1.346, allocations: 8 kB / 0.5328 GB, free: 31.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002717/1.349, allocations: 0.7919 MB / 0.5336 GB, free: 30.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05664/1.406, allocations: 25.96 MB / 0.5589 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/1.409, allocations: 1.107 MB / 0.56 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/1.41, allocations: 0.7436 MB / 0.5607 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/1.424, allocations: 5.929 MB / 0.5665 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/1.424, allocations: 47.06 kB / 0.5666 GB, free: 11.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 4.318e-06/1.424, allocations: 0 / 0.5666 GB, free: 11.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=76): time 0.01941/1.444, allocations: 4.639 MB / 0.5711 GB, free: 6.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.444, allocations: 145 kB / 0.5713 GB, free: 6.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004568/1.448, allocations: 1.913 MB / 0.5731 GB, free: 4.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/1.449, allocations: 25.7 kB / 0.5731 GB, free: 4.789 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002796/1.451, allocations: 2.483 MB / 0.5756 GB, free: 2.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005279/1.452, allocations: 316.3 kB / 0.5759 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/1.452, allocations: 0 / 0.5759 GB, free: 1.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004074/1.453, allocations: 466.1 kB / 0.5763 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/1.455, allocations: 0.8236 MB / 0.5771 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004846/1.46, allocations: 3.198 MB / 0.5802 GB, free: 12.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/1.464, allocations: 1.6 MB / 0.5818 GB, free: 10.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.471e-05/1.465, allocations: 24 kB / 0.5818 GB, free: 10.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01198/1.477, allocations: 3.493 MB / 0.5852 GB, free: 7.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.477, allocations: 44 kB / 0.5853 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.477, allocations: 84 kB / 0.5854 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/1.477, allocations: 124 kB / 0.5855 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006653/1.484, allocations: 0.9092 MB / 0.5864 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001953/1.484, allocations: 163.4 kB / 0.5865 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003945/1.488, allocations: 99.83 kB / 0.5866 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005429/1.489, allocations: 235.9 kB / 0.5868 GB, free: 5.504 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (488): * Single equations (assignments): 488 * 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.0007459/1.489, allocations: 333.9 kB / 0.5872 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002307/1.492, allocations: 0.8283 MB / 0.588 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/1.492, allocations: 197.5 kB / 0.5882 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/1.495, allocations: 0.8997 MB / 0.589 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.495, allocations: 8 kB / 0.589 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.495, allocations: 3.953 kB / 0.5891 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/1.495, allocations: 7.984 kB / 0.5891 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.506, allocations: 4.279 MB / 0.5932 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/1.506, allocations: 16 kB / 0.5933 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.508, allocations: 199.7 kB / 0.5934 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.781e-05/1.508, allocations: 27.98 kB / 0.5935 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.673e-05/1.508, allocations: 24.62 kB / 0.5935 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-05/1.508, allocations: 35.86 kB / 0.5935 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-05/1.508, allocations: 31.88 kB / 0.5936 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/1.512, allocations: 2.856 MB / 0.5963 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/1.513, allocations: 286.3 kB / 0.5966 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/1.513, allocations: 27.92 kB / 0.5966 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.515, allocations: 16 kB / 0.5967 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/1.515, allocations: 123.6 kB / 0.5968 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.515, allocations: 48 kB / 0.5968 GB, free: 10.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003182/1.518, allocations: 1.261 MB / 0.5981 GB, free: 8.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.518, allocations: 0 / 0.5981 GB, free: 8.844 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005362/1.524, allocations: 0.5507 MB / 0.5986 GB, free: 8.293 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.006447/1.53, allocations: 8.031 MB / 0.6064 GB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005683/1.536, allocations: 1.981 MB / 0.6084 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.991e-05/1.536, allocations: 4 kB / 0.6084 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.537, allocations: 451.4 kB / 0.6088 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.539, allocations: 212.6 kB / 0.609 GB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.562, allocations: 6.212 MB / 0.6151 GB, free: 6.633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006218/1.569, allocations: 2.793 MB / 0.6178 GB, free: 3.812 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005865/1.574, allocations: 0.9685 MB / 0.6187 GB, free: 2.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003786/1.578, allocations: 1.44 MB / 0.6202 GB, free: 1.398 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/1.578, allocations: 0 / 0.6202 GB, free: 1.398 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5266/2.105, allocations: 42.38 MB / 0.6615 GB, free: 111.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002616/2.105, allocations: 132.2 kB / 0.6617 GB, free: 111.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.503/6.608, allocations: 0 / 0.6617 GB, free: 111.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat