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 2.089/2.089, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.84e-05/4.857e-05, allocations: 11.98 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.5886, allocations: 98 MB / 419.9 MB, free: 7.457 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.589, allocations: 75.95 kB / 420 MB, free: 7.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8509/1.44, allocations: 110.6 MB / 0.5182 GB, free: 92.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.987e-06/1.44, allocations: 0 / 0.5182 GB, free: 92.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005788/1.441, allocations: 116.9 kB / 0.5183 GB, free: 92.48 MB / 426.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.03309/1.474, allocations: 5.875 MB / 0.524 GB, free: 90.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/1.474, allocations: 11.09 kB / 0.524 GB, free: 90.25 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005574/1.479, allocations: 0.9683 MB / 0.525 GB, free: 90.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07391/1.553, allocations: 6.898 MB / 0.5317 GB, free: 89.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.039/1.592, allocations: 7.064 MB / 0.5386 GB, free: 88.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007798/1.593, allocations: 412.2 kB / 0.539 GB, free: 88.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004294/1.598, allocations: 0.5386 MB / 0.5395 GB, free: 88.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06396/1.662, allocations: 13.94 MB / 0.5531 GB, free: 84.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006287/1.662, allocations: 74.14 kB / 0.5532 GB, free: 84.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003592/1.666, allocations: 270.1 kB / 0.5535 GB, free: 84.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004482/1.67, allocations: 1.358 MB / 0.5548 GB, free: 83.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05638/1.727, allocations: 11.35 MB / 0.5659 GB, free: 80.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1181/1.845, allocations: 60.61 MB / 0.6251 GB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02744/1.873, allocations: 5.745 MB / 0.6307 GB, free: 19.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006589/1.879, allocations: 3.24 MB / 0.6338 GB, free: 16.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03326/1.913, allocations: 14.74 MB / 0.6482 GB, free: 1.117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/1.913, allocations: 64.56 kB / 0.6483 GB, free: 1.047 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 6.612e-06/1.913, allocations: 0 / 0.6483 GB, free: 1.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.45/2.363, allocations: 21.89 MB / 0.6697 GB, free: 98.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/2.363, allocations: 263.3 kB / 0.6699 GB, free: 98.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01545/2.378, allocations: 4.394 MB / 0.6742 GB, free: 98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008215/2.379, allocations: 65.64 kB / 0.6743 GB, free: 97.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005457/2.385, allocations: 3.96 MB / 0.6781 GB, free: 96.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002196/2.387, allocations: 0.9841 MB / 0.6791 GB, free: 95.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/2.389, allocations: 149.7 kB / 0.6792 GB, free: 95.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001107/2.39, allocations: 0.6173 MB / 0.6798 GB, free: 95.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00836/2.398, allocations: 2.519 MB / 0.6823 GB, free: 95.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01233/2.41, allocations: 6.795 MB / 0.6889 GB, free: 89.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/2.422, allocations: 4.114 MB / 0.693 GB, free: 89.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003137/2.422, allocations: 42.81 kB / 0.693 GB, free: 89.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02903/2.451, allocations: 9.165 MB / 0.7019 GB, free: 88.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/2.452, allocations: 75.16 kB / 0.702 GB, free: 88.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002891/2.452, allocations: 150.8 kB / 0.7022 GB, free: 88.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/2.454, allocations: 0.586 MB / 0.7027 GB, free: 88.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/2.467, allocations: 1.73 MB / 0.7044 GB, free: 88.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009504/2.476, allocations: 5.626 MB / 0.7099 GB, free: 84.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009686/2.486, allocations: 402.2 kB / 0.7103 GB, free: 84.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/2.488, allocations: 442.7 kB / 0.7107 GB, free: 84.42 MB / 442.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.003205/2.491, allocations: 0.6657 MB / 0.7114 GB, free: 83.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/2.493, allocations: 471.1 kB / 0.7118 GB, free: 83.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/2.505, allocations: 3.983 MB / 0.7157 GB, free: 82.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-05/2.505, allocations: 28.3 kB / 0.7157 GB, free: 82.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/2.505, allocations: 6.719 kB / 0.7157 GB, free: 82.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.019e-05/2.505, allocations: 10.97 kB / 0.7158 GB, free: 82.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.035/2.54, allocations: 10.24 MB / 0.7258 GB, free: 78.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/2.54, allocations: 0 / 0.7258 GB, free: 78.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004801/2.545, allocations: 464.7 kB / 0.7262 GB, free: 78.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/2.547, allocations: 338.4 kB / 0.7265 GB, free: 78.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006434/2.548, allocations: 51.19 kB / 0.7266 GB, free: 78.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007777/2.555, allocations: 4.95 MB / 0.7314 GB, free: 74.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.555, allocations: 3.531 kB / 0.7314 GB, free: 74.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/2.573, allocations: 7.081 MB / 0.7383 GB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003651/2.577, allocations: 0.8243 MB / 0.7391 GB, free: 70.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/2.578, allocations: 42.94 kB / 0.7392 GB, free: 70.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005016/2.583, allocations: 158.3 kB / 0.7393 GB, free: 70.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008917/2.584, allocations: 149.5 kB / 0.7395 GB, free: 70.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/2.585, allocations: 68.28 kB / 0.7395 GB, free: 70.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008627/2.593, allocations: 3.072 MB / 0.7425 GB, free: 69.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.593, allocations: 3.562 kB / 0.7425 GB, free: 69.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01038/2.604, allocations: 1.288 MB / 0.7438 GB, free: 69.63 MB / 442.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.01714/2.621, allocations: 7.907 MB / 0.7515 GB, free: 65.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01467/2.636, allocations: 6.125 MB / 0.7575 GB, free: 61.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.636, allocations: 6.734 kB / 0.7575 GB, free: 61.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004763/2.641, allocations: 2.154 MB / 0.7596 GB, free: 59.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/2.646, allocations: 0.5566 MB / 0.7601 GB, free: 59.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04234/2.688, allocations: 11.87 MB / 0.7717 GB, free: 49.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01037/2.699, allocations: 4.218 MB / 0.7759 GB, free: 46.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01265/2.711, allocations: 2.39 MB / 0.7782 GB, free: 44.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007046/2.719, allocations: 2.628 MB / 0.7808 GB, free: 42.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.744e-06/2.719, allocations: 0 / 0.7808 GB, free: 42.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6146/3.333, allocations: 98.62 MB / 0.8771 GB, free: 84.55 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/3.334, allocations: 186.1 kB / 0.8772 GB, free: 84.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/10.67, allocations: 0 / 0.8772 GB, free: 84.32 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