Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.303e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4036, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.6248, allocations: 104.2 MB / 458.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.6251, allocations: 75.95 kB / 458.7 MB, free: 6.812 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8253/1.45, allocations: 108.3 MB / 0.5537 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.451, allocations: 0 / 0.5537 GB, free: 10.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004707/1.451, allocations: 112 kB / 0.5538 GB, free: 10.64 MB / 394.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.02843/1.479, allocations: 5.877 MB / 0.5596 GB, free: 4.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/1.48, allocations: 8.031 kB / 0.5596 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0608/1.54, allocations: 6.903 MB / 0.5663 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0542/1.595, allocations: 7.059 MB / 0.5732 GB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007219/1.595, allocations: 176 kB / 0.5734 GB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01244/1.608, allocations: 331.8 kB / 0.5737 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04302/1.651, allocations: 8.105 MB / 0.5816 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04158/1.693, allocations: 12.03 MB / 0.5934 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005082/1.693, allocations: 71.33 kB / 0.5934 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00296/1.696, allocations: 39.98 kB / 0.5935 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004033/1.7, allocations: 1.356 MB / 0.5948 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5266/2.227, allocations: 60.59 MB / 0.654 GB, free: 57.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009059/2.236, allocations: 4.365 MB / 0.6582 GB, free: 56.74 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006615/2.243, allocations: 3.048 MB / 0.6612 GB, free: 56.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03342/2.276, allocations: 12.37 MB / 0.6733 GB, free: 53.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.005e-05/2.276, allocations: 57.81 kB / 0.6733 GB, free: 53.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=226): time 8.065e-06/2.276, allocations: 0 / 0.6733 GB, free: 53.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=264): time 0.1108/2.387, allocations: 24.84 MB / 0.6976 GB, free: 46.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/2.387, allocations: 260.6 kB / 0.6978 GB, free: 46.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/2.399, allocations: 3.855 MB / 0.7016 GB, free: 44.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007561/2.4, allocations: 29.36 kB / 0.7016 GB, free: 44.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004566/2.404, allocations: 4.02 MB / 0.7056 GB, free: 41.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/2.406, allocations: 0.9666 MB / 0.7065 GB, free: 41.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/2.408, allocations: 0 / 0.7065 GB, free: 41.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008952/2.409, allocations: 0.6224 MB / 0.7071 GB, free: 40.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006965/2.416, allocations: 2.427 MB / 0.7095 GB, free: 39.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/2.426, allocations: 6.883 MB / 0.7162 GB, free: 32.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/2.437, allocations: 4.036 MB / 0.7202 GB, free: 31.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002208/2.437, allocations: 49.94 kB / 0.7202 GB, free: 31.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02842/2.465, allocations: 8.775 MB / 0.7288 GB, free: 25.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/2.466, allocations: 72 kB / 0.7288 GB, free: 25.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002927/2.466, allocations: 160.9 kB / 0.729 GB, free: 25.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/2.469, allocations: 0.5885 MB / 0.7296 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01306/2.482, allocations: 1.791 MB / 0.7313 GB, free: 23.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009791/2.492, allocations: 5.431 MB / 0.7366 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009302/2.501, allocations: 256.6 kB / 0.7369 GB, free: 18.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/2.503, allocations: 459 kB / 0.7373 GB, free: 17.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * 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 (943): * Single equations (assignments): 938 * 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.003436/2.507, allocations: 0.5121 MB / 0.7378 GB, free: 17.19 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01315/2.52, allocations: 3.935 MB / 0.7416 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002142/2.522, allocations: 438.4 kB / 0.7421 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01846/2.54, allocations: 3.785 MB / 0.7458 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00013/2.541, allocations: 27.94 kB / 0.7458 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.574e-05/2.541, allocations: 8 kB / 0.7458 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.262e-05/2.541, allocations: 11.06 kB / 0.7458 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03372/2.575, allocations: 9.001 MB / 0.7546 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.042e-05/2.575, allocations: 8 kB / 0.7546 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005354/2.58, allocations: 472.9 kB / 0.7551 GB, free: 2.422 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/2.582, allocations: 342.5 kB / 0.7554 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007009/2.583, allocations: 7.938 kB / 0.7554 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009389/2.592, allocations: 4.751 MB / 0.76 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/2.592, allocations: 4 kB / 0.76 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02126/2.614, allocations: 6.883 MB / 0.7667 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003951/2.618, allocations: 0.782 MB / 0.7675 GB, free: 6.633 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002076/2.62, allocations: 4 kB / 0.7675 GB, free: 6.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005192/2.625, allocations: 126.2 kB / 0.7676 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/2.626, allocations: 139 kB / 0.7678 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005196/2.627, allocations: 64 kB / 0.7678 GB, free: 6.414 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008905/2.636, allocations: 2.597 MB / 0.7704 GB, free: 4.164 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/2.636, allocations: 4 kB / 0.7704 GB, free: 4.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01178/2.647, allocations: 1.108 MB / 0.7715 GB, free: 3.059 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 (225): * Single equations (assignments): 220 * 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.02855/2.676, allocations: 8.032 MB / 0.7793 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01827/2.694, allocations: 6.062 MB / 0.7852 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/2.694, allocations: 0 / 0.7852 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00632/2.701, allocations: 2.131 MB / 0.7873 GB, free: 5.465 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/2.706, allocations: 461.5 kB / 0.7877 GB, free: 5.074 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06096/2.767, allocations: 12.16 MB / 0.7996 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01336/2.781, allocations: 4.219 MB / 0.8037 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01544/2.796, allocations: 2.424 MB / 0.8061 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008869/2.805, allocations: 2.608 MB / 0.8087 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of SimCode: time 2.294e-06/2.805, allocations: 0 / 0.8087 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6995/3.505, allocations: 92.52 MB / 0.899 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003185/3.505, allocations: 146.8 kB / 0.8991 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.866/10.37, allocations: 0 / 0.8991 GB, free: 91.77 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat