Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.429/2.429, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.422e-05, allocations: 4 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4123, allocations: 61.87 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.6052, allocations: 106.3 MB / 0.5046 GB, free: 260 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.6056, allocations: 79.95 kB / 0.5047 GB, free: 180 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4904/1.096, allocations: 34.93 MB / 0.5388 GB, free: 103 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.096, allocations: 0 / 0.5388 GB, free: 103 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001015/1.096, allocations: 37.05 kB / 0.5388 GB, free: 103 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.00531/1.102, allocations: 1.68 MB / 0.5404 GB, free: 101.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.102, allocations: 9.75 kB / 0.5404 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007366/1.102, allocations: 256.3 kB / 0.5407 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/1.106, allocations: 400.9 kB / 0.5411 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/1.116, allocations: 2.809 MB / 0.5438 GB, free: 98.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.117, allocations: 110.7 kB / 0.5439 GB, free: 98.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003998/1.117, allocations: 151.7 kB / 0.5441 GB, free: 98.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009002/1.126, allocations: 2.987 MB / 0.547 GB, free: 95.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.532e-05/1.126, allocations: 19.78 kB / 0.547 GB, free: 95.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/1.126, allocations: 75.81 kB / 0.5471 GB, free: 95.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006953/1.127, allocations: 278.1 kB / 0.5473 GB, free: 95.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007977/1.135, allocations: 2.132 MB / 0.5494 GB, free: 92.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01789/1.153, allocations: 11.58 MB / 0.5607 GB, free: 81.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006482/1.16, allocations: 1.187 MB / 0.5619 GB, free: 79.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008089/1.16, allocations: 388.5 kB / 0.5623 GB, free: 79.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005136/1.166, allocations: 3.008 MB / 0.5652 GB, free: 76.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.166, allocations: 42.94 kB / 0.5652 GB, free: 76.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 3.807e-06/1.166, allocations: 4 kB / 0.5652 GB, free: 76.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.01733/1.183, allocations: 3.346 MB / 0.5685 GB, free: 72.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.183, allocations: 81.67 kB / 0.5686 GB, free: 72.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/1.185, allocations: 1.053 MB / 0.5696 GB, free: 71.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/1.185, allocations: 33.7 kB / 0.5696 GB, free: 71.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/1.186, allocations: 0.9467 MB / 0.5706 GB, free: 70.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/1.186, allocations: 213 kB / 0.5708 GB, free: 70.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/1.186, allocations: 28 kB / 0.5708 GB, free: 70.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/1.186, allocations: 369.9 kB / 0.5712 GB, free: 70.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/1.187, allocations: 391.9 kB / 0.5715 GB, free: 69.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.188, allocations: 1.232 MB / 0.5727 GB, free: 68.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/1.189, allocations: 0.6689 MB / 0.5734 GB, free: 67.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/1.189, allocations: 11.95 kB / 0.5734 GB, free: 67.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00336/1.193, allocations: 1.598 MB / 0.575 GB, free: 65.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/1.193, allocations: 16 kB / 0.575 GB, free: 65.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.389e-05/1.193, allocations: 32 kB / 0.575 GB, free: 65.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/1.193, allocations: 85.61 kB / 0.5751 GB, free: 65.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/1.195, allocations: 367.3 kB / 0.5754 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/1.197, allocations: 1.698 MB / 0.5771 GB, free: 63.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/1.198, allocations: 67.98 kB / 0.5772 GB, free: 63.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.199, allocations: 84 kB / 0.5772 GB, free: 63.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (192): * Single equations (assignments): 191 * 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.0002935/1.199, allocations: 243.4 kB / 0.5775 GB, free: 63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/1.199, allocations: 118.5 kB / 0.5776 GB, free: 62.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/1.201, allocations: 0.6951 MB / 0.5783 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.201, allocations: 4 kB / 0.5783 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.201, allocations: 4 kB / 0.5783 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/1.201, allocations: 0 / 0.5783 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/1.205, allocations: 2.25 MB / 0.5805 GB, free: 59.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.205, allocations: 4 kB / 0.5805 GB, free: 59.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/1.206, allocations: 103.8 kB / 0.5806 GB, free: 59.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/1.206, allocations: 64.58 kB / 0.5806 GB, free: 59.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/1.206, allocations: 16 kB / 0.5806 GB, free: 59.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/1.208, allocations: 1.729 MB / 0.5823 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.208, allocations: 4 kB / 0.5823 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/1.21, allocations: 1.284 MB / 0.5836 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/1.21, allocations: 183.7 kB / 0.5838 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/1.211, allocations: 23.94 kB / 0.5838 GB, free: 56.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006758/1.211, allocations: 24.05 kB / 0.5838 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/1.211, allocations: 51.84 kB / 0.5839 GB, free: 56.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/1.211, allocations: 24.06 kB / 0.5839 GB, free: 56.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001363/1.213, allocations: 0.7495 MB / 0.5846 GB, free: 55.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.213, allocations: 0 / 0.5846 GB, free: 55.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001872/1.215, allocations: 308 kB / 0.5849 GB, free: 54.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * 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.002451/1.217, allocations: 2.951 MB / 0.5878 GB, free: 51.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/1.219, allocations: 1.009 MB / 0.5888 GB, free: 50.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.219, allocations: 0 / 0.5888 GB, free: 50.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/1.22, allocations: 375.2 kB / 0.5891 GB, free: 50.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.221, allocations: 168.6 kB / 0.5893 GB, free: 50.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/1.228, allocations: 2.597 MB / 0.5918 GB, free: 47.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.229, allocations: 1.486 MB / 0.5933 GB, free: 46.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001833/1.231, allocations: 413.7 kB / 0.5937 GB, free: 45.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009359/1.232, allocations: 0.5696 MB / 0.5942 GB, free: 45.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/1.232, allocations: 0 / 0.5942 GB, free: 45.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06401/1.296, allocations: 22.5 MB / 0.6162 GB, free: 22.83 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.296, allocations: 170.4 kB / 0.6164 GB, free: 22.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/4.447, allocations: 7.938 kB / 0.6164 GB, free: 22.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat