Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.25e-05, allocations: 7.984 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.546, allocations: 95.18 MB / 417 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5464, allocations: 74.59 kB / 417.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6972/1.244, allocations: 98.76 MB / 0.5038 GB, free: 92.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.244, allocations: 0 / 0.5038 GB, free: 92.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003319/1.244, allocations: 87.22 kB / 0.5039 GB, free: 92.72 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02354/1.268, allocations: 5.115 MB / 0.5089 GB, free: 90.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.268, allocations: 9.156 kB / 0.5089 GB, free: 90.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004314/1.272, allocations: 0.8421 MB / 0.5097 GB, free: 90.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03547/1.307, allocations: 4.615 MB / 0.5142 GB, free: 90.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02339/1.331, allocations: 6.059 MB / 0.5201 GB, free: 89.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004884/1.331, allocations: 347.6 kB / 0.5204 GB, free: 89.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/1.334, allocations: 465 kB / 0.5209 GB, free: 89.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03923/1.374, allocations: 12.52 MB / 0.5331 GB, free: 86.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003458/1.374, allocations: 70.48 kB / 0.5332 GB, free: 86.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002271/1.376, allocations: 222.5 kB / 0.5334 GB, free: 86.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002778/1.379, allocations: 1.26 MB / 0.5346 GB, free: 86.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03297/1.412, allocations: 10.53 MB / 0.5449 GB, free: 85.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08633/1.499, allocations: 55.73 MB / 0.5993 GB, free: 44.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0256/1.524, allocations: 5.903 MB / 0.6051 GB, free: 40.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005696/1.53, allocations: 3.029 MB / 0.6081 GB, free: 38.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02916/1.559, allocations: 13.05 MB / 0.6208 GB, free: 26.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/1.559, allocations: 55.81 kB / 0.6209 GB, free: 26.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 5.961e-06/1.559, allocations: 4 kB / 0.6209 GB, free: 26.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1495/1.709, allocations: 30.54 MB / 0.6507 GB, free: 14.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.709, allocations: 213.8 kB / 0.6509 GB, free: 14.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.72, allocations: 3.815 MB / 0.6546 GB, free: 10.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000842/1.721, allocations: 65.53 kB / 0.6547 GB, free: 10.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004081/1.725, allocations: 3.322 MB / 0.6579 GB, free: 6.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002052/1.727, allocations: 0.9564 MB / 0.6589 GB, free: 5.973 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/1.729, allocations: 140 kB / 0.659 GB, free: 5.836 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007808/1.729, allocations: 0.5998 MB / 0.6596 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008871/1.738, allocations: 2.993 MB / 0.6625 GB, free: 2.227 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3703/2.109, allocations: 6.83 MB / 0.6692 GB, free: 96.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/2.121, allocations: 4.47 MB / 0.6735 GB, free: 96.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002213/2.121, allocations: 39.84 kB / 0.6736 GB, free: 96.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04705/2.168, allocations: 11.86 MB / 0.6852 GB, free: 96.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/2.168, allocations: 64.06 kB / 0.6852 GB, free: 96.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000233/2.168, allocations: 136.5 kB / 0.6853 GB, free: 96.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01618/2.185, allocations: 3.21 MB / 0.6885 GB, free: 96.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/2.195, allocations: 1.546 MB / 0.69 GB, free: 96.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03624/2.231, allocations: 14.93 MB / 0.7046 GB, free: 93.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009535/2.241, allocations: 477.9 kB / 0.705 GB, free: 93.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/2.243, allocations: 406.2 kB / 0.7054 GB, free: 92.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (806): * Single equations (assignments): 802 * 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.00214/2.245, allocations: 0.6062 MB / 0.706 GB, free: 92.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/2.246, allocations: 409.1 kB / 0.7064 GB, free: 92.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02563/2.272, allocations: 7.364 MB / 0.7136 GB, free: 90.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.967e-05/2.272, allocations: 32.7 kB / 0.7136 GB, free: 90.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/2.272, allocations: 10.03 kB / 0.7136 GB, free: 90.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/2.272, allocations: 12.84 kB / 0.7136 GB, free: 90.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04458/2.316, allocations: 14.99 MB / 0.7283 GB, free: 84.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/2.317, allocations: 0 / 0.7283 GB, free: 84.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003739/2.32, allocations: 377.6 kB / 0.7286 GB, free: 84.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/2.336, allocations: 2.871 MB / 0.7314 GB, free: 84.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006537/2.336, allocations: 38.66 kB / 0.7315 GB, free: 84.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03076/2.367, allocations: 13.25 MB / 0.7444 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.367, allocations: 2.5 kB / 0.7444 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0429/2.41, allocations: 11.33 MB / 0.7555 GB, free: 69.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004343/2.414, allocations: 0.9117 MB / 0.7564 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/2.416, allocations: 40 kB / 0.7564 GB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006216/2.423, allocations: 206 kB / 0.7566 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001206/2.424, allocations: 142.1 kB / 0.7568 GB, free: 68.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004415/2.424, allocations: 72.22 kB / 0.7568 GB, free: 68.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008403/2.433, allocations: 2.668 MB / 0.7594 GB, free: 66.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.112e-06/2.433, allocations: 0 / 0.7594 GB, free: 66.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01184/2.445, allocations: 1.306 MB / 0.7607 GB, free: 65.05 MB / 442.7 MB 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.03416/2.479, allocations: 12.15 MB / 0.7726 GB, free: 54.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01847/2.497, allocations: 7.424 MB / 0.7798 GB, free: 47.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.497, allocations: 0 / 0.7798 GB, free: 47.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007597/2.505, allocations: 3.01 MB / 0.7828 GB, free: 45.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/2.509, allocations: 452.1 kB / 0.7832 GB, free: 44.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03645/2.546, allocations: 11.86 MB / 0.7948 GB, free: 33.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008806/2.554, allocations: 3.766 MB / 0.7984 GB, free: 29.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005625/2.56, allocations: 2.264 MB / 0.8007 GB, free: 27.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/2.56, allocations: 0 / 0.8007 GB, free: 27.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.97/7.53, allocations: 115.8 MB / 0.9137 GB, free: 54.76 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat