Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.337/2.337, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.729e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4051, allocations: 54.86 MB / 359.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.5883, allocations: 100.1 MB / 459.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5886, allocations: 79.95 kB / 460 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3355/0.9242, allocations: 74.49 MB / 0.522 GB, free: 1.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.9242, allocations: 0 / 0.522 GB, free: 1.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002172/0.9245, allocations: 68 kB / 0.522 GB, free: 1.664 MB / 458.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.3471/1.272, allocations: 3.582 MB / 0.5255 GB, free: 108.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/1.272, allocations: 9.469 kB / 0.5255 GB, free: 108.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003236/1.275, allocations: 0.6588 MB / 0.5262 GB, free: 108.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006425/1.281, allocations: 0.6632 MB / 0.5268 GB, free: 108.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009185/1.291, allocations: 2.182 MB / 0.529 GB, free: 108.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000503/1.291, allocations: 299.5 kB / 0.5292 GB, free: 108.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00213/1.293, allocations: 385 kB / 0.5296 GB, free: 108.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03259/1.326, allocations: 8.461 MB / 0.5379 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/1.326, allocations: 18.12 kB / 0.5379 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0013/1.328, allocations: 175.5 kB / 0.5381 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002833/1.33, allocations: 0.7855 MB / 0.5388 GB, free: 107.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/1.356, allocations: 6.639 MB / 0.5453 GB, free: 107.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0536/1.409, allocations: 27.72 MB / 0.5724 GB, free: 90.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.42, allocations: 1.913 MB / 0.5742 GB, free: 89.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/1.421, allocations: 0.8094 MB / 0.575 GB, free: 89.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/1.434, allocations: 6.36 MB / 0.5812 GB, free: 85.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.434, allocations: 49.25 kB / 0.5813 GB, free: 84.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 4.098e-06/1.434, allocations: 0 / 0.5813 GB, free: 84.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.02572/1.459, allocations: 5.818 MB / 0.587 GB, free: 82.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/1.46, allocations: 140.7 kB / 0.5871 GB, free: 82.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/1.464, allocations: 2.173 MB / 0.5892 GB, free: 81.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/1.464, allocations: 43.33 kB / 0.5893 GB, free: 81.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.466, allocations: 2.396 MB / 0.5916 GB, free: 79.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/1.466, allocations: 384.4 kB / 0.592 GB, free: 79.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/1.467, allocations: 76.69 kB / 0.5921 GB, free: 79.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002697/1.467, allocations: 462.5 kB / 0.5925 GB, free: 78.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/1.469, allocations: 0.9041 MB / 0.5934 GB, free: 78.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003611/1.473, allocations: 3.204 MB / 0.5965 GB, free: 74.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/1.476, allocations: 1.667 MB / 0.5981 GB, free: 74.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.642e-05/1.477, allocations: 25.81 kB / 0.5982 GB, free: 74.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01019/1.487, allocations: 3.995 MB / 0.6021 GB, free: 72.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/1.487, allocations: 41.06 kB / 0.6021 GB, free: 72.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/1.487, allocations: 84.83 kB / 0.6022 GB, free: 72.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/1.487, allocations: 121.6 kB / 0.6023 GB, free: 72.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005266/1.492, allocations: 0.9024 MB / 0.6032 GB, free: 72.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001602/1.493, allocations: 159.3 kB / 0.6033 GB, free: 72.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.496, allocations: 167.7 kB / 0.6035 GB, free: 72.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006587/1.497, allocations: 221.5 kB / 0.6037 GB, free: 72.61 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (480): * Single equations (assignments): 480 * 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.0006687/1.498, allocations: 419.8 kB / 0.6041 GB, free: 72.26 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/1.498, allocations: 216.6 kB / 0.6043 GB, free: 72.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/1.501, allocations: 1.106 MB / 0.6054 GB, free: 71.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.501, allocations: 15.95 kB / 0.6054 GB, free: 71.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.501, allocations: 0.8125 kB / 0.6054 GB, free: 71.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.501, allocations: 7.516 kB / 0.6054 GB, free: 71.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.515, allocations: 6.134 MB / 0.6114 GB, free: 65.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/1.515, allocations: 21.5 kB / 0.6114 GB, free: 65.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.516, allocations: 245.2 kB / 0.6117 GB, free: 65.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-05/1.516, allocations: 28 kB / 0.6117 GB, free: 65.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-05/1.517, allocations: 49.44 kB / 0.6117 GB, free: 65.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.848e-05/1.517, allocations: 39.81 kB / 0.6118 GB, free: 65.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-05/1.517, allocations: 31.88 kB / 0.6118 GB, free: 65.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/1.52, allocations: 3.752 MB / 0.6155 GB, free: 60.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007025/1.521, allocations: 325 kB / 0.6158 GB, free: 60.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/1.521, allocations: 55.03 kB / 0.6158 GB, free: 60.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.522, allocations: 48.44 kB / 0.6159 GB, free: 60.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/1.523, allocations: 139.8 kB / 0.616 GB, free: 60.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.523, allocations: 60 kB / 0.6161 GB, free: 60.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003376/1.526, allocations: 1.579 MB / 0.6176 GB, free: 58.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.526, allocations: 0 / 0.6176 GB, free: 58.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004389/1.531, allocations: 0.6512 MB / 0.6182 GB, free: 58.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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.004707/1.535, allocations: 9.606 MB / 0.6276 GB, free: 48.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004931/1.54, allocations: 2.26 MB / 0.6298 GB, free: 46.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.131e-05/1.54, allocations: 5.875 kB / 0.6298 GB, free: 46.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/1.542, allocations: 0.563 MB / 0.6304 GB, free: 45.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/1.544, allocations: 305.5 kB / 0.6307 GB, free: 45.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.563, allocations: 6.644 MB / 0.6372 GB, free: 39.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005157/1.568, allocations: 2.806 MB / 0.6399 GB, free: 37.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004914/1.573, allocations: 1.004 MB / 0.6409 GB, free: 36.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002937/1.576, allocations: 1.466 MB / 0.6423 GB, free: 35.06 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/1.576, allocations: 0 / 0.6423 GB, free: 35.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/1.698, allocations: 48.37 MB / 0.6896 GB, free: 4.988 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/1.699, allocations: 147.8 kB / 0.6897 GB, free: 4.762 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.326/6.025, allocations: 4 kB / 0.6897 GB, free: 4.758 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat