Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.615e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3822, allocations: 54.84 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.5595, allocations: 96.47 MB / 450.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.5598, allocations: 71.97 kB / 450.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1493/0.7091, allocations: 32.56 MB / 483.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7092, allocations: 4 kB / 483.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.7093, allocations: 32 kB / 483.5 MB, free: 0.9102 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005171/0.7145, allocations: 1.647 MB / 485.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.7145, allocations: 8.031 kB / 485.1 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.718, allocations: 405.5 kB / 485.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.7298, allocations: 2.9 MB / 488.4 MB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.73, allocations: 44 kB / 488.5 MB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.7304, allocations: 91.98 kB / 488.6 MB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004799/0.7352, allocations: 1.709 MB / 490.3 MB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00637/0.7417, allocations: 2.439 MB / 492.7 MB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.339e-05/0.7418, allocations: 15.84 kB / 492.7 MB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.7421, allocations: 4 kB / 492.7 MB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007803/0.7428, allocations: 266 kB / 493 MB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3308/1.074, allocations: 11.6 MB / 0.4928 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/1.075, allocations: 492.7 kB / 0.4932 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005978/1.076, allocations: 304.7 kB / 0.4935 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/1.076, allocations: 334.1 kB / 0.4938 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/1.076, allocations: 43.59 kB / 0.4939 GB, free: 103.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 3.717e-06/1.076, allocations: 0 / 0.4939 GB, free: 103.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.0129/1.089, allocations: 2.887 MB / 0.4967 GB, free: 102.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/1.089, allocations: 108.8 kB / 0.4968 GB, free: 102.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.091, allocations: 0.9157 MB / 0.4977 GB, free: 102.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/1.091, allocations: 25.7 kB / 0.4977 GB, free: 102.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007031/1.092, allocations: 0.9247 MB / 0.4986 GB, free: 101.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/1.092, allocations: 192.8 kB / 0.4988 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/1.092, allocations: 0 / 0.4988 GB, free: 101.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002035/1.092, allocations: 421.3 kB / 0.4992 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/1.093, allocations: 342 kB / 0.4995 GB, free: 101.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.094, allocations: 1.159 MB / 0.5007 GB, free: 100.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/1.096, allocations: 0.6019 MB / 0.5013 GB, free: 100.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/1.096, allocations: 8.281 kB / 0.5013 GB, free: 100.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00376/1.099, allocations: 1.417 MB / 0.5027 GB, free: 100.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/1.099, allocations: 16.59 kB / 0.5027 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.631e-05/1.1, allocations: 31.69 kB / 0.5027 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/1.1, allocations: 98.17 kB / 0.5028 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/1.102, allocations: 343.7 kB / 0.5031 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/1.104, allocations: 1.646 MB / 0.5047 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.106, allocations: 41.41 kB / 0.5048 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.106, allocations: 79.91 kB / 0.5048 GB, free: 98.89 MB / 426.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.0003253/1.106, allocations: 194.8 kB / 0.505 GB, free: 98.75 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001284/1.107, allocations: 0.5656 MB / 0.5056 GB, free: 98.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/1.108, allocations: 106.7 kB / 0.5057 GB, free: 98.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/1.109, allocations: 0.6148 MB / 0.5063 GB, free: 98.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.109, allocations: 5.656 kB / 0.5063 GB, free: 98.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.109, allocations: 9.578 kB / 0.5063 GB, free: 98.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.109, allocations: 6.891 kB / 0.5063 GB, free: 98.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/1.113, allocations: 1.844 MB / 0.5081 GB, free: 97.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.113, allocations: 12.56 kB / 0.5081 GB, free: 97.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/1.114, allocations: 88.58 kB / 0.5082 GB, free: 97.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/1.114, allocations: 57.55 kB / 0.5083 GB, free: 97.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/1.114, allocations: 11.09 kB / 0.5083 GB, free: 97.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/1.116, allocations: 1.662 MB / 0.5099 GB, free: 96.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.116, allocations: 12.31 kB / 0.5099 GB, free: 96.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/1.118, allocations: 1.151 MB / 0.511 GB, free: 95.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/1.119, allocations: 209.1 kB / 0.5112 GB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/1.119, allocations: 7.719 kB / 0.5112 GB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/1.12, allocations: 11.59 kB / 0.5112 GB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/1.12, allocations: 53.72 kB / 0.5113 GB, free: 95.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/1.12, allocations: 19.69 kB / 0.5113 GB, free: 95.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001128/1.121, allocations: 0.6374 MB / 0.5119 GB, free: 95.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.583e-06/1.121, allocations: 0 / 0.5119 GB, free: 95.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002199/1.123, allocations: 252.2 kB / 0.5122 GB, free: 95.52 MB / 426.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.002282/1.125, allocations: 2.737 MB / 0.5149 GB, free: 93.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/1.128, allocations: 0.9269 MB / 0.5158 GB, free: 92.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.128, allocations: 3.828 kB / 0.5158 GB, free: 92.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/1.128, allocations: 365.4 kB / 0.5161 GB, free: 92.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.13, allocations: 129.7 kB / 0.5162 GB, free: 92.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/1.136, allocations: 2.434 MB / 0.5186 GB, free: 91.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.138, allocations: 1.458 MB / 0.52 GB, free: 90.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001767/1.14, allocations: 396.2 kB / 0.5204 GB, free: 90.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/1.141, allocations: 0.552 MB / 0.521 GB, free: 90.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/1.141, allocations: 0 / 0.521 GB, free: 90.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07929/1.22, allocations: 20.02 MB / 0.5405 GB, free: 82.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/1.22, allocations: 133.6 kB / 0.5406 GB, free: 82.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/4.235, allocations: 0 / 0.5406 GB, free: 82.22 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat