Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.527/2.527, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.481e-05/4.489e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3967, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.5955, allocations: 107 MB / 489.3 MB, free: 1.402 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.5959, allocations: 71.97 kB / 489.3 MB, free: 1.332 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6859/1.282, allocations: 83.99 MB / 0.5599 GB, free: 110.4 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.884e-06/1.282, allocations: 0 / 0.5599 GB, free: 110.4 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002487/1.282, allocations: 89.38 kB / 0.56 GB, free: 110.4 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: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01398/1.296, allocations: 3.989 MB / 0.5639 GB, free: 108.5 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.296, allocations: 10.34 kB / 0.5639 GB, free: 108.5 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003039/1.299, allocations: 0.7713 MB / 0.5646 GB, free: 108.1 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02463/1.324, allocations: 2.358 MB / 0.5669 GB, free: 107 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/1.342, allocations: 5.226 MB / 0.572 GB, free: 102.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/1.343, allocations: 329.5 kB / 0.5724 GB, free: 102.2 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/1.345, allocations: 433 kB / 0.5728 GB, free: 101.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02889/1.374, allocations: 10.52 MB / 0.583 GB, free: 90.35 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002544/1.374, allocations: 63.41 kB / 0.5831 GB, free: 90.29 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001669/1.376, allocations: 209.6 kB / 0.5833 GB, free: 90.11 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002143/1.378, allocations: 1.034 MB / 0.5843 GB, free: 89.07 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/1.403, allocations: 8.348 MB / 0.5925 GB, free: 80.71 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06896/1.472, allocations: 48.96 MB / 0.6403 GB, free: 30.32 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/1.487, allocations: 3.783 MB / 0.644 GB, free: 26.39 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/1.491, allocations: 1.579 MB / 0.6455 GB, free: 24.81 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01683/1.507, allocations: 7.785 MB / 0.6531 GB, free: 16.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/1.508, allocations: 55.5 kB / 0.6532 GB, free: 16.64 MB / 458.8 MB Notification: Performance of pre-optimization done (n=153): time 7.224e-06/1.508, allocations: 0 / 0.6532 GB, free: 16.64 MB / 458.8 MB Notification: Performance of matching and sorting (n=169): time 0.07253/1.58, allocations: 12.36 MB / 0.6652 GB, free: 4.164 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001671/1.582, allocations: 1.596 MB / 0.6668 GB, free: 2.395 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00773/1.59, allocations: 3.475 MB / 0.6702 GB, free: 14.89 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004348/1.59, allocations: 45.7 kB / 0.6702 GB, free: 14.84 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003396/1.593, allocations: 3.17 MB / 0.6733 GB, free: 11.66 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.595, allocations: 0.6831 MB / 0.674 GB, free: 10.99 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005122/1.595, allocations: 120 kB / 0.6741 GB, free: 10.87 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0004966/1.596, allocations: 0.5664 MB / 0.6747 GB, free: 10.3 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005222/1.601, allocations: 1.984 MB / 0.6766 GB, free: 8.309 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008439/1.609, allocations: 5.754 MB / 0.6822 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008202/1.618, allocations: 3.367 MB / 0.6855 GB, free: 13.28 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/1.618, allocations: 40 kB / 0.6855 GB, free: 13.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02573/1.644, allocations: 7.951 MB / 0.6933 GB, free: 5.273 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.644, allocations: 64 kB / 0.6934 GB, free: 5.211 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009208/1.653, allocations: 2.574 MB / 0.6959 GB, free: 2.625 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006367/1.659, allocations: 1.139 MB / 0.697 GB, free: 1.473 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008864/1.668, allocations: 1.404 MB / 0.6984 GB, free: 68 kB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008575/1.677, allocations: 4.698 MB / 0.703 GB, free: 11.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006881/1.684, allocations: 393.8 kB / 0.7033 GB, free: 10.71 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.685, allocations: 384 kB / 0.7037 GB, free: 10.34 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 39 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (764): * Single equations (assignments): 755 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001214/1.686, allocations: 0.5824 MB / 0.7043 GB, free: 9.754 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008857/1.687, allocations: 350.8 kB / 0.7046 GB, free: 9.41 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.697, allocations: 2.984 MB / 0.7075 GB, free: 6.395 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008607/1.706, allocations: 2.5 MB / 0.71 GB, free: 3.875 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.338e-05/1.706, allocations: 4 kB / 0.71 GB, free: 3.871 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/1.706, allocations: 11.92 kB / 0.71 GB, free: 3.859 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3801/2.086, allocations: 9.492 MB / 0.7192 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/2.086, allocations: 4.812 kB / 0.7192 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/2.089, allocations: 267.8 kB / 0.7195 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005234/2.094, allocations: 1.01 MB / 0.7205 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/2.094, allocations: 47.14 kB / 0.7205 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007498/2.102, allocations: 4.799 MB / 0.7252 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001088/2.103, allocations: 1.456 MB / 0.7266 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/2.116, allocations: 5.778 MB / 0.7323 GB, free: 133.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/2.117, allocations: 404.2 kB / 0.7327 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006708/2.118, allocations: 36.41 kB / 0.7327 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/2.121, allocations: 130.1 kB / 0.7328 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/2.121, allocations: 118.9 kB / 0.7329 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/2.121, allocations: 54.47 kB / 0.733 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005167/2.126, allocations: 2.399 MB / 0.7353 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.72e-07/2.126, allocations: 0 / 0.7353 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006897/2.133, allocations: 1.035 MB / 0.7363 GB, free: 133.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01326/2.147, allocations: 7.429 MB / 0.7436 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0135/2.16, allocations: 5.276 MB / 0.7488 GB, free: 128.1 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.16, allocations: 0 / 0.7488 GB, free: 128.1 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006481/2.167, allocations: 2.072 MB / 0.7508 GB, free: 127.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/2.17, allocations: 428.7 kB / 0.7512 GB, free: 127 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/2.198, allocations: 9.331 MB / 0.7603 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006276/2.205, allocations: 3.345 MB / 0.7636 GB, free: 122.4 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008557/2.213, allocations: 1.91 MB / 0.7654 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004441/2.218, allocations: 1.898 MB / 0.7673 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of SimCode: time 1.623e-06/2.218, allocations: 0 / 0.7673 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/2.395, allocations: 75.49 MB / 0.841 GB, free: 50.77 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/2.395, allocations: 180.4 kB / 0.8412 GB, free: 50.54 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.303/7.698, allocations: 0 / 0.8412 GB, free: 50.54 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat