Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.562e-05, allocations: 4 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.7 MB / 316.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4607/0.5685, allocations: 89.99 MB / 406.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5688, allocations: 75.5 kB / 406.4 MB, free: 2.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1962/0.765, allocations: 32.55 MB / 438.9 MB, free: 5.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7651, allocations: 0 / 438.9 MB, free: 5.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00016/0.7653, allocations: 32 kB / 439 MB, free: 5.473 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.008088/0.7734, allocations: 1.655 MB / 440.6 MB, free: 3.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.7735, allocations: 8.031 kB / 440.6 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/0.7786, allocations: 401.8 kB / 441 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/0.7963, allocations: 2.897 MB / 443.9 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.7966, allocations: 44 kB / 444 MB, free: 384 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008063/0.7974, allocations: 83.91 kB / 444 MB, free: 300 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007688/0.8051, allocations: 1.72 MB / 445.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007698/0.8129, allocations: 2.424 MB / 448.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.411e-05/0.813, allocations: 19.86 kB / 448.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.8132, allocations: 8 kB / 448.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008206/0.8141, allocations: 262.1 kB / 448.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/0.8385, allocations: 11.62 MB / 460.1 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.84, allocations: 489.6 kB / 460.6 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007318/0.8407, allocations: 304 kB / 460.9 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.8414, allocations: 343.1 kB / 461.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.8414, allocations: 42.52 kB / 461.2 MB, free: 14.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.887e-06/0.8414, allocations: 0 / 461.2 MB, free: 14.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.01461/0.8561, allocations: 2.882 MB / 464.1 MB, free: 11.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.8562, allocations: 107.2 kB / 464.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.8584, allocations: 0.9177 MB / 465.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.8586, allocations: 25.7 kB / 465.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000982/0.8596, allocations: 0.9237 MB / 466.1 MB, free: 9.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.86, allocations: 189.4 kB / 466.3 MB, free: 9.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.8602, allocations: 0 / 466.3 MB, free: 9.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004266/0.8606, allocations: 430.7 kB / 466.7 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/0.8615, allocations: 343.9 kB / 467 MB, free: 8.383 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.8631, allocations: 1.152 MB / 468.2 MB, free: 6.816 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.8647, allocations: 0.6027 MB / 468.8 MB, free: 6.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/0.8647, allocations: 11.94 kB / 468.8 MB, free: 6.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0041/0.8688, allocations: 1.421 MB / 470.2 MB, free: 4.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/0.8689, allocations: 20 kB / 470.2 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.771e-05/0.869, allocations: 28 kB / 470.3 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.8693, allocations: 88.83 kB / 470.4 MB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.8716, allocations: 343.3 kB / 470.7 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.8738, allocations: 1.646 MB / 472.3 MB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.8756, allocations: 40.05 kB / 472.4 MB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.8759, allocations: 84 kB / 472.5 MB, free: 2.418 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (182): * Single equations (assignments): 181 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003946/0.8763, allocations: 190.5 kB / 472.6 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001625/0.878, allocations: 0.5658 MB / 473.2 MB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.8783, allocations: 106.7 kB / 473.3 MB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.8804, allocations: 0.6167 MB / 473.9 MB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.8805, allocations: 8 kB / 473.9 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8805, allocations: 0 / 473.9 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.8805, allocations: 3.984 kB / 473.9 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005217/0.8857, allocations: 1.847 MB / 475.8 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.8858, allocations: 4 kB / 475.8 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.8866, allocations: 91.89 kB / 475.9 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.8869, allocations: 56.83 kB / 475.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.8869, allocations: 8 kB / 476 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.8894, allocations: 1.681 MB / 477.6 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.8894, allocations: 7.938 kB / 477.6 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.8918, allocations: 1.148 MB / 478.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000578/0.8924, allocations: 215.7 kB / 479 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.8926, allocations: 4 kB / 479 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.8932, allocations: 15.98 kB / 479 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.8934, allocations: 43.91 kB / 479.1 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.8934, allocations: 20 kB / 479.1 MB, free: 11.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001484/0.8949, allocations: 0.6401 MB / 479.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.895, allocations: 0 / 479.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002293/0.8973, allocations: 252 kB / 480 MB, free: 10.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003249/0.9006, allocations: 2.731 MB / 482.7 MB, free: 7.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.9031, allocations: 0.9249 MB / 483.6 MB, free: 6.699 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/0.9032, allocations: 8 kB / 483.6 MB, free: 6.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008324/0.9041, allocations: 349.3 kB / 484 MB, free: 6.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.9054, allocations: 140.9 kB / 484.1 MB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008132/0.9136, allocations: 2.449 MB / 486.6 MB, free: 3.652 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.9156, allocations: 1.449 MB / 488 MB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002011/0.9177, allocations: 396.8 kB / 488.4 MB, free: 1.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/0.9191, allocations: 0.5501 MB / 488.9 MB, free: 1.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/0.9191, allocations: 0 / 488.9 MB, free: 1.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4082/1.327, allocations: 20.02 MB / 0.497 GB, free: 122.9 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.328, allocations: 135 kB / 0.4972 GB, free: 122.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.355, allocations: 0 / 0.4972 GB, free: 122.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat