Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.537e-05, allocations: 7.984 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4071, allocations: 54.85 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.6028, allocations: 104.8 MB / 464.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.6033, allocations: 75.95 kB / 464.8 MB, free: 7.965 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8304/1.434, allocations: 110.8 MB / 0.562 GB, free: 104.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.434, allocations: 0 / 0.562 GB, free: 104.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004033/1.434, allocations: 111.8 kB / 0.5621 GB, free: 104.2 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: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.02536/1.459, allocations: 5.876 MB / 0.5679 GB, free: 102 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.46, allocations: 10.91 kB / 0.5679 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004769/1.464, allocations: 0.9682 MB / 0.5688 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05009/1.514, allocations: 6.896 MB / 0.5756 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02826/1.543, allocations: 7.071 MB / 0.5825 GB, free: 98.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005621/1.543, allocations: 417.6 kB / 0.5829 GB, free: 98.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003226/1.547, allocations: 0.54 MB / 0.5834 GB, free: 98.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04332/1.59, allocations: 14.01 MB / 0.5971 GB, free: 90.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003271/1.59, allocations: 75.41 kB / 0.5971 GB, free: 90.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00183/1.592, allocations: 263.8 kB / 0.5974 GB, free: 90.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002727/1.595, allocations: 1.352 MB / 0.5987 GB, free: 88.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03736/1.632, allocations: 11.57 MB / 0.61 GB, free: 77.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09544/1.728, allocations: 60.63 MB / 0.6692 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02759/1.756, allocations: 5.779 MB / 0.6749 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006493/1.762, allocations: 3.247 MB / 0.678 GB, free: 5.812 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0369/1.799, allocations: 14.73 MB / 0.6924 GB, free: 6.605 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/1.799, allocations: 52.56 kB / 0.6925 GB, free: 6.547 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 6.282e-06/1.799, allocations: 0 / 0.6925 GB, free: 6.547 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.4833/2.283, allocations: 21.91 MB / 0.7139 GB, free: 109.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/2.283, allocations: 263.9 kB / 0.7141 GB, free: 108.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01361/2.296, allocations: 4.394 MB / 0.7184 GB, free: 108.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007851/2.297, allocations: 68.45 kB / 0.7185 GB, free: 108.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004174/2.301, allocations: 3.969 MB / 0.7224 GB, free: 106.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001705/2.303, allocations: 0.9879 MB / 0.7233 GB, free: 105.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008517/2.304, allocations: 145 kB / 0.7235 GB, free: 105.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004641/2.304, allocations: 0.6141 MB / 0.7241 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006296/2.311, allocations: 2.52 MB / 0.7265 GB, free: 105.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009351/2.32, allocations: 6.83 MB / 0.7332 GB, free: 98.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009658/2.33, allocations: 4.106 MB / 0.7372 GB, free: 97.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001879/2.33, allocations: 41.22 kB / 0.7372 GB, free: 97.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02748/2.358, allocations: 9.592 MB / 0.7466 GB, free: 94.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/2.358, allocations: 70.62 kB / 0.7467 GB, free: 94.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002838/2.358, allocations: 150.7 kB / 0.7468 GB, free: 94.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002415/2.361, allocations: 0.588 MB / 0.7474 GB, free: 94.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/2.372, allocations: 1.735 MB / 0.7491 GB, free: 93.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008916/2.381, allocations: 5.623 MB / 0.7546 GB, free: 90.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009092/2.39, allocations: 395 kB / 0.755 GB, free: 89.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/2.392, allocations: 447.5 kB / 0.7554 GB, free: 89.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (912): * Single equations (assignments): 907 * 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.001705/2.394, allocations: 0.6756 MB / 0.756 GB, free: 89.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/2.395, allocations: 471.7 kB / 0.7565 GB, free: 89.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/2.405, allocations: 3.976 MB / 0.7604 GB, free: 87.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-05/2.406, allocations: 31.41 kB / 0.7604 GB, free: 87.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/2.406, allocations: 3.594 kB / 0.7604 GB, free: 87.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/2.406, allocations: 11.44 kB / 0.7604 GB, free: 87.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03007/2.436, allocations: 10.23 MB / 0.7704 GB, free: 83.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/2.436, allocations: 0 / 0.7704 GB, free: 83.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004831/2.441, allocations: 470.9 kB / 0.7709 GB, free: 83.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/2.442, allocations: 348.4 kB / 0.7712 GB, free: 83.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004877/2.443, allocations: 49.31 kB / 0.7712 GB, free: 83.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007396/2.45, allocations: 4.94 MB / 0.7761 GB, free: 79.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.45, allocations: 7.5 kB / 0.7761 GB, free: 79.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/2.467, allocations: 7.083 MB / 0.783 GB, free: 75.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003523/2.471, allocations: 0.819 MB / 0.7838 GB, free: 74.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/2.472, allocations: 44.86 kB / 0.7838 GB, free: 74.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003988/2.476, allocations: 155.6 kB / 0.784 GB, free: 74.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005674/2.477, allocations: 148.8 kB / 0.7841 GB, free: 74.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003114/2.477, allocations: 67.23 kB / 0.7842 GB, free: 74.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007949/2.485, allocations: 3.072 MB / 0.7872 GB, free: 71.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.485, allocations: 0 / 0.7872 GB, free: 71.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009141/2.494, allocations: 1.291 MB / 0.7884 GB, free: 70.41 MB / 474.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 (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.01654/2.511, allocations: 7.915 MB / 0.7962 GB, free: 63.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0148/2.526, allocations: 6.359 MB / 0.8024 GB, free: 57.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/2.526, allocations: 3.938 kB / 0.8024 GB, free: 57.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004528/2.53, allocations: 2.189 MB / 0.8045 GB, free: 55.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/2.536, allocations: 0.5572 MB / 0.8051 GB, free: 54.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03929/2.575, allocations: 11.89 MB / 0.8167 GB, free: 44.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/2.585, allocations: 4.221 MB / 0.8208 GB, free: 41.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01181/2.597, allocations: 2.39 MB / 0.8231 GB, free: 39.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006808/2.604, allocations: 2.629 MB / 0.8257 GB, free: 37.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.863e-06/2.604, allocations: 0 / 0.8257 GB, free: 37.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6079/3.212, allocations: 99.32 MB / 0.9227 GB, free: 106.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/3.212, allocations: 176.5 kB / 0.9229 GB, free: 106.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/10.06, allocations: 4 kB / 0.9229 GB, free: 106.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat