Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.064e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 61.89 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5696/0.7026, allocations: 110.3 MB / 0.5084 GB, free: 9.609 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.7029, allocations: 76.66 kB / 0.5085 GB, free: 9.535 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.854/1.557, allocations: 118.3 MB / 0.624 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.474e-06/1.557, allocations: 3.469 kB / 0.624 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004748/1.557, allocations: 117.6 kB / 0.6241 GB, free: 109.6 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: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.02633/1.584, allocations: 5.847 MB / 0.6298 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.584, allocations: 9.906 kB / 0.6298 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004842/1.589, allocations: 0.9978 MB / 0.6308 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05172/1.64, allocations: 6.976 MB / 0.6376 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02778/1.668, allocations: 7.445 MB / 0.6449 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/1.669, allocations: 429.6 kB / 0.6453 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003453/1.673, allocations: 0.571 MB / 0.6459 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04108/1.714, allocations: 13.5 MB / 0.6591 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005376/1.714, allocations: 87.75 kB / 0.6591 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00295/1.717, allocations: 264.7 kB / 0.6594 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002682/1.72, allocations: 1.287 MB / 0.6606 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03399/1.754, allocations: 11.05 MB / 0.6714 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09226/1.846, allocations: 61.28 MB / 0.7313 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02274/1.869, allocations: 5.59 MB / 0.7367 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006008/1.875, allocations: 3.241 MB / 0.7399 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009048/1.876, allocations: 0.6827 MB / 0.7406 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/1.876, allocations: 64.16 kB / 0.7406 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 6.262e-06/1.876, allocations: 0 / 0.7406 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=311): time 0.134/2.01, allocations: 28.72 MB / 0.7687 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/2.01, allocations: 261.3 kB / 0.7689 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/2.021, allocations: 4.562 MB / 0.7734 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008979/2.022, allocations: 73.7 kB / 0.7734 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003699/2.026, allocations: 3.973 MB / 0.7773 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/2.028, allocations: 1.16 MB / 0.7785 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/2.029, allocations: 151.9 kB / 0.7786 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005088/2.03, allocations: 0.632 MB / 0.7792 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007772/2.037, allocations: 3.197 MB / 0.7823 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/2.048, allocations: 7.319 MB / 0.7895 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/2.06, allocations: 4.84 MB / 0.7942 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/2.06, allocations: 40 kB / 0.7943 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.03894/2.099, allocations: 11.89 MB / 0.8059 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/2.099, allocations: 68 kB / 0.8059 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002473/2.099, allocations: 144 kB / 0.8061 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3892/2.489, allocations: 2.125 MB / 0.8081 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01234/2.501, allocations: 1.718 MB / 0.8098 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03291/2.534, allocations: 14.33 MB / 0.8238 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009829/2.544, allocations: 446.5 kB / 0.8242 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002231/2.546, allocations: 444.1 kB / 0.8247 GB, free: 108.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 44 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (909): * Single equations (assignments): 904 * 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 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002987/2.549, allocations: 0.6673 MB / 0.8253 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/2.551, allocations: 493.6 kB / 0.8258 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/2.573, allocations: 6.911 MB / 0.8325 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-05/2.573, allocations: 31.48 kB / 0.8326 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.127e-05/2.573, allocations: 15.91 kB / 0.8326 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.91e-05/2.573, allocations: 14.11 kB / 0.8326 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04562/2.619, allocations: 15.74 MB / 0.848 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.432e-05/2.619, allocations: 7.781 kB / 0.848 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004864/2.624, allocations: 497.3 kB / 0.8484 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00845/2.633, allocations: 1.872 MB / 0.8503 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008802/2.634, allocations: 61.73 kB / 0.8503 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02761/2.661, allocations: 12.82 MB / 0.8628 GB, free: 98.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/2.661, allocations: 15.75 kB / 0.8629 GB, free: 98.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02736/2.689, allocations: 11.9 MB / 0.8745 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/2.691, allocations: 0.5356 MB / 0.875 GB, free: 92.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002057/2.693, allocations: 58.33 kB / 0.8751 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005439/2.698, allocations: 215.5 kB / 0.8753 GB, free: 92.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/2.699, allocations: 195.5 kB / 0.8755 GB, free: 92.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003602/2.7, allocations: 91.03 kB / 0.8755 GB, free: 92.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008275/2.708, allocations: 3.204 MB / 0.8787 GB, free: 91.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.213e-06/2.708, allocations: 0 / 0.8787 GB, free: 91.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01365/2.722, allocations: 1.474 MB / 0.8801 GB, free: 90.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 244 * 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 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0396/2.761, allocations: 13.9 MB / 0.8937 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02451/2.786, allocations: 7.797 MB / 0.9013 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.098e-05/2.786, allocations: 3.875 kB / 0.9013 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/2.799, allocations: 3.781 MB / 0.905 GB, free: 78.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005658/2.805, allocations: 0.6341 MB / 0.9056 GB, free: 77.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04241/2.847, allocations: 13.87 MB / 0.9192 GB, free: 66.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009291/2.857, allocations: 4.447 MB / 0.9235 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01106/2.868, allocations: 2.457 MB / 0.9259 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006501/2.874, allocations: 2.725 MB / 0.9286 GB, free: 58.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.523e-06/2.874, allocations: 0 / 0.9286 GB, free: 58.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6413/3.516, allocations: 116.9 MB / 1.043 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/3.516, allocations: 164.2 kB / 1.043 GB, free: 117.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/10.64, allocations: 4 kB / 1.043 GB, free: 117.5 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat