Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.824/2.824, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.126e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4233, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.6106, allocations: 99.98 MB / 459.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.611, allocations: 79.94 kB / 459.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2622/0.8733, allocations: 56.27 MB / 0.5041 GB, free: 4.184 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.347e-06/0.8733, allocations: 0 / 0.5041 GB, free: 4.184 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001704/0.8735, allocations: 64.12 kB / 0.5042 GB, free: 4.121 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01372/0.8873, allocations: 2.568 MB / 0.5067 GB, free: 1.496 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.345e-05/0.8874, allocations: 12.03 kB / 0.5067 GB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003057/0.8904, allocations: 477.1 kB / 0.5072 GB, free: 1.008 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006098/0.8967, allocations: 487.8 kB / 0.5076 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005875/0.9026, allocations: 1.532 MB / 0.5091 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.903, allocations: 221.6 kB / 0.5093 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/0.9051, allocations: 272 kB / 0.5096 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0312/0.9363, allocations: 6.608 MB / 0.516 GB, free: 7.531 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.9365, allocations: 15.88 kB / 0.5161 GB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006089/0.9372, allocations: 124 kB / 0.5162 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/0.9388, allocations: 0.5201 MB / 0.5167 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0225/0.9613, allocations: 5.376 MB / 0.5219 GB, free: 1.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4134/1.375, allocations: 21.29 MB / 0.5427 GB, free: 106.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/1.388, allocations: 1.779 MB / 0.5445 GB, free: 106.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/1.39, allocations: 0.6509 MB / 0.5451 GB, free: 106.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/1.4, allocations: 4.898 MB / 0.5499 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.4, allocations: 52.86 kB / 0.5499 GB, free: 104.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 3.757e-06/1.4, allocations: 1.312 kB / 0.5499 GB, free: 104.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.054/1.454, allocations: 7.463 MB / 0.5572 GB, free: 102.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.454, allocations: 93.45 kB / 0.5573 GB, free: 102.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/1.458, allocations: 1.705 MB / 0.559 GB, free: 102.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003255/1.458, allocations: 45.64 kB / 0.559 GB, free: 102.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.46, allocations: 1.665 MB / 0.5606 GB, free: 100.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006107/1.461, allocations: 409.2 kB / 0.561 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/1.461, allocations: 59.28 kB / 0.5611 GB, free: 100.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/1.461, allocations: 427.3 kB / 0.5615 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/1.464, allocations: 1.001 MB / 0.5625 GB, free: 99.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/1.467, allocations: 2.578 MB / 0.565 GB, free: 97.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/1.471, allocations: 1.562 MB / 0.5665 GB, free: 96.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.14e-05/1.471, allocations: 18.12 kB / 0.5665 GB, free: 96.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.009491/1.481, allocations: 3.433 MB / 0.5699 GB, free: 95.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/1.481, allocations: 31.88 kB / 0.5699 GB, free: 95.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.349e-05/1.481, allocations: 61.41 kB / 0.57 GB, free: 95.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/1.481, allocations: 85.47 kB / 0.5701 GB, free: 95.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005213/1.486, allocations: 0.7177 MB / 0.5708 GB, free: 95.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/1.487, allocations: 111.2 kB / 0.5709 GB, free: 95.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/1.49, allocations: 162.8 kB / 0.571 GB, free: 95.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006713/1.491, allocations: 168.6 kB / 0.5712 GB, free: 95.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],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.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 (371): * Single equations (assignments): 371 * 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.0007958/1.492, allocations: 334.5 kB / 0.5715 GB, free: 95.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/1.492, allocations: 183.8 kB / 0.5717 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/1.497, allocations: 1.694 MB / 0.5733 GB, free: 94.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.497, allocations: 11.97 kB / 0.5733 GB, free: 94.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.497, allocations: 0 / 0.5733 GB, free: 94.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.497, allocations: 7.266 kB / 0.5733 GB, free: 94.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/1.511, allocations: 5.85 MB / 0.5791 GB, free: 91.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.511, allocations: 11.03 kB / 0.5791 GB, free: 91.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.513, allocations: 254.8 kB / 0.5793 GB, free: 91.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.048e-05/1.513, allocations: 19 kB / 0.5793 GB, free: 91.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/1.513, allocations: 36.83 kB / 0.5794 GB, free: 91.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.087e-05/1.513, allocations: 22.72 kB / 0.5794 GB, free: 91.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/1.513, allocations: 21.72 kB / 0.5794 GB, free: 91.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/1.517, allocations: 2.611 MB / 0.582 GB, free: 89.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/1.517, allocations: 265.8 kB / 0.5822 GB, free: 88.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/1.518, allocations: 41.08 kB / 0.5823 GB, free: 88.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.519, allocations: 62.27 kB / 0.5823 GB, free: 88.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/1.519, allocations: 98.39 kB / 0.5824 GB, free: 88.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.961e-05/1.519, allocations: 51.94 kB / 0.5825 GB, free: 88.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002736/1.522, allocations: 1.237 MB / 0.5837 GB, free: 88.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.522, allocations: 1.5 kB / 0.5837 GB, free: 88.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00379/1.526, allocations: 0.5352 MB / 0.5842 GB, free: 88.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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.004511/1.531, allocations: 6.513 MB / 0.5905 GB, free: 82.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004973/1.536, allocations: 2.122 MB / 0.5926 GB, free: 81.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.536, allocations: 0.625 kB / 0.5926 GB, free: 81.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/1.537, allocations: 0.5819 MB / 0.5932 GB, free: 81.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.54, allocations: 231.2 kB / 0.5934 GB, free: 81.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/1.564, allocations: 4.958 MB / 0.5983 GB, free: 78.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01336/1.578, allocations: 2.22 MB / 0.6004 GB, free: 77.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009529/1.587, allocations: 0.782 MB / 0.6012 GB, free: 77.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00768/1.595, allocations: 1.045 MB / 0.6022 GB, free: 76.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.873e-06/1.595, allocations: 0 / 0.6022 GB, free: 76.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/1.733, allocations: 39.92 MB / 0.6412 GB, free: 41.73 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/1.733, allocations: 142.4 kB / 0.6413 GB, free: 41.51 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/5.554, allocations: 0 / 0.6413 GB, free: 41.51 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat