Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.827/2.827, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.847e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.489, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.7338, allocations: 112.6 MB / 494.9 MB, free: 11.73 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/0.7342, allocations: 71.97 kB / 495 MB, free: 11.66 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.942/1.676, allocations: 136.4 MB / 0.6166 GB, free: 58.46 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.394e-06/1.676, allocations: 0 / 0.6166 GB, free: 58.46 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005097/1.677, allocations: 132 kB / 0.6168 GB, free: 58.33 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.03105/1.708, allocations: 7.043 MB / 0.6236 GB, free: 51.21 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/1.708, allocations: 12.03 kB / 0.6236 GB, free: 51.2 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005575/1.714, allocations: 1.146 MB / 0.6248 GB, free: 50.04 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05755/1.771, allocations: 7.561 MB / 0.6322 GB, free: 42.46 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03448/1.806, allocations: 9.806 MB / 0.6417 GB, free: 32.57 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005836/1.806, allocations: 488.9 kB / 0.6422 GB, free: 32.09 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003554/1.81, allocations: 0.652 MB / 0.6428 GB, free: 31.44 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05154/1.862, allocations: 16.5 MB / 0.6589 GB, free: 13.49 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006516/1.862, allocations: 107 kB / 0.659 GB, free: 13.38 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0039/1.866, allocations: 311.8 kB / 0.6593 GB, free: 13.08 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/1.87, allocations: 1.584 MB / 0.6609 GB, free: 11.48 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0461/1.916, allocations: 13.22 MB / 0.6738 GB, free: 14.24 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5652/2.481, allocations: 74.33 MB / 0.7464 GB, free: 63.96 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03883/2.52, allocations: 7.626 MB / 0.7538 GB, free: 63.27 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008327/2.529, allocations: 3.913 MB / 0.7577 GB, free: 63.23 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0453/2.574, allocations: 18.61 MB / 0.7758 GB, free: 58.65 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.378e-05/2.574, allocations: 63.72 kB / 0.7759 GB, free: 58.61 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=281): time 7.023e-06/2.574, allocations: 6.562 kB / 0.7759 GB, free: 58.61 MB / 0.4949 GB Notification: Performance of matching and sorting (n=363): time 0.2514/2.826, allocations: 38.8 MB / 0.8138 GB, free: 48.99 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/2.826, allocations: 275.3 kB / 0.8141 GB, free: 48.7 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01447/2.84, allocations: 5.322 MB / 0.8193 GB, free: 45.27 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/2.841, allocations: 84.3 kB / 0.8193 GB, free: 45.18 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004736/2.846, allocations: 4.777 MB / 0.824 GB, free: 40.92 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00228/2.849, allocations: 1.331 MB / 0.8253 GB, free: 39.74 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/2.85, allocations: 188 kB / 0.8255 GB, free: 39.55 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000653/2.851, allocations: 0.6925 MB / 0.8262 GB, free: 38.96 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009648/2.86, allocations: 3.635 MB / 0.8297 GB, free: 35.68 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/2.874, allocations: 8.791 MB / 0.8383 GB, free: 25.07 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/2.887, allocations: 5.55 MB / 0.8437 GB, free: 20.59 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002122/2.888, allocations: 52 kB / 0.8438 GB, free: 20.54 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1201) (initialization): time 0.05519/2.943, allocations: 15.35 MB / 0.8588 GB, free: 8.445 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/2.943, allocations: 84 kB / 0.8588 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00035/2.944, allocations: 184 kB / 0.859 GB, free: 8.184 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02377/2.967, allocations: 4.031 MB / 0.8629 GB, free: 5.414 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01363/2.981, allocations: 2.034 MB / 0.8649 GB, free: 3.641 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05992/3.041, allocations: 20.97 MB / 0.8854 GB, free: 212 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/3.054, allocations: 0.5412 MB / 0.8859 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002785/3.057, allocations: 0.5273 MB / 0.8865 GB, free: 15.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (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.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 (1081): * Single equations (assignments): 1076 * 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%) 45,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004575/3.061, allocations: 0.7999 MB / 0.8872 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002165/3.063, allocations: 0.5746 MB / 0.8878 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05991/3.123, allocations: 9.437 MB / 0.897 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/3.124, allocations: 36 kB / 0.897 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.464e-05/3.124, allocations: 20 kB / 0.8971 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/3.124, allocations: 15.94 kB / 0.8971 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1166/3.24, allocations: 18.88 MB / 0.9155 GB, free: 1.199 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.909e-05/3.241, allocations: 0 / 0.9155 GB, free: 1.199 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008802/3.249, allocations: 0.5025 MB / 0.916 GB, free: 0.6992 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03804/3.287, allocations: 3.629 MB / 0.9196 GB, free: 13.06 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00139/3.289, allocations: 67.03 kB / 0.9196 GB, free: 13 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4581/3.747, allocations: 18.71 MB / 0.9379 GB, free: 160 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/3.747, allocations: 1.969 kB / 0.9379 GB, free: 160 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04551/3.793, allocations: 13.89 MB / 0.9515 GB, free: 159.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00452/3.797, allocations: 1.12 MB / 0.9526 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002241/3.8, allocations: 59.75 kB / 0.9526 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006526/3.806, allocations: 227.2 kB / 0.9528 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001446/3.808, allocations: 227.4 kB / 0.953 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004655/3.808, allocations: 85.39 kB / 0.9531 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01007/3.818, allocations: 3.718 MB / 0.9568 GB, free: 159 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.773e-06/3.818, allocations: 0 / 0.9568 GB, free: 159 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01272/3.831, allocations: 1.85 MB / 0.9586 GB, free: 159 MB / 0.5574 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 (263): * Single equations (assignments): 258 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04755/3.879, allocations: 14.76 MB / 0.973 GB, free: 157.4 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02291/3.901, allocations: 9.09 MB / 0.9819 GB, free: 154.4 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/3.902, allocations: 3.812 kB / 0.9819 GB, free: 154.4 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.009598/3.911, allocations: 3.621 MB / 0.9854 GB, free: 152.9 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006963/3.918, allocations: 0.7252 MB / 0.9861 GB, free: 152.6 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05242/3.971, allocations: 15.29 MB / 1.001 GB, free: 147.3 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/3.983, allocations: 5.007 MB / 1.006 GB, free: 145.8 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01387/3.997, allocations: 2.795 MB / 1.009 GB, free: 144.3 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008566/4.005, allocations: 3.258 MB / 1.012 GB, free: 141.3 MB / 0.5574 GB Notification: Performance of SimCode: time 2.354e-06/4.006, allocations: 0 / 1.012 GB, free: 141.3 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7233/4.729, allocations: 140.3 MB / 1.149 GB, free: 143.2 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/4.729, allocations: 178.5 kB / 1.149 GB, free: 143 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/13.46, allocations: 0 / 1.149 GB, free: 143 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat does not exist to compare? outputFormat=mat