Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 235 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.339e-05, allocations: 0 / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4142, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.6072, allocations: 105.1 MB / 459.4 MB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.6076, allocations: 75.97 kB / 459.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9249/1.533, allocations: 133.1 MB / 0.5787 GB, free: 48.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.533, allocations: 4 kB / 0.5787 GB, free: 48.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004599/1.533, allocations: 132 kB / 0.5788 GB, free: 48.57 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02785/1.561, allocations: 7.043 MB / 0.5857 GB, free: 41.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.561, allocations: 8.031 kB / 0.5857 GB, free: 41.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05555/1.617, allocations: 7.569 MB / 0.5931 GB, free: 33.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03388/1.65, allocations: 9.787 MB / 0.6026 GB, free: 23.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004273/1.651, allocations: 212 kB / 0.6028 GB, free: 23.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004345/1.655, allocations: 399.8 kB / 0.6032 GB, free: 23.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03503/1.69, allocations: 9.679 MB / 0.6127 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04041/1.731, allocations: 14.23 MB / 0.6266 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005524/1.731, allocations: 103 kB / 0.6266 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003037/1.735, allocations: 44 kB / 0.6267 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00433/1.739, allocations: 1.58 MB / 0.6282 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5118/2.251, allocations: 73.68 MB / 0.7002 GB, free: 60.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/2.262, allocations: 5.232 MB / 0.7053 GB, free: 59.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007415/2.269, allocations: 3.768 MB / 0.709 GB, free: 59.67 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003656/2.273, allocations: 2.259 MB / 0.7112 GB, free: 57.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.611e-05/2.273, allocations: 68.44 kB / 0.7112 GB, free: 57.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=301): time 6.973e-06/2.273, allocations: 3.375 kB / 0.7113 GB, free: 57.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=381): time 0.1682/2.441, allocations: 40.67 MB / 0.751 GB, free: 48.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/2.441, allocations: 266.5 kB / 0.7512 GB, free: 48.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01141/2.453, allocations: 4.64 MB / 0.7558 GB, free: 46.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/2.454, allocations: 25.7 kB / 0.7558 GB, free: 46.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004297/2.458, allocations: 4.773 MB / 0.7604 GB, free: 43.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002365/2.46, allocations: 1.358 MB / 0.7618 GB, free: 42.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001687/2.462, allocations: 0 / 0.7618 GB, free: 42.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00129/2.464, allocations: 0.705 MB / 0.7625 GB, free: 41.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00919/2.473, allocations: 3.644 MB / 0.766 GB, free: 40.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0132/2.486, allocations: 8.927 MB / 0.7747 GB, free: 29.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/2.499, allocations: 5.574 MB / 0.7802 GB, free: 25.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/2.499, allocations: 56 kB / 0.7802 GB, free: 25.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.05317/2.552, allocations: 15.54 MB / 0.7954 GB, free: 12.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/2.553, allocations: 84 kB / 0.7955 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003026/2.553, allocations: 188 kB / 0.7957 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0219/2.575, allocations: 4.085 MB / 0.7996 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01348/2.588, allocations: 2.104 MB / 0.8017 GB, free: 7.785 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05483/2.643, allocations: 21.03 MB / 0.8222 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/2.656, allocations: 396.7 kB / 0.8226 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002948/2.659, allocations: 0.5433 MB / 0.8231 GB, free: 4.953 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1121): * Single equations (assignments): 1116 * 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 {(2,100.0%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004205/2.663, allocations: 0.5836 MB / 0.8237 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04643/2.709, allocations: 10.15 MB / 0.8336 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002572/2.712, allocations: 0.5399 MB / 0.8342 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04174/2.754, allocations: 9.574 MB / 0.8435 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/2.754, allocations: 43.94 kB / 0.8436 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-05/2.754, allocations: 19.56 kB / 0.8436 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.791e-05/2.754, allocations: 15.94 kB / 0.8436 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07358/2.828, allocations: 18.15 MB / 0.8613 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/2.828, allocations: 0 / 0.8613 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005564/2.833, allocations: 0.5305 MB / 0.8618 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3941/3.227, allocations: 3.511 MB / 0.8653 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009736/3.228, allocations: 15.27 kB / 0.8653 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04498/3.273, allocations: 17.66 MB / 0.8825 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/3.273, allocations: 6.531 kB / 0.8825 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04366/3.317, allocations: 14.3 MB / 0.8965 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004652/3.322, allocations: 1.085 MB / 0.8975 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002148/3.324, allocations: 7.312 kB / 0.8976 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006328/3.33, allocations: 172.5 kB / 0.8977 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001822/3.332, allocations: 242.2 kB / 0.8979 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008735/3.333, allocations: 93.78 kB / 0.898 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008805/3.342, allocations: 3.12 MB / 0.9011 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.02e-07/3.342, allocations: 0 / 0.9011 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01297/3.355, allocations: 1.616 MB / 0.9027 GB, free: 131.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (284): * Single equations (assignments): 279 * 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 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04728/3.402, allocations: 15.52 MB / 0.9178 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02252/3.425, allocations: 9.223 MB / 0.9268 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/3.425, allocations: 0.625 kB / 0.9268 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009134/3.434, allocations: 3.672 MB / 0.9304 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006299/3.441, allocations: 0.5871 MB / 0.931 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0551/3.496, allocations: 15.01 MB / 0.9456 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/3.508, allocations: 5.011 MB / 0.9505 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01456/3.523, allocations: 2.879 MB / 0.9533 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007979/3.531, allocations: 3.253 MB / 0.9565 GB, free: 103 MB / 0.5105 GB Notification: Performance of SimCode: time 1.954e-06/3.531, allocations: 0 / 0.9565 GB, free: 103 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6879/4.219, allocations: 133.8 MB / 1.087 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/4.219, allocations: 144.6 kB / 1.087 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.634/12.85, allocations: 0 / 1.087 GB, free: 114.3 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat