Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.515/2.515, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.839e-05, allocations: 4 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4853, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.6919, allocations: 111.6 MB / 493.9 MB, free: 12.73 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.6923, allocations: 79.95 kB / 494 MB, free: 12.65 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.826/1.518, allocations: 111.4 MB / 0.5912 GB, free: 84.64 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.815e-06/1.518, allocations: 0 / 0.5912 GB, free: 84.64 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004335/1.519, allocations: 116 kB / 0.5913 GB, free: 84.53 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02572/1.545, allocations: 5.874 MB / 0.5971 GB, free: 78.59 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.545, allocations: 8.031 kB / 0.5971 GB, free: 78.58 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004218/1.549, allocations: 0.9764 MB / 0.598 GB, free: 77.59 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05031/1.599, allocations: 6.903 MB / 0.6048 GB, free: 70.67 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02678/1.626, allocations: 7.086 MB / 0.6117 GB, free: 63.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005404/1.627, allocations: 414.8 kB / 0.6121 GB, free: 63.09 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003335/1.63, allocations: 0.5387 MB / 0.6126 GB, free: 62.55 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04403/1.674, allocations: 13.96 MB / 0.6262 GB, free: 47.45 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/1.675, allocations: 83.23 kB / 0.6263 GB, free: 47.36 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002462/1.677, allocations: 267.8 kB / 0.6266 GB, free: 47.1 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002927/1.68, allocations: 1.356 MB / 0.6279 GB, free: 45.74 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03737/1.717, allocations: 11.35 MB / 0.639 GB, free: 34.38 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1075/1.825, allocations: 60.71 MB / 0.6983 GB, free: 3.793 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03155/1.857, allocations: 5.76 MB / 0.7039 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008206/1.865, allocations: 3.243 MB / 0.7071 GB, free: 10.63 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4251/2.29, allocations: 14.72 MB / 0.7215 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/2.29, allocations: 60.78 kB / 0.7215 GB, free: 126.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=227): time 8.847e-06/2.29, allocations: 1.031 kB / 0.7215 GB, free: 126.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=264): time 0.1222/2.412, allocations: 21.86 MB / 0.7429 GB, free: 123.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/2.412, allocations: 269.9 kB / 0.7431 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/2.424, allocations: 4.418 MB / 0.7474 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006788/2.425, allocations: 67.34 kB / 0.7475 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0038/2.429, allocations: 3.978 MB / 0.7514 GB, free: 120.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/2.43, allocations: 0.9884 MB / 0.7523 GB, free: 120.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/2.431, allocations: 148.1 kB / 0.7525 GB, free: 120.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007355/2.432, allocations: 0.6169 MB / 0.7531 GB, free: 119.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006657/2.439, allocations: 2.52 MB / 0.7555 GB, free: 119.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009685/2.449, allocations: 6.82 MB / 0.7622 GB, free: 113.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009443/2.458, allocations: 4.119 MB / 0.7662 GB, free: 111.9 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001742/2.458, allocations: 43.16 kB / 0.7663 GB, free: 111.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02586/2.484, allocations: 9.189 MB / 0.7752 GB, free: 109 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/2.484, allocations: 67.34 kB / 0.7753 GB, free: 109 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002369/2.485, allocations: 153 kB / 0.7755 GB, free: 109 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/2.487, allocations: 0.6003 MB / 0.776 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/2.499, allocations: 1.737 MB / 0.7777 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008877/2.508, allocations: 5.626 MB / 0.7832 GB, free: 104.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009265/2.517, allocations: 398.4 kB / 0.7836 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001874/2.519, allocations: 439.9 kB / 0.784 GB, free: 103.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 57 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (916): * Single equations (assignments): 911 * 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.003022/2.522, allocations: 0.677 MB / 0.7847 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/2.524, allocations: 469.9 kB / 0.7851 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/2.536, allocations: 3.987 MB / 0.789 GB, free: 99.36 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-05/2.536, allocations: 31.38 kB / 0.7891 GB, free: 99.33 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/2.536, allocations: 4 kB / 0.7891 GB, free: 99.33 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.587e-05/2.536, allocations: 18.11 kB / 0.7891 GB, free: 99.32 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03372/2.57, allocations: 10.25 MB / 0.7991 GB, free: 90.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.97e-05/2.57, allocations: 0 / 0.7991 GB, free: 90.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00493/2.575, allocations: 463.8 kB / 0.7995 GB, free: 90.58 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001814/2.577, allocations: 342.6 kB / 0.7999 GB, free: 90.32 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006686/2.577, allocations: 47.28 kB / 0.7999 GB, free: 90.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007975/2.585, allocations: 4.97 MB / 0.8048 GB, free: 85.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/2.586, allocations: 4 kB / 0.8048 GB, free: 85.46 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/2.603, allocations: 7.071 MB / 0.8117 GB, free: 79.07 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003436/2.606, allocations: 0.8317 MB / 0.8125 GB, free: 78.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/2.608, allocations: 40 kB / 0.8125 GB, free: 78.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004888/2.613, allocations: 159.8 kB / 0.8127 GB, free: 78.14 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008643/2.614, allocations: 144.3 kB / 0.8128 GB, free: 78.05 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/2.614, allocations: 68 kB / 0.8129 GB, free: 77.98 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008775/2.623, allocations: 3.095 MB / 0.8159 GB, free: 75.27 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.092e-06/2.623, allocations: 0 / 0.8159 GB, free: 75.27 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009449/2.633, allocations: 1.29 MB / 0.8172 GB, free: 73.98 MB / 0.4949 GB 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 (224): * Single equations (assignments): 219 * 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.01721/2.65, allocations: 7.922 MB / 0.8249 GB, free: 66.75 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01417/2.664, allocations: 6.148 MB / 0.8309 GB, free: 61.14 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/2.664, allocations: 0 / 0.8309 GB, free: 61.14 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00466/2.669, allocations: 2.156 MB / 0.833 GB, free: 59.14 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004705/2.674, allocations: 0.5601 MB / 0.8336 GB, free: 58.66 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0379/2.711, allocations: 11.89 MB / 0.8452 GB, free: 48.36 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009476/2.721, allocations: 4.23 MB / 0.8493 GB, free: 45.22 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01221/2.733, allocations: 2.393 MB / 0.8516 GB, free: 43.69 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007212/2.741, allocations: 2.636 MB / 0.8542 GB, free: 41.11 MB / 0.4949 GB Notification: Performance of SimCode: time 2.284e-06/2.741, allocations: 0 / 0.8542 GB, free: 41.11 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6788/3.419, allocations: 98.93 MB / 0.9508 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/3.42, allocations: 172.5 kB / 0.951 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/10.57, allocations: 7.844 kB / 0.951 GB, free: 122.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat