Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.679e-05, allocations: 7.938 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5515/0.6877, allocations: 109 MB / 0.5072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.688, allocations: 79.95 kB / 0.5072 GB, free: 10.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079/1.767, allocations: 141.4 MB / 0.6453 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.715e-06/1.767, allocations: 3.938 kB / 0.6453 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005119/1.768, allocations: 138.8 kB / 0.6454 GB, free: 107.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02943/1.797, allocations: 6.884 MB / 0.6522 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.797, allocations: 7.812 kB / 0.6522 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006065/1.803, allocations: 1.219 MB / 0.6534 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07109/1.875, allocations: 9.507 MB / 0.6627 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03183/1.906, allocations: 8.373 MB / 0.6708 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000758/1.907, allocations: 0.525 MB / 0.6713 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004136/1.911, allocations: 0.6969 MB / 0.672 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05275/1.964, allocations: 16.44 MB / 0.6881 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007394/1.965, allocations: 96.8 kB / 0.6882 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004135/1.969, allocations: 344.5 kB / 0.6885 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003571/1.973, allocations: 1.494 MB / 0.69 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04171/2.015, allocations: 12.72 MB / 0.7024 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1339/2.149, allocations: 75.4 MB / 0.776 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0272/2.176, allocations: 6.266 MB / 0.7821 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00681/2.183, allocations: 3.44 MB / 0.7855 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/2.183, allocations: 49.52 kB / 0.7855 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/2.183, allocations: 59.28 kB / 0.7856 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 7.634e-06/2.183, allocations: 3.938 kB / 0.7856 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.5705/2.754, allocations: 24.11 MB / 0.8092 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/2.754, allocations: 287.3 kB / 0.8094 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02223/2.776, allocations: 6.233 MB / 0.8155 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008239/2.777, allocations: 66.42 kB / 0.8156 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006485/2.783, allocations: 4.996 MB / 0.8205 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00194/2.785, allocations: 1.02 MB / 0.8215 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00159/2.787, allocations: 170.4 kB / 0.8216 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001168/2.788, allocations: 0.6709 MB / 0.8223 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009748/2.798, allocations: 3.017 MB / 0.8252 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01501/2.813, allocations: 8.218 MB / 0.8332 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/2.827, allocations: 4.948 MB / 0.8381 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004669/2.828, allocations: 53.81 kB / 0.8381 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.03641/2.864, allocations: 11.63 MB / 0.8495 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002375/2.864, allocations: 90.12 kB / 0.8496 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003463/2.865, allocations: 185.5 kB / 0.8497 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/2.871, allocations: 1.358 MB / 0.8511 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01341/2.884, allocations: 1.974 MB / 0.853 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/2.905, allocations: 11.21 MB / 0.864 GB, free: 93.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/2.916, allocations: 486 kB / 0.8644 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/2.918, allocations: 0.5144 MB / 0.8649 GB, free: 93.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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.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 (1043): * Single equations (assignments): 1037 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002659/2.921, allocations: 0.7793 MB / 0.8657 GB, free: 92.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001799/2.923, allocations: 0.5972 MB / 0.8663 GB, free: 92.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/2.939, allocations: 5.24 MB / 0.8714 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/2.939, allocations: 29.66 kB / 0.8714 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/2.939, allocations: 6.906 kB / 0.8714 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.327e-05/2.939, allocations: 17.25 kB / 0.8714 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04126/2.98, allocations: 12.89 MB / 0.884 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-05/2.98, allocations: 0 / 0.884 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004464/2.985, allocations: 428.3 kB / 0.8844 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005129/2.99, allocations: 1.051 MB / 0.8855 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007591/2.991, allocations: 43.47 kB / 0.8855 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01871/3.009, allocations: 10.2 MB / 0.8955 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/3.009, allocations: 3.812 kB / 0.8955 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02231/3.032, allocations: 8.963 MB / 0.9042 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/3.035, allocations: 0.6573 MB / 0.9049 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002679/3.037, allocations: 48.72 kB / 0.9049 GB, free: 74.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005897/3.043, allocations: 156.2 kB / 0.9051 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/3.044, allocations: 148.5 kB / 0.9052 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004228/3.045, allocations: 71.75 kB / 0.9053 GB, free: 74.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0128/3.058, allocations: 4.423 MB / 0.9096 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.524e-06/3.058, allocations: 0 / 0.9096 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01221/3.07, allocations: 1.598 MB / 0.9111 GB, free: 72.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02304/3.093, allocations: 9.859 MB / 0.9208 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01769/3.111, allocations: 7.4 MB / 0.928 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/3.111, allocations: 0 / 0.928 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006848/3.118, allocations: 2.702 MB / 0.9306 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007626/3.125, allocations: 0.8098 MB / 0.9314 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04998/3.176, allocations: 14.93 MB / 0.946 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0117/3.187, allocations: 5.165 MB / 0.9511 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01304/3.2, allocations: 2.828 MB / 0.9538 GB, free: 37.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007614/3.208, allocations: 3.304 MB / 0.957 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/3.208, allocations: 0 / 0.957 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7236/3.932, allocations: 129.1 MB / 1.083 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/3.932, allocations: 167.7 kB / 1.083 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/12.2, allocations: 0 / 1.083 GB, free: 103.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat