Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.884/2.884, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.99e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4421, allocations: 54.87 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.648, allocations: 98.78 MB / 453.2 MB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.6483, allocations: 79.95 kB / 453.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7153/1.364, allocations: 78.84 MB / 0.5197 GB, free: 45.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.364, allocations: 4 kB / 0.5197 GB, free: 45.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002152/1.364, allocations: 71.98 kB / 0.5197 GB, free: 45.43 MB / 394.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.01503/1.379, allocations: 3.777 MB / 0.5234 GB, free: 41.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.379, allocations: 12.03 kB / 0.5234 GB, free: 41.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04304/1.422, allocations: 4.281 MB / 0.5276 GB, free: 37.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02463/1.447, allocations: 4.494 MB / 0.532 GB, free: 32.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/1.447, allocations: 128.5 kB / 0.5321 GB, free: 32.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/1.45, allocations: 220.2 kB / 0.5323 GB, free: 32.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01714/1.467, allocations: 5.633 MB / 0.5378 GB, free: 26.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/1.49, allocations: 8.678 MB / 0.5463 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003207/1.491, allocations: 59.47 kB / 0.5464 GB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/1.492, allocations: 28 kB / 0.5464 GB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002826/1.495, allocations: 0.9435 MB / 0.5473 GB, free: 16.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09451/1.59, allocations: 41.86 MB / 0.5882 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007952/1.598, allocations: 3.218 MB / 0.5913 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004848/1.603, allocations: 1.919 MB / 0.5932 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007419/1.603, allocations: 339.8 kB / 0.5935 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/1.603, allocations: 51.28 kB / 0.5936 GB, free: 15.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 6.181e-06/1.603, allocations: 0 / 0.5936 GB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.05478/1.658, allocations: 13.1 MB / 0.6064 GB, free: 2.102 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.658, allocations: 171.5 kB / 0.6065 GB, free: 1.898 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007949/1.666, allocations: 2.749 MB / 0.6092 GB, free: 15.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004992/1.667, allocations: 25.7 kB / 0.6093 GB, free: 15.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003726/1.671, allocations: 2.881 MB / 0.6121 GB, free: 12.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/1.672, allocations: 0.6709 MB / 0.6127 GB, free: 11.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007692/1.673, allocations: 192 / 0.6127 GB, free: 11.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000607/1.674, allocations: 0.5497 MB / 0.6133 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006035/1.68, allocations: 2.026 MB / 0.6152 GB, free: 8.918 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.69, allocations: 5.475 MB / 0.6206 GB, free: 1.688 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.377/2.067, allocations: 3.316 MB / 0.6238 GB, free: 108.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/2.067, allocations: 34.53 kB / 0.6239 GB, free: 108.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=748) (initialization): time 0.02276/2.09, allocations: 7.468 MB / 0.6312 GB, free: 107.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/2.09, allocations: 58.12 kB / 0.6312 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/2.09, allocations: 122.5 kB / 0.6313 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/2.094, allocations: 0.9366 MB / 0.6322 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009278/2.103, allocations: 1.33 MB / 0.6335 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/2.116, allocations: 5.753 MB / 0.6392 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006706/2.123, allocations: 220.6 kB / 0.6394 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009512/2.124, allocations: 354 kB / 0.6397 GB, free: 106.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * 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 (700): * Single equations (assignments): 696 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001083/2.125, allocations: 404.1 kB / 0.6401 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01006/2.135, allocations: 3.598 MB / 0.6436 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007857/2.136, allocations: 293.8 kB / 0.6439 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009712/2.145, allocations: 3.3 MB / 0.6471 GB, free: 106 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/2.146, allocations: 23.48 kB / 0.6471 GB, free: 106 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/2.146, allocations: 7.312 kB / 0.6471 GB, free: 106 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/2.146, allocations: 6.422 kB / 0.6471 GB, free: 106 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/2.167, allocations: 7.648 MB / 0.6546 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/2.167, allocations: 3.75 kB / 0.6546 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/2.171, allocations: 292.8 kB / 0.6549 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/2.174, allocations: 0.7434 MB / 0.6556 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/2.175, allocations: 11.34 kB / 0.6556 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/2.186, allocations: 5.261 MB / 0.6608 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/2.186, allocations: 0 / 0.6608 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/2.2, allocations: 6.074 MB / 0.6667 GB, free: 98.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/2.202, allocations: 0.624 MB / 0.6673 GB, free: 97.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008224/2.203, allocations: 3.875 kB / 0.6673 GB, free: 97.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/2.206, allocations: 78.45 kB / 0.6674 GB, free: 97.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004766/2.206, allocations: 96.62 kB / 0.6675 GB, free: 97.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/2.207, allocations: 40.09 kB / 0.6675 GB, free: 97.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00403/2.211, allocations: 1.837 MB / 0.6693 GB, free: 97.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.211, allocations: 3.094 kB / 0.6693 GB, free: 97.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007007/2.218, allocations: 0.8045 MB / 0.6701 GB, free: 97.2 MB / 458.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.01466/2.233, allocations: 6.88 MB / 0.6768 GB, free: 92.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01203/2.245, allocations: 5.007 MB / 0.6817 GB, free: 88.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/2.245, allocations: 0 / 0.6817 GB, free: 88.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004587/2.249, allocations: 1.826 MB / 0.6835 GB, free: 86.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/2.252, allocations: 297.1 kB / 0.6838 GB, free: 86.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02498/2.277, allocations: 8.335 MB / 0.6919 GB, free: 79.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004952/2.282, allocations: 3.132 MB / 0.695 GB, free: 76.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008969/2.291, allocations: 1.868 MB / 0.6968 GB, free: 75.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00473/2.296, allocations: 1.692 MB / 0.6984 GB, free: 74.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/2.296, allocations: 3.938 kB / 0.6985 GB, free: 74.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/2.484, allocations: 67.52 MB / 0.7644 GB, free: 11.66 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002918/2.485, allocations: 167.8 kB / 0.7646 GB, free: 11.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.281/7.766, allocations: 0 / 0.7646 GB, free: 11.46 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat