Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.926e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.42, allocations: 54.86 MB / 359.9 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.6124, allocations: 99.45 MB / 459.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6127, allocations: 72.97 kB / 459.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7199/1.333, allocations: 80.51 MB / 0.5272 GB, free: 102.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.333, allocations: 1 kB / 0.5272 GB, free: 102.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000269/1.333, allocations: 71.5 kB / 0.5273 GB, free: 102.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01804/1.351, allocations: 3.785 MB / 0.531 GB, free: 101.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/1.351, allocations: 8.594 kB / 0.531 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003888/1.355, allocations: 0.6979 MB / 0.5317 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0348/1.39, allocations: 4.29 MB / 0.5359 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01949/1.409, allocations: 4.497 MB / 0.5403 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005472/1.41, allocations: 287.2 kB / 0.5405 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/1.413, allocations: 381.9 kB / 0.5409 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/1.445, allocations: 9.512 MB / 0.5502 GB, free: 97.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003527/1.445, allocations: 55.31 kB / 0.5503 GB, free: 97.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002252/1.448, allocations: 188.5 kB / 0.5504 GB, free: 97.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002126/1.45, allocations: 0.9464 MB / 0.5514 GB, free: 97.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/1.473, allocations: 7.85 MB / 0.559 GB, free: 97.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06666/1.54, allocations: 43.68 MB / 0.6017 GB, free: 65.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/1.553, allocations: 3.641 MB / 0.6052 GB, free: 63.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003733/1.557, allocations: 1.947 MB / 0.6071 GB, free: 62.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/1.557, allocations: 333.7 kB / 0.6075 GB, free: 62.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/1.557, allocations: 54.03 kB / 0.6075 GB, free: 62.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 6.001e-06/1.557, allocations: 0 / 0.6075 GB, free: 62.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.0565/1.614, allocations: 12.89 MB / 0.6201 GB, free: 57.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/1.614, allocations: 171.2 kB / 0.6203 GB, free: 56.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007528/1.621, allocations: 3.187 MB / 0.6234 GB, free: 54.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005221/1.622, allocations: 51.19 kB / 0.6234 GB, free: 54.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002513/1.625, allocations: 2.76 MB / 0.6261 GB, free: 51.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.626, allocations: 0.6785 MB / 0.6268 GB, free: 51.01 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008488/1.627, allocations: 108 kB / 0.6269 GB, free: 50.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004628/1.627, allocations: 0.5461 MB / 0.6274 GB, free: 50.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005112/1.632, allocations: 2.086 MB / 0.6295 GB, free: 48.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007108/1.64, allocations: 5.361 MB / 0.6347 GB, free: 41.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007194/1.647, allocations: 3.334 MB / 0.6379 GB, free: 38.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.647, allocations: 36 kB / 0.638 GB, free: 38.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02127/1.668, allocations: 7.601 MB / 0.6454 GB, free: 32.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/1.668, allocations: 58.5 kB / 0.6455 GB, free: 32.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/1.669, allocations: 116 kB / 0.6456 GB, free: 32.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/1.672, allocations: 0.9258 MB / 0.6465 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008327/1.681, allocations: 1.276 MB / 0.6477 GB, free: 30.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/1.692, allocations: 6.098 MB / 0.6537 GB, free: 24.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006662/1.699, allocations: 313.9 kB / 0.654 GB, free: 24.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.7, allocations: 338.3 kB / 0.6543 GB, free: 24.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 666 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001445/1.702, allocations: 0.508 MB / 0.6548 GB, free: 23.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008598/1.703, allocations: 315.9 kB / 0.6551 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009597/1.712, allocations: 3.44 MB / 0.6585 GB, free: 20.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.99e-05/1.712, allocations: 20 kB / 0.6585 GB, free: 20.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.712, allocations: 8 kB / 0.6585 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/1.713, allocations: 10.64 kB / 0.6585 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.736, allocations: 8.458 MB / 0.6667 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/1.736, allocations: 0 / 0.6667 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/1.739, allocations: 279.6 kB / 0.667 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/1.743, allocations: 0.7615 MB / 0.6678 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004202/1.743, allocations: 31.98 kB / 0.6678 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/1.754, allocations: 5.613 MB / 0.6733 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.754, allocations: 5.406 kB / 0.6733 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/1.769, allocations: 6.233 MB / 0.6794 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002712/1.771, allocations: 0.653 MB / 0.68 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.773, allocations: 28 kB / 0.68 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/1.776, allocations: 107.6 kB / 0.6801 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006482/1.777, allocations: 96.81 kB / 0.6802 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/1.777, allocations: 55.75 kB / 0.6803 GB, free: 14.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006758/1.784, allocations: 2.214 MB / 0.6824 GB, free: 12.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.82e-07/1.784, allocations: 0 / 0.6824 GB, free: 12.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007557/1.791, allocations: 0.9413 MB / 0.6834 GB, free: 11.27 MB / 474.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 (137): * Single equations (assignments): 133 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0181/1.809, allocations: 7.043 MB / 0.6902 GB, free: 4.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01313/1.823, allocations: 4.911 MB / 0.695 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/1.823, allocations: 0 / 0.695 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005631/1.828, allocations: 1.852 MB / 0.6968 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.832, allocations: 360.8 kB / 0.6972 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/1.865, allocations: 9.003 MB / 0.706 GB, free: 4.043 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008003/1.873, allocations: 3.145 MB / 0.709 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3358/2.209, allocations: 1.746 MB / 0.7107 GB, free: 118.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/2.209, allocations: 0.7812 kB / 0.7107 GB, free: 118.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.459/6.668, allocations: 91.63 MB / 0.8002 GB, free: 82.72 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat