Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.076e-05, allocations: 7.938 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 48.69 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5272, allocations: 92.16 MB / 408.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.5276, allocations: 74.52 kB / 408.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.816/1.344, allocations: 134 MB / 0.5298 GB, free: 82.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.344, allocations: 0 / 0.5298 GB, free: 82.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004345/1.344, allocations: 133.2 kB / 0.53 GB, free: 82.46 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02485/1.369, allocations: 6.639 MB / 0.5364 GB, free: 79.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.369, allocations: 6.938 kB / 0.5364 GB, free: 79.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06705/1.436, allocations: 9.496 MB / 0.5457 GB, free: 77.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02938/1.466, allocations: 8.717 MB / 0.5542 GB, free: 73.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004471/1.466, allocations: 222.2 kB / 0.5544 GB, free: 73.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003739/1.47, allocations: 405 kB / 0.5548 GB, free: 73.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02347/1.493, allocations: 9.045 MB / 0.5637 GB, free: 65.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03557/1.529, allocations: 14.06 MB / 0.5774 GB, free: 49.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004558/1.529, allocations: 103.1 kB / 0.5775 GB, free: 49.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002754/1.532, allocations: 44 kB / 0.5775 GB, free: 49.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003162/1.535, allocations: 1.455 MB / 0.579 GB, free: 48.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4497/1.985, allocations: 67.57 MB / 0.6449 GB, free: 49.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/1.995, allocations: 4.615 MB / 0.6494 GB, free: 48.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006561/2.002, allocations: 2.964 MB / 0.6523 GB, free: 48.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/2.002, allocations: 49.34 kB / 0.6524 GB, free: 48.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/2.002, allocations: 63.41 kB / 0.6524 GB, free: 48.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 7.174e-06/2.002, allocations: 0 / 0.6524 GB, free: 48.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.07813/2.081, allocations: 25.59 MB / 0.6774 GB, free: 43.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/2.081, allocations: 258.8 kB / 0.6777 GB, free: 42.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/2.092, allocations: 4.8 MB / 0.6824 GB, free: 41.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006513/2.092, allocations: 25.7 kB / 0.6824 GB, free: 41.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004376/2.097, allocations: 4.943 MB / 0.6872 GB, free: 37.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001639/2.098, allocations: 0.988 MB / 0.6882 GB, free: 36.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009773/2.099, allocations: 2 kB / 0.6882 GB, free: 36.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005476/2.1, allocations: 0.6716 MB / 0.6889 GB, free: 36.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006373/2.106, allocations: 2.699 MB / 0.6915 GB, free: 35.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/2.117, allocations: 7.975 MB / 0.6993 GB, free: 27.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/2.128, allocations: 4.596 MB / 0.7038 GB, free: 25.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000246/2.128, allocations: 52.47 kB / 0.7038 GB, free: 25.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02844/2.156, allocations: 10.09 MB / 0.7137 GB, free: 22.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/2.156, allocations: 82.78 kB / 0.7137 GB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002979/2.157, allocations: 191.8 kB / 0.7139 GB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/2.16, allocations: 0.8051 MB / 0.7147 GB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01236/2.172, allocations: 1.991 MB / 0.7167 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/2.184, allocations: 8.027 MB / 0.7245 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009779/2.194, allocations: 300.5 kB / 0.7248 GB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/2.196, allocations: 0.5231 MB / 0.7253 GB, free: 15.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1069): * Single equations (assignments): 1063 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001697/2.198, allocations: 0.5719 MB / 0.7259 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01022/2.208, allocations: 4.242 MB / 0.73 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/2.209, allocations: 0.5052 MB / 0.7305 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/2.22, allocations: 4.071 MB / 0.7345 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/2.22, allocations: 28 kB / 0.7345 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/2.22, allocations: 8 kB / 0.7345 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-05/2.22, allocations: 15.77 kB / 0.7345 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03329/2.253, allocations: 10.09 MB / 0.7444 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/2.254, allocations: 3.438 kB / 0.7444 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004422/2.258, allocations: 419.6 kB / 0.7448 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002611/2.261, allocations: 0.4933 MB / 0.7452 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005857/2.261, allocations: 11.95 kB / 0.7453 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/2.274, allocations: 7.086 MB / 0.7522 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/2.274, allocations: 0 / 0.7522 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/2.293, allocations: 7.42 MB / 0.7594 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003891/2.297, allocations: 0.8847 MB / 0.7603 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001883/2.299, allocations: 8 kB / 0.7603 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004723/2.304, allocations: 102.5 kB / 0.7604 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/2.305, allocations: 154.6 kB / 0.7605 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003415/2.305, allocations: 67.23 kB / 0.7606 GB, free: 460 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0211/2.327, allocations: 3.919 MB / 0.7644 GB, free: 15.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.327, allocations: 0 / 0.7644 GB, free: 15.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01203/2.339, allocations: 1.299 MB / 0.7657 GB, free: 13.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (218): * Single equations (assignments): 212 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(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.02028/2.359, allocations: 8.24 MB / 0.7738 GB, free: 6.531 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01746/2.376, allocations: 6.817 MB / 0.7804 GB, free: 352 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/2.377, allocations: 4 kB / 0.7804 GB, free: 348 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01071/2.387, allocations: 2.643 MB / 0.783 GB, free: 14.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/2.393, allocations: 0.6012 MB / 0.7836 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05129/2.444, allocations: 13.82 MB / 0.7971 GB, free: 1.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/2.458, allocations: 5.051 MB / 0.802 GB, free: 12.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01402/2.473, allocations: 2.734 MB / 0.8047 GB, free: 9.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008664/2.481, allocations: 3.206 MB / 0.8078 GB, free: 6.547 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/2.481, allocations: 4 kB / 0.8078 GB, free: 6.543 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5859/3.067, allocations: 108.6 MB / 0.9139 GB, free: 123 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/3.068, allocations: 136.4 kB / 0.914 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.61/9.678, allocations: 4.812 kB / 0.914 GB, free: 122.8 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat