Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.987e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1436, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6096/0.7533, allocations: 113.5 MB / 0.5116 GB, free: 6.473 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.7537, allocations: 72.47 kB / 0.5116 GB, free: 6.402 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9705/1.724, allocations: 112.8 MB / 0.6218 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.825e-06/1.724, allocations: 3.125 kB / 0.6218 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006243/1.725, allocations: 115 kB / 0.6219 GB, free: 111.5 MB / 0.5105 GB 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.03618/1.761, allocations: 5.883 MB / 0.6277 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/1.761, allocations: 8.5 kB / 0.6277 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005596/1.767, allocations: 0.965 MB / 0.6286 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05368/1.821, allocations: 6.897 MB / 0.6354 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02651/1.847, allocations: 6.774 MB / 0.642 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004733/1.848, allocations: 409.7 kB / 0.6424 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/1.851, allocations: 0.5461 MB / 0.6429 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05083/1.901, allocations: 13.96 MB / 0.6565 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003286/1.902, allocations: 83.19 kB / 0.6566 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/1.903, allocations: 261.3 kB / 0.6569 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/1.906, allocations: 1.357 MB / 0.6582 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03698/1.943, allocations: 11.36 MB / 0.6693 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09248/2.036, allocations: 60.68 MB / 0.7285 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02784/2.064, allocations: 5.76 MB / 0.7342 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006651/2.07, allocations: 3.244 MB / 0.7373 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03343/2.104, allocations: 14.7 MB / 0.7517 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/2.104, allocations: 60.56 kB / 0.7517 GB, free: 38.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 6.632e-06/2.104, allocations: 0 / 0.7517 GB, free: 38.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.118/2.222, allocations: 21.77 MB / 0.773 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/2.222, allocations: 261.1 kB / 0.7732 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/2.232, allocations: 4.391 MB / 0.7775 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006869/2.233, allocations: 65.7 kB / 0.7776 GB, free: 16.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003568/2.237, allocations: 3.974 MB / 0.7815 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/2.238, allocations: 0.9863 MB / 0.7824 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009351/2.239, allocations: 144 kB / 0.7826 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004872/2.24, allocations: 0.6161 MB / 0.7832 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006352/2.246, allocations: 2.529 MB / 0.7856 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009536/2.256, allocations: 6.812 MB / 0.7923 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/2.267, allocations: 4.111 MB / 0.7963 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001679/2.267, allocations: 47.98 kB / 0.7964 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02948/2.296, allocations: 9.188 MB / 0.8053 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/2.297, allocations: 69 kB / 0.8054 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002804/2.297, allocations: 152 kB / 0.8055 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/2.3, allocations: 0.5911 MB / 0.8061 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4043/2.704, allocations: 1.733 MB / 0.8078 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/2.715, allocations: 5.622 MB / 0.8133 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009094/2.724, allocations: 399.8 kB / 0.8137 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00222/2.727, allocations: 441.2 kB / 0.8141 GB, free: 110.9 MB / 0.5261 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.003224/2.73, allocations: 0.6849 MB / 0.8148 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/2.731, allocations: 468.6 kB / 0.8152 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/2.745, allocations: 3.978 MB / 0.8191 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.634e-05/2.745, allocations: 28.91 kB / 0.8191 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/2.745, allocations: 4.844 kB / 0.8191 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.367e-05/2.745, allocations: 11.94 kB / 0.8191 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03609/2.782, allocations: 10.23 MB / 0.8291 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.253e-05/2.782, allocations: 1.375 kB / 0.8291 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004996/2.787, allocations: 468.2 kB / 0.8296 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/2.788, allocations: 344.9 kB / 0.8299 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000671/2.789, allocations: 46.41 kB / 0.83 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/2.801, allocations: 4.952 MB / 0.8348 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.802, allocations: 1.594 kB / 0.8348 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02608/2.828, allocations: 7.083 MB / 0.8417 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/2.83, allocations: 495.6 kB / 0.8422 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002589/2.833, allocations: 38.53 kB / 0.8422 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007337/2.84, allocations: 160.7 kB / 0.8424 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/2.842, allocations: 148.6 kB / 0.8425 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005349/2.842, allocations: 66.03 kB / 0.8426 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01294/2.855, allocations: 3.069 MB / 0.8456 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.744e-06/2.855, allocations: 0 / 0.8456 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01545/2.871, allocations: 1.29 MB / 0.8468 GB, free: 105.5 MB / 0.5261 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.0271/2.898, allocations: 7.919 MB / 0.8546 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02274/2.921, allocations: 6.141 MB / 0.8606 GB, free: 99.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/2.921, allocations: 3.375 kB / 0.8606 GB, free: 99.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007879/2.929, allocations: 2.162 MB / 0.8627 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007688/2.937, allocations: 0.5622 MB / 0.8632 GB, free: 98.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/2.982, allocations: 11.87 MB / 0.8748 GB, free: 94.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/2.993, allocations: 4.211 MB / 0.8789 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01262/3.005, allocations: 2.391 MB / 0.8813 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006799/3.012, allocations: 2.631 MB / 0.8838 GB, free: 90.98 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/3.012, allocations: 0 / 0.8838 GB, free: 90.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2223/3.234, allocations: 98.73 MB / 0.9803 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/3.235, allocations: 177 kB / 0.9804 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/10.48, allocations: 4 kB / 0.9804 GB, free: 14.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat