Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.367e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4648, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.6497, allocations: 100.2 MB / 460 MB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.6501, allocations: 79.95 kB / 460.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7283/1.378, allocations: 94.69 MB / 0.5418 GB, free: 103 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.378, allocations: 0 / 0.5418 GB, free: 103 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003704/1.379, allocations: 87.84 kB / 0.5419 GB, free: 103 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.02066/1.4, allocations: 4.615 MB / 0.5464 GB, free: 101.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/1.4, allocations: 10.41 kB / 0.5464 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004661/1.404, allocations: 0.9097 MB / 0.5473 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04955/1.454, allocations: 6.742 MB / 0.5539 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/1.477, allocations: 6.306 MB / 0.56 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/1.477, allocations: 327.1 kB / 0.5604 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/1.48, allocations: 435.1 kB / 0.5608 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03413/1.514, allocations: 10.93 MB / 0.5714 GB, free: 96.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000334/1.515, allocations: 67.94 kB / 0.5715 GB, free: 96.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0019/1.516, allocations: 211.5 kB / 0.5717 GB, free: 96.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/1.519, allocations: 1.016 MB / 0.5727 GB, free: 96.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02831/1.547, allocations: 8.982 MB / 0.5815 GB, free: 93.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06915/1.616, allocations: 47.57 MB / 0.6279 GB, free: 54.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/1.634, allocations: 4.084 MB / 0.6319 GB, free: 50.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003581/1.637, allocations: 1.788 MB / 0.6337 GB, free: 49.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/1.653, allocations: 7.509 MB / 0.641 GB, free: 41.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/1.653, allocations: 55.5 kB / 0.6411 GB, free: 41.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=180): time 5.931e-06/1.653, allocations: 0 / 0.6411 GB, free: 41.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=236): time 0.1451/1.798, allocations: 25.69 MB / 0.6661 GB, free: 16.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/1.799, allocations: 205.9 kB / 0.6663 GB, free: 15.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008951/1.808, allocations: 3.756 MB / 0.67 GB, free: 12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007081/1.808, allocations: 61.7 kB / 0.6701 GB, free: 11.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002899/1.811, allocations: 3.234 MB / 0.6732 GB, free: 8.695 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.813, allocations: 0.8743 MB / 0.6741 GB, free: 7.828 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008859/1.814, allocations: 124 kB / 0.6742 GB, free: 7.707 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003802/1.814, allocations: 0.5627 MB / 0.6747 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007384/1.821, allocations: 3.367 MB / 0.678 GB, free: 3.766 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/1.832, allocations: 6.933 MB / 0.6848 GB, free: 11.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/1.844, allocations: 4.738 MB / 0.6894 GB, free: 6.305 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/1.844, allocations: 36 kB / 0.6895 GB, free: 6.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.06771/1.912, allocations: 14.97 MB / 0.7041 GB, free: 7.289 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.912, allocations: 60 kB / 0.7041 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/1.912, allocations: 140 kB / 0.7043 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04368/1.956, allocations: 5.925 MB / 0.7101 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3417/2.298, allocations: 1.424 MB / 0.7114 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05775/2.355, allocations: 24.95 MB / 0.7358 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00885/2.364, allocations: 395.3 kB / 0.7362 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/2.366, allocations: 374.4 kB / 0.7366 GB, free: 114.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (743): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001837/2.368, allocations: 0.5798 MB / 0.7371 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/2.369, allocations: 401.6 kB / 0.7375 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0495/2.419, allocations: 10.76 MB / 0.748 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/2.419, allocations: 26.25 kB / 0.748 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/2.419, allocations: 7.031 kB / 0.748 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.144e-05/2.419, allocations: 13.56 kB / 0.7481 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07429/2.493, allocations: 20.13 MB / 0.7677 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.315e-05/2.493, allocations: 7.156 kB / 0.7677 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/2.497, allocations: 389.9 kB / 0.7681 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03678/2.534, allocations: 4.988 MB / 0.773 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006647/2.535, allocations: 42.22 kB / 0.773 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04382/2.579, allocations: 20.15 MB / 0.7927 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/2.579, allocations: 5.781 kB / 0.7927 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0533/2.632, allocations: 14.5 MB / 0.8068 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003478/2.635, allocations: 0.9595 MB / 0.8078 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001578/2.637, allocations: 43.78 kB / 0.8078 GB, free: 81.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00518/2.642, allocations: 168.3 kB / 0.808 GB, free: 81.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.643, allocations: 159.4 kB / 0.8081 GB, free: 81.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003971/2.644, allocations: 61.64 kB / 0.8082 GB, free: 81.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006807/2.651, allocations: 2.643 MB / 0.8108 GB, free: 78.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.51e-07/2.651, allocations: 1.688 kB / 0.8108 GB, free: 78.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008985/2.66, allocations: 1.314 MB / 0.8121 GB, free: 77.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05393/2.714, allocations: 16.3 MB / 0.828 GB, free: 61.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01703/2.731, allocations: 7.641 MB / 0.8354 GB, free: 53.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/2.731, allocations: 0 / 0.8354 GB, free: 53.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007003/2.738, allocations: 3.04 MB / 0.8384 GB, free: 50.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004671/2.743, allocations: 497 kB / 0.8389 GB, free: 50.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0354/2.778, allocations: 11.39 MB / 0.85 GB, free: 39.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007919/2.786, allocations: 3.598 MB / 0.8535 GB, free: 35.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009295/2.795, allocations: 1.974 MB / 0.8554 GB, free: 33.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005419/2.801, allocations: 2.068 MB / 0.8575 GB, free: 31.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/2.801, allocations: 0 / 0.8575 GB, free: 31.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6103/3.411, allocations: 108.9 MB / 0.9638 GB, free: 109 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/3.412, allocations: 181.9 kB / 0.964 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.847/9.258, allocations: 7.938 kB / 0.964 GB, free: 108.8 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat