Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.711/2.711, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.243e-05/4.247e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4049, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.6101, allocations: 105.7 MB / 488 MB, free: 2.66 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.6105, allocations: 75.97 kB / 488.1 MB, free: 2.586 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.072/1.682, allocations: 137.8 MB / 0.6112 GB, free: 63.44 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.315e-06/1.683, allocations: 0 / 0.6112 GB, free: 63.44 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004895/1.683, allocations: 135.9 kB / 0.6114 GB, free: 63.31 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.03205/1.715, allocations: 6.646 MB / 0.6179 GB, free: 56.59 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/1.715, allocations: 12.03 kB / 0.6179 GB, free: 56.58 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01818/1.733, allocations: 1.19 MB / 0.619 GB, free: 55.38 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09631/1.83, allocations: 9.495 MB / 0.6283 GB, free: 45.86 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03057/1.86, allocations: 8.733 MB / 0.6368 GB, free: 37.04 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000628/1.861, allocations: 0.5055 MB / 0.6373 GB, free: 36.53 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00366/1.865, allocations: 0.6792 MB / 0.638 GB, free: 35.85 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04764/1.912, allocations: 15.91 MB / 0.6535 GB, free: 18.48 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005241/1.913, allocations: 95.12 kB / 0.6536 GB, free: 18.38 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003115/1.916, allocations: 339.8 kB / 0.6539 GB, free: 18.05 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003275/1.919, allocations: 1.46 MB / 0.6554 GB, free: 16.59 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03922/1.959, allocations: 12.39 MB / 0.6675 GB, free: 4.184 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5561/2.515, allocations: 70.78 MB / 0.7366 GB, free: 65.04 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02368/2.539, allocations: 5.807 MB / 0.7423 GB, free: 64.36 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00612/2.545, allocations: 3.03 MB / 0.7452 GB, free: 64.31 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/2.545, allocations: 49.48 kB / 0.7453 GB, free: 64.31 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/2.545, allocations: 63.34 kB / 0.7453 GB, free: 64.27 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=242): time 6.683e-06/2.545, allocations: 0 / 0.7453 GB, free: 64.27 MB / 0.4949 GB Notification: Performance of matching and sorting (n=260): time 0.08589/2.631, allocations: 18.98 MB / 0.7639 GB, free: 59.12 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/2.631, allocations: 259.8 kB / 0.7641 GB, free: 58.84 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01708/2.648, allocations: 6.111 MB / 0.7701 GB, free: 58.33 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007241/2.649, allocations: 64.52 kB / 0.7701 GB, free: 58.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005447/2.655, allocations: 4.887 MB / 0.7749 GB, free: 55.85 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001823/2.657, allocations: 1.001 MB / 0.7759 GB, free: 55.29 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/2.658, allocations: 171.1 kB / 0.7761 GB, free: 55.29 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006423/2.658, allocations: 0.6576 MB / 0.7767 GB, free: 54.96 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007486/2.666, allocations: 2.792 MB / 0.7794 GB, free: 54.94 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/2.677, allocations: 7.88 MB / 0.7871 GB, free: 48.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/2.689, allocations: 4.671 MB / 0.7917 GB, free: 47.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002657/2.689, allocations: 52.38 kB / 0.7917 GB, free: 47.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.03197/2.721, allocations: 10.58 MB / 0.8021 GB, free: 44.35 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001903/2.721, allocations: 88.81 kB / 0.8021 GB, free: 44.35 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003448/2.722, allocations: 181.5 kB / 0.8023 GB, free: 44.35 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/2.725, allocations: 0.8026 MB / 0.8031 GB, free: 44.21 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/2.738, allocations: 1.929 MB / 0.805 GB, free: 43.97 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/2.752, allocations: 8.311 MB / 0.8131 GB, free: 38.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/2.764, allocations: 463 kB / 0.8135 GB, free: 38 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002425/2.766, allocations: 0.5057 MB / 0.814 GB, free: 37.73 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1036): * Single equations (assignments): 1030 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003589/2.77, allocations: 0.7598 MB / 0.8148 GB, free: 36.97 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/2.772, allocations: 0.5919 MB / 0.8154 GB, free: 36.38 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/2.785, allocations: 4.273 MB / 0.8195 GB, free: 32.82 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.348e-05/2.785, allocations: 28 kB / 0.8196 GB, free: 32.79 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.972e-05/2.785, allocations: 8 kB / 0.8196 GB, free: 32.78 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.63e-05/2.785, allocations: 9.094 kB / 0.8196 GB, free: 32.78 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03503/2.82, allocations: 11.17 MB / 0.8305 GB, free: 23.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/2.82, allocations: 0 / 0.8305 GB, free: 23.71 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004322/2.825, allocations: 410.7 kB / 0.8309 GB, free: 23.38 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/2.827, allocations: 0.5023 MB / 0.8314 GB, free: 23 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006435/2.828, allocations: 42.91 kB / 0.8314 GB, free: 22.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/2.84, allocations: 7.388 MB / 0.8386 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/2.84, allocations: 3.938 kB / 0.8386 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/2.859, allocations: 7.623 MB / 0.8461 GB, free: 8.969 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004357/2.863, allocations: 0.9876 MB / 0.847 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00224/2.865, allocations: 47.19 kB / 0.8471 GB, free: 7.996 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005848/2.871, allocations: 144 kB / 0.8472 GB, free: 7.898 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/2.872, allocations: 146.2 kB / 0.8474 GB, free: 7.809 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/2.873, allocations: 67.84 kB / 0.8474 GB, free: 7.746 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01251/2.885, allocations: 4.348 MB / 0.8517 GB, free: 3.922 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.603e-06/2.885, allocations: 0 / 0.8517 GB, free: 3.922 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01235/2.898, allocations: 1.523 MB / 0.8532 GB, free: 2.406 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02191/2.92, allocations: 8.476 MB / 0.8614 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01915/2.939, allocations: 6.853 MB / 0.8681 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/2.939, allocations: 1.062 kB / 0.8681 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006846/2.946, allocations: 2.359 MB / 0.8704 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007695/2.954, allocations: 0.748 MB / 0.8712 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05834/3.012, allocations: 14.36 MB / 0.8852 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01404/3.026, allocations: 5.036 MB / 0.8901 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01466/3.041, allocations: 2.763 MB / 0.8928 GB, free: 52 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009706/3.051, allocations: 3.245 MB / 0.896 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of SimCode: time 2.605e-06/3.051, allocations: 0 / 0.896 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.805/3.856, allocations: 122 MB / 1.015 GB, free: 156.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/3.856, allocations: 163.6 kB / 1.015 GB, free: 155.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/12.04, allocations: 0 / 1.015 GB, free: 155.9 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat