Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.832/2.832, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.988e-05, allocations: 4 kB / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4097, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.6094, allocations: 97.86 MB / 452.3 MB, free: 304 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.6098, allocations: 91.92 kB / 452.4 MB, free: 212 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8637/1.474, allocations: 107.2 MB / 0.5465 GB, free: 80.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.547e-06/1.474, allocations: 0 / 0.5465 GB, free: 80.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005931/1.474, allocations: 111.9 kB / 0.5466 GB, free: 80.77 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: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02913/1.503, allocations: 6.105 MB / 0.5526 GB, free: 74.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.503, allocations: 12.03 kB / 0.5526 GB, free: 74.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08412/1.588, allocations: 10.14 MB / 0.5625 GB, free: 64.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03741/1.625, allocations: 9.81 MB / 0.5721 GB, free: 54.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/1.625, allocations: 218.7 kB / 0.5723 GB, free: 54.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/1.628, allocations: 283.8 kB / 0.5726 GB, free: 54.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01771/1.646, allocations: 6.294 MB / 0.5787 GB, free: 47.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/1.673, allocations: 8.88 MB / 0.5874 GB, free: 38.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004564/1.673, allocations: 67.39 kB / 0.5874 GB, free: 38.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001909/1.675, allocations: 16 kB / 0.5875 GB, free: 38.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002661/1.678, allocations: 0.9873 MB / 0.5884 GB, free: 37.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09056/1.768, allocations: 42.95 MB / 0.6304 GB, free: 9.441 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/1.783, allocations: 5.702 MB / 0.6359 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01123/1.794, allocations: 4.849 MB / 0.6407 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002649/1.797, allocations: 1.123 MB / 0.6418 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.666e-05/1.797, allocations: 56.81 kB / 0.6418 GB, free: 13.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 6.893e-06/1.797, allocations: 0 / 0.6418 GB, free: 13.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=415): time 0.6818/2.479, allocations: 59.8 MB / 0.7002 GB, free: 117.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/2.479, allocations: 199.8 kB / 0.7004 GB, free: 116.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008569/2.488, allocations: 3.224 MB / 0.7035 GB, free: 116.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001434/2.489, allocations: 28.89 kB / 0.7036 GB, free: 116.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003432/2.493, allocations: 3.002 MB / 0.7065 GB, free: 114.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002651/2.496, allocations: 1.384 MB / 0.7079 GB, free: 113 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/2.497, allocations: 2.781 kB / 0.7079 GB, free: 113 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004143/2.497, allocations: 0.5331 MB / 0.7084 GB, free: 112.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01023/2.507, allocations: 4.253 MB / 0.7125 GB, free: 110.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/2.52, allocations: 6.24 MB / 0.7186 GB, free: 106.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/2.533, allocations: 5.221 MB / 0.7237 GB, free: 104.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.673e-05/2.533, allocations: 19.38 kB / 0.7237 GB, free: 104.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06907/2.602, allocations: 17.63 MB / 0.741 GB, free: 97.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/2.602, allocations: 36 kB / 0.741 GB, free: 97.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/2.602, allocations: 64 kB / 0.7411 GB, free: 97.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04728/2.65, allocations: 8.361 MB / 0.7492 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008391/2.658, allocations: 1.034 MB / 0.7502 GB, free: 90.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1114/2.77, allocations: 45.33 MB / 0.7945 GB, free: 47.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/2.78, allocations: 379.3 kB / 0.7949 GB, free: 47.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001808/2.782, allocations: 282.8 kB / 0.7951 GB, free: 47.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 523 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001877/2.784, allocations: 326.8 kB / 0.7954 GB, free: 46.84 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06217/2.846, allocations: 16.08 MB / 0.8111 GB, free: 30.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002217/2.848, allocations: 462.1 kB / 0.8116 GB, free: 30.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06659/2.915, allocations: 16.95 MB / 0.8281 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06583/2.981, allocations: 15.58 MB / 0.8434 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.965e-05/2.981, allocations: 31.95 kB / 0.8434 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001291/2.981, allocations: 23.92 kB / 0.8434 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5285/3.51, allocations: 33.38 MB / 0.876 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.727e-05/3.51, allocations: 10.14 kB / 0.876 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005069/3.515, allocations: 452 kB / 0.8764 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04729/3.562, allocations: 7.949 MB / 0.8842 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001265/3.564, allocations: 15 kB / 0.8842 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1105/3.674, allocations: 44.36 MB / 0.9275 GB, free: 96.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02422/3.698, allocations: 9.13 MB / 0.9365 GB, free: 88.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07664/3.775, allocations: 23.12 MB / 0.959 GB, free: 69.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00609/3.781, allocations: 1.38 MB / 0.9604 GB, free: 67.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002652/3.784, allocations: 11.98 kB / 0.9604 GB, free: 67.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008325/3.792, allocations: 297.1 kB / 0.9607 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002675/3.795, allocations: 339.1 kB / 0.961 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008756/3.796, allocations: 104 kB / 0.9611 GB, free: 67.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006273/3.802, allocations: 2.329 MB / 0.9634 GB, free: 64.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.72e-07/3.802, allocations: 0 / 0.9634 GB, free: 64.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01168/3.814, allocations: 1.755 MB / 0.9651 GB, free: 63.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,54.5%) 97,(5,84.0%) 36} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.08434/3.898, allocations: 24.99 MB / 0.9895 GB, free: 38.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03438/3.933, allocations: 11.63 MB / 1.001 GB, free: 26.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/3.933, allocations: 4 kB / 1.001 GB, free: 26.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0322/3.965, allocations: 6.72 MB / 1.007 GB, free: 19.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009758/3.975, allocations: 0.6162 MB / 1.008 GB, free: 19.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06385/4.039, allocations: 14.88 MB / 1.023 GB, free: 4.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4055/4.444, allocations: 4.296 MB / 1.027 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01015/4.454, allocations: 1.624 MB / 1.028 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007646/4.462, allocations: 2.595 MB / 1.031 GB, free: 120.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.392e-06/4.462, allocations: 1.031 kB / 1.031 GB, free: 120.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3841/4.846, allocations: 152.6 MB / 1.18 GB, free: 14.18 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003401/4.847, allocations: 164.5 kB / 1.18 GB, free: 13.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.122/12.97, allocations: 0 / 1.18 GB, free: 13.98 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat