Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.844/1.844, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.842e-05, allocations: 0 / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4158/0.5168, allocations: 95.63 MB / 412 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5171, allocations: 78.81 kB / 412 MB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.779/1.296, allocations: 123.9 MB / 0.5234 GB, free: 84.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.296, allocations: 0 / 0.5234 GB, free: 84.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003806/1.297, allocations: 112.8 kB / 0.5235 GB, free: 84.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.02611/1.323, allocations: 6.325 MB / 0.5297 GB, free: 81.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/1.323, allocations: 9.625 kB / 0.5297 GB, free: 81.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05935/1.382, allocations: 8.315 MB / 0.5378 GB, free: 81.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0273/1.409, allocations: 7.359 MB / 0.545 GB, free: 79.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003857/1.41, allocations: 190.3 kB / 0.5452 GB, free: 79.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003712/1.414, allocations: 354.2 kB / 0.5455 GB, free: 79.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02449/1.438, allocations: 10.16 MB / 0.5555 GB, free: 73.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03558/1.474, allocations: 14.07 MB / 0.5692 GB, free: 58.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002962/1.474, allocations: 75.25 kB / 0.5693 GB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001891/1.476, allocations: 43.95 kB / 0.5693 GB, free: 58.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003486/1.48, allocations: 1.614 MB / 0.5709 GB, free: 56.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09672/1.576, allocations: 61.39 MB / 0.6308 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/1.588, allocations: 5.612 MB / 0.6363 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007891/1.596, allocations: 3.428 MB / 0.6397 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3302/1.926, allocations: 14.12 MB / 0.6535 GB, free: 90.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/1.926, allocations: 64.06 kB / 0.6535 GB, free: 90.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 7.093e-06/1.926, allocations: 1 kB / 0.6535 GB, free: 90.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.1275/2.054, allocations: 30.95 MB / 0.6837 GB, free: 84.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/2.054, allocations: 212.8 kB / 0.6839 GB, free: 84.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/2.064, allocations: 4.274 MB / 0.6881 GB, free: 82.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001103/2.065, allocations: 29.08 kB / 0.6881 GB, free: 82.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004011/2.069, allocations: 4.514 MB / 0.6926 GB, free: 79.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002108/2.071, allocations: 1.218 MB / 0.6937 GB, free: 78.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/2.073, allocations: 0 / 0.6937 GB, free: 78.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006981/2.073, allocations: 0.7002 MB / 0.6944 GB, free: 77.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009543/2.083, allocations: 4.395 MB / 0.6987 GB, free: 76.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/2.096, allocations: 9.569 MB / 0.7081 GB, free: 67.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/2.109, allocations: 6.398 MB / 0.7143 GB, free: 65.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002706/2.11, allocations: 51.62 kB / 0.7144 GB, free: 65.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.06735/2.177, allocations: 17.69 MB / 0.7316 GB, free: 56.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/2.177, allocations: 84 kB / 0.7317 GB, free: 55.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002632/2.177, allocations: 184 kB / 0.7319 GB, free: 55.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03866/2.216, allocations: 5.632 MB / 0.7374 GB, free: 52.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/2.23, allocations: 2.14 MB / 0.7395 GB, free: 50.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05285/2.283, allocations: 21.62 MB / 0.7606 GB, free: 31.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/2.294, allocations: 387.3 kB / 0.761 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002522/2.297, allocations: 0.5273 MB / 0.7615 GB, free: 30.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1106): * Single equations (assignments): 1098 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003836/2.301, allocations: 0.5571 MB / 0.762 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05088/2.352, allocations: 11.94 MB / 0.7737 GB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001898/2.354, allocations: 489.4 kB / 0.7742 GB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07213/2.426, allocations: 12.1 MB / 0.786 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001766/2.426, allocations: 58.95 kB / 0.786 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.103e-05/2.426, allocations: 8 kB / 0.786 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.682e-05/2.426, allocations: 15.14 kB / 0.786 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3879/2.814, allocations: 22.58 MB / 0.8081 GB, free: 95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.463e-05/2.814, allocations: 5.281 kB / 0.8081 GB, free: 95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005887/2.82, allocations: 0.5703 MB / 0.8087 GB, free: 95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03451/2.855, allocations: 4.637 MB / 0.8132 GB, free: 94.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000881/2.856, allocations: 10.75 kB / 0.8132 GB, free: 94.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0355/2.891, allocations: 17.33 MB / 0.8301 GB, free: 91.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/2.891, allocations: 11 kB / 0.8301 GB, free: 91.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05606/2.947, allocations: 17.09 MB / 0.8468 GB, free: 84.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004633/2.952, allocations: 1.187 MB / 0.848 GB, free: 84.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/2.954, allocations: 11.77 kB / 0.848 GB, free: 84.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009137/2.963, allocations: 206.8 kB / 0.8482 GB, free: 84.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001645/2.965, allocations: 191.4 kB / 0.8484 GB, free: 84.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005811/2.966, allocations: 84.12 kB / 0.8485 GB, free: 84.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007539/2.973, allocations: 2.851 MB / 0.8512 GB, free: 83.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.415e-06/2.973, allocations: 0 / 0.8512 GB, free: 83.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01215/2.985, allocations: 1.491 MB / 0.8527 GB, free: 83.48 MB / 442.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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06764/3.053, allocations: 18.81 MB / 0.8711 GB, free: 75.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02188/3.075, allocations: 10.06 MB / 0.8809 GB, free: 72.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/3.075, allocations: 1.594 kB / 0.8809 GB, free: 72.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008378/3.083, allocations: 3.862 MB / 0.8847 GB, free: 68.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/3.088, allocations: 461 kB / 0.8851 GB, free: 68.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05361/3.142, allocations: 15.23 MB / 0.9 GB, free: 54.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01453/3.156, allocations: 4.74 MB / 0.9046 GB, free: 51.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01941/3.176, allocations: 3.112 MB / 0.9076 GB, free: 49.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01029/3.186, allocations: 2.905 MB / 0.9105 GB, free: 46.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.684e-06/3.186, allocations: 0 / 0.9105 GB, free: 46.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6526/3.839, allocations: 127.8 MB / 1.035 GB, free: 88.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/3.839, allocations: 151.6 kB / 1.035 GB, free: 88.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.216/10.06, allocations: 0 / 1.035 GB, free: 88.33 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat