Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.849e-05, allocations: 0 / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1413, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5449/0.6862, allocations: 110.1 MB / 0.5083 GB, free: 9.824 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.6865, allocations: 79.95 kB / 0.5083 GB, free: 9.746 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.443/1.13, allocations: 100.4 MB / 0.6064 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.695e-06/1.13, allocations: 0 / 0.6064 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000475/1.13, allocations: 88 kB / 0.6065 GB, free: 4.59 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.4626/1.593, allocations: 5.109 MB / 0.6115 GB, free: 114 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/1.593, allocations: 10.78 kB / 0.6115 GB, free: 114 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01759/1.61, allocations: 0.847 MB / 0.6123 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06829/1.679, allocations: 4.616 MB / 0.6168 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02346/1.702, allocations: 5.776 MB / 0.6224 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005463/1.703, allocations: 349.4 kB / 0.6228 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002732/1.706, allocations: 465.6 kB / 0.6232 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04089/1.747, allocations: 12.55 MB / 0.6355 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/1.747, allocations: 68.56 kB / 0.6355 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/1.749, allocations: 221.8 kB / 0.6358 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003071/1.752, allocations: 1.27 MB / 0.637 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03336/1.785, allocations: 10.54 MB / 0.6473 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08705/1.873, allocations: 55.8 MB / 0.7018 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02577/1.898, allocations: 5.905 MB / 0.7076 GB, free: 68.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005731/1.904, allocations: 3.026 MB / 0.7105 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03036/1.935, allocations: 13.03 MB / 0.7232 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/1.935, allocations: 58.77 kB / 0.7233 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 5.63e-06/1.935, allocations: 0 / 0.7233 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.1512/2.086, allocations: 30.47 MB / 0.753 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/2.086, allocations: 209.2 kB / 0.7532 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008948/2.095, allocations: 3.815 MB / 0.757 GB, free: 33.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007525/2.096, allocations: 61.7 kB / 0.757 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003021/2.099, allocations: 3.449 MB / 0.7604 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001627/2.101, allocations: 0.9426 MB / 0.7613 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009636/2.101, allocations: 136 kB / 0.7614 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004672/2.102, allocations: 0.5956 MB / 0.762 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007208/2.109, allocations: 2.992 MB / 0.765 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/2.12, allocations: 6.862 MB / 0.7717 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009948/2.13, allocations: 4.482 MB / 0.776 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/2.13, allocations: 44 kB / 0.7761 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.03791/2.168, allocations: 12.02 MB / 0.7878 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/2.168, allocations: 66.5 kB / 0.7879 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/2.168, allocations: 139.9 kB / 0.788 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01722/2.185, allocations: 3.205 MB / 0.7911 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/2.196, allocations: 1.552 MB / 0.7927 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04122/2.237, allocations: 14.94 MB / 0.8072 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008986/2.246, allocations: 471.3 kB / 0.8077 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/2.248, allocations: 415.8 kB / 0.8081 GB, free: 11.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 805 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002713/2.251, allocations: 0.6107 MB / 0.8087 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/2.253, allocations: 406.8 kB / 0.8091 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02968/2.282, allocations: 7.364 MB / 0.8163 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-05/2.282, allocations: 24 kB / 0.8163 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.802e-05/2.282, allocations: 15.98 kB / 0.8163 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.918e-05/2.282, allocations: 7.969 kB / 0.8163 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4271/2.71, allocations: 14.97 MB / 0.8309 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/2.71, allocations: 2.5 kB / 0.8309 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004103/2.714, allocations: 385.1 kB / 0.8313 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/2.731, allocations: 2.874 MB / 0.8341 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007672/2.732, allocations: 44.31 kB / 0.8341 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03383/2.766, allocations: 13.24 MB / 0.8471 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/2.766, allocations: 1.688 kB / 0.8471 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.033/2.799, allocations: 11.32 MB / 0.8581 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/2.8, allocations: 448.1 kB / 0.8586 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001814/2.802, allocations: 44.84 kB / 0.8586 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00494/2.807, allocations: 205.2 kB / 0.8588 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/2.808, allocations: 151 kB / 0.8589 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000379/2.809, allocations: 65.33 kB / 0.859 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006916/2.816, allocations: 2.656 MB / 0.8616 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.81e-07/2.816, allocations: 0 / 0.8616 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008717/2.824, allocations: 1.311 MB / 0.8629 GB, free: 127.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03499/2.859, allocations: 12.17 MB / 0.8748 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01901/2.878, allocations: 7.426 MB / 0.882 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/2.878, allocations: 3.906 kB / 0.882 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008369/2.887, allocations: 3.005 MB / 0.8849 GB, free: 118.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004389/2.891, allocations: 462 kB / 0.8854 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03656/2.928, allocations: 11.34 MB / 0.8965 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00821/2.936, allocations: 3.767 MB / 0.9001 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01032/2.947, allocations: 2.178 MB / 0.9023 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005756/2.952, allocations: 2.213 MB / 0.9044 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/2.952, allocations: 2.344 kB / 0.9044 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/3.167, allocations: 100.7 MB / 1.003 GB, free: 24.69 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/3.167, allocations: 163.1 kB / 1.003 GB, free: 24.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.193/9.36, allocations: 0 / 1.003 GB, free: 24.47 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat