Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.962e-05, allocations: 4 kB / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.5675, allocations: 97.55 MB / 413.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5679, allocations: 74.52 kB / 413.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8043/1.372, allocations: 108.2 MB / 0.5099 GB, free: 86.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.372, allocations: 0 / 0.5099 GB, free: 86.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004044/1.373, allocations: 111 kB / 0.51 GB, free: 86.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.02509/1.398, allocations: 5.873 MB / 0.5158 GB, free: 84.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.398, allocations: 11.56 kB / 0.5158 GB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0623/1.46, allocations: 6.888 MB / 0.5225 GB, free: 84.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02812/1.488, allocations: 7.056 MB / 0.5294 GB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/1.489, allocations: 173.4 kB / 0.5296 GB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003045/1.492, allocations: 325.6 kB / 0.5299 GB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02007/1.512, allocations: 8.102 MB / 0.5378 GB, free: 81.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03065/1.543, allocations: 12.03 MB / 0.5495 GB, free: 75.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00041/1.543, allocations: 74 kB / 0.5496 GB, free: 75.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002671/1.546, allocations: 39.98 kB / 0.5497 GB, free: 75.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002987/1.549, allocations: 1.364 MB / 0.551 GB, free: 74.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08916/1.638, allocations: 60.58 MB / 0.6101 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007906/1.646, allocations: 4.366 MB / 0.6144 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005772/1.652, allocations: 3.051 MB / 0.6174 GB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03542/1.687, allocations: 12.37 MB / 0.6295 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.857e-05/1.687, allocations: 64.48 kB / 0.6295 GB, free: 10.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 9.648e-06/1.688, allocations: 4 kB / 0.6295 GB, free: 10.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.4884/2.176, allocations: 24.8 MB / 0.6538 GB, free: 91.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/2.176, allocations: 264.2 kB / 0.654 GB, free: 91.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/2.187, allocations: 3.857 MB / 0.6578 GB, free: 91.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007255/2.188, allocations: 29.92 kB / 0.6578 GB, free: 91.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004415/2.192, allocations: 4.018 MB / 0.6617 GB, free: 89.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001715/2.194, allocations: 0.9647 MB / 0.6627 GB, free: 88.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009229/2.195, allocations: 0 / 0.6627 GB, free: 88.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006028/2.196, allocations: 0.6293 MB / 0.6633 GB, free: 88.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006163/2.202, allocations: 2.432 MB / 0.6657 GB, free: 88.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009551/2.212, allocations: 6.876 MB / 0.6724 GB, free: 82.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009306/2.221, allocations: 4.043 MB / 0.6763 GB, free: 81.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/2.221, allocations: 46.31 kB / 0.6764 GB, free: 81.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02473/2.246, allocations: 8.776 MB / 0.6849 GB, free: 79.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/2.246, allocations: 71.25 kB / 0.685 GB, free: 79.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002487/2.246, allocations: 160.2 kB / 0.6852 GB, free: 79.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/2.249, allocations: 0.588 MB / 0.6857 GB, free: 79.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/2.26, allocations: 1.797 MB / 0.6875 GB, free: 78.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008211/2.268, allocations: 5.418 MB / 0.6928 GB, free: 75.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008633/2.277, allocations: 262.5 kB / 0.693 GB, free: 75.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/2.279, allocations: 456.3 kB / 0.6935 GB, free: 75.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 938 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001811/2.281, allocations: 0.5077 MB / 0.694 GB, free: 74.74 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01059/2.291, allocations: 3.926 MB / 0.6978 GB, free: 73.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/2.293, allocations: 446 kB / 0.6982 GB, free: 73.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009781/2.303, allocations: 3.776 MB / 0.7019 GB, free: 71.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.664e-05/2.303, allocations: 30.7 kB / 0.7019 GB, free: 71.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/2.303, allocations: 3.469 kB / 0.7019 GB, free: 71.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/2.303, allocations: 21.44 kB / 0.702 GB, free: 71.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/2.33, allocations: 9.008 MB / 0.7107 GB, free: 68.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/2.33, allocations: 2.75 kB / 0.7108 GB, free: 68.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004407/2.335, allocations: 475.4 kB / 0.7112 GB, free: 68.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/2.336, allocations: 339.3 kB / 0.7115 GB, free: 68.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/2.336, allocations: 14.45 kB / 0.7115 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006687/2.343, allocations: 4.751 MB / 0.7162 GB, free: 64.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/2.343, allocations: 0 / 0.7162 GB, free: 64.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/2.357, allocations: 6.895 MB / 0.7229 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002859/2.36, allocations: 0.7811 MB / 0.7237 GB, free: 61.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/2.361, allocations: 3.938 kB / 0.7237 GB, free: 61.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003361/2.364, allocations: 126 kB / 0.7238 GB, free: 61.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005229/2.365, allocations: 139.9 kB / 0.7239 GB, free: 61.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002566/2.365, allocations: 70.38 kB / 0.724 GB, free: 61.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005125/2.37, allocations: 2.583 MB / 0.7265 GB, free: 59.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.37, allocations: 0 / 0.7265 GB, free: 59.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009299/2.38, allocations: 1.105 MB / 0.7276 GB, free: 57.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01561/2.395, allocations: 7.688 MB / 0.7351 GB, free: 50.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01407/2.41, allocations: 6.062 MB / 0.741 GB, free: 45.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.41, allocations: 3.938 kB / 0.741 GB, free: 45.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005481/2.415, allocations: 2.125 MB / 0.7431 GB, free: 43.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/2.42, allocations: 475.6 kB / 0.7436 GB, free: 43.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04982/2.47, allocations: 11.58 MB / 0.7549 GB, free: 33.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/2.483, allocations: 4.215 MB / 0.759 GB, free: 29.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01368/2.497, allocations: 2.422 MB / 0.7614 GB, free: 28.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006622/2.503, allocations: 2.612 MB / 0.7639 GB, free: 25.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/2.503, allocations: 3.938 kB / 0.7639 GB, free: 25.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5635/3.067, allocations: 92.45 MB / 0.8542 GB, free: 91.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/3.067, allocations: 138.5 kB / 0.8543 GB, free: 91.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.327/9.394, allocations: 0 / 0.8543 GB, free: 91.02 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat