Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.571e-05/5.581e-05, allocations: 4 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4178, allocations: 61.87 MB / 410.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.6439, allocations: 112.2 MB / 0.5103 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.6443, allocations: 83.94 kB / 0.5104 GB, free: 10.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.652/2.296, allocations: 222.6 MB / 0.7278 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.046e-06/2.296, allocations: 0 / 0.7278 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001167/2.297, allocations: 236.2 kB / 0.728 GB, free: 48.71 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.06493/2.362, allocations: 11.55 MB / 0.7393 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001086/2.362, allocations: 9.469 kB / 0.7393 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01231/2.375, allocations: 1.992 MB / 0.7412 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1034/2.478, allocations: 12.61 MB / 0.7536 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04774/2.526, allocations: 12.21 MB / 0.7655 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/2.527, allocations: 0.8717 MB / 0.7663 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00663/2.534, allocations: 1.161 MB / 0.7675 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09855/2.633, allocations: 27.83 MB / 0.7947 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001074/2.634, allocations: 139.5 kB / 0.7948 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006241/2.64, allocations: 0.5386 MB / 0.7953 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006112/2.646, allocations: 2.582 MB / 0.7978 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08073/2.727, allocations: 22.14 MB / 0.8195 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7001/3.427, allocations: 120.5 MB / 0.9372 GB, free: 95.54 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07058/3.498, allocations: 13.77 MB / 0.9506 GB, free: 94.8 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01533/3.513, allocations: 7.263 MB / 0.9577 GB, free: 94.74 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05106/3.564, allocations: 17.77 MB / 0.975 GB, free: 91.95 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/3.564, allocations: 88.84 kB / 0.9751 GB, free: 91.91 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 1.002e-05/3.564, allocations: 2.469 kB / 0.9751 GB, free: 91.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.3029/3.867, allocations: 56.49 MB / 1.03 GB, free: 80.07 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/3.868, allocations: 362.3 kB / 1.031 GB, free: 79.69 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02986/3.898, allocations: 10.12 MB / 1.041 GB, free: 78.94 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/3.899, allocations: 113.6 kB / 1.041 GB, free: 78.91 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009082/3.909, allocations: 7.854 MB / 1.048 GB, free: 74.04 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003839/3.912, allocations: 2.057 MB / 1.05 GB, free: 72.53 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002943/3.915, allocations: 275.6 kB / 1.051 GB, free: 72.31 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001524/3.917, allocations: 0.8984 MB / 1.051 GB, free: 71.76 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01559/3.933, allocations: 5.774 MB / 1.057 GB, free: 69.77 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02082/3.953, allocations: 13.52 MB / 1.07 GB, free: 55.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/3.974, allocations: 8.768 MB / 1.079 GB, free: 48.33 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003186/3.974, allocations: 80 kB / 1.079 GB, free: 48.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.06462/4.039, allocations: 21.38 MB / 1.1 GB, free: 31.35 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002267/4.039, allocations: 124 kB / 1.1 GB, free: 31.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005002/4.04, allocations: 276.3 kB / 1.1 GB, free: 30.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0145/4.054, allocations: 3.249 MB / 1.103 GB, free: 28.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02337/4.078, allocations: 3.364 MB / 1.107 GB, free: 25.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04329/4.121, allocations: 22.43 MB / 1.129 GB, free: 5.617 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0193/4.14, allocations: 0.8247 MB / 1.129 GB, free: 4.934 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003893/4.144, allocations: 0.8067 MB / 1.13 GB, free: 4.156 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1698): * Single equations (assignments): 1691 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006085/4.15, allocations: 1.205 MB / 1.131 GB, free: 2.969 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003245/4.154, allocations: 0.9988 MB / 1.132 GB, free: 1.957 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6075/4.761, allocations: 12.82 MB / 1.145 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001638/4.762, allocations: 58.75 kB / 1.145 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.772e-05/4.762, allocations: 16.94 kB / 1.145 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001719/4.762, allocations: 29.94 kB / 1.145 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1316/4.893, allocations: 28.82 MB / 1.173 GB, free: 99.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000138/4.894, allocations: 10.19 kB / 1.173 GB, free: 99.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02411/4.918, allocations: 1.107 MB / 1.174 GB, free: 99.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01689/4.935, allocations: 2.809 MB / 1.177 GB, free: 99.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001837/4.937, allocations: 109.2 kB / 1.177 GB, free: 99.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06184/4.999, allocations: 21 MB / 1.198 GB, free: 94.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/4.999, allocations: 14.84 kB / 1.198 GB, free: 94.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05666/5.055, allocations: 22.74 MB / 1.22 GB, free: 89.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004519/5.06, allocations: 1.092 MB / 1.221 GB, free: 89.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004987/5.065, allocations: 112.3 kB / 1.221 GB, free: 89.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01145/5.076, allocations: 380.5 kB / 1.221 GB, free: 89.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002381/5.079, allocations: 355.1 kB / 1.222 GB, free: 89.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001868/5.081, allocations: 146 kB / 1.222 GB, free: 89.39 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02128/5.102, allocations: 7.288 MB / 1.229 GB, free: 87.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.152e-06/5.102, allocations: 0 / 1.229 GB, free: 87.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02128/5.123, allocations: 2.8 MB / 1.232 GB, free: 87.03 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05991/5.183, allocations: 23.94 MB / 1.255 GB, free: 75.33 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03588/5.219, allocations: 14.13 MB / 1.269 GB, free: 70.74 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/5.219, allocations: 0 / 1.269 GB, free: 70.74 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01924/5.239, allocations: 6.16 MB / 1.275 GB, free: 68.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01278/5.251, allocations: 1.321 MB / 1.276 GB, free: 67.86 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1137/5.365, allocations: 26.99 MB / 1.302 GB, free: 45.96 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02141/5.387, allocations: 8.16 MB / 1.31 GB, free: 40.13 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02361/5.41, allocations: 4.667 MB / 1.315 GB, free: 37.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01545/5.426, allocations: 5.81 MB / 1.321 GB, free: 31.83 MB / 0.5886 GB Notification: Performance of SimCode: time 2.214e-06/5.426, allocations: 0 / 1.321 GB, free: 31.83 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9741/6.4, allocations: 219.9 MB / 1.535 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/6.4, allocations: 159.8 kB / 1.536 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/19.98, allocations: 0 / 1.536 GB, free: 10.76 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat