Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-05/6.563e-05, allocations: 7.234 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1804, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5662/0.7467, allocations: 103.3 MB / 0.5016 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.747, allocations: 76.53 kB / 0.5017 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3751/1.122, allocations: 84.95 MB / 0.5846 GB, free: 11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/1.122, allocations: 0 / 0.5846 GB, free: 11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002106/1.122, allocations: 72 kB / 0.5847 GB, free: 10.93 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01355/1.136, allocations: 3.447 MB / 0.5881 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.958e-05/1.136, allocations: 8.031 kB / 0.5881 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003745/1.14, allocations: 0.7547 MB / 0.5888 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03309/1.173, allocations: 3.492 MB / 0.5922 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0244/1.197, allocations: 4.03 MB / 0.5962 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007324/1.198, allocations: 295.5 kB / 0.5964 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003765/1.202, allocations: 371.9 kB / 0.5968 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04342/1.246, allocations: 9.635 MB / 0.6062 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/1.246, allocations: 27.72 kB / 0.6062 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003238/1.249, allocations: 179.8 kB / 0.6064 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004041/1.253, allocations: 1.137 MB / 0.6075 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4412/1.695, allocations: 9.087 MB / 0.6164 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08485/1.779, allocations: 31.69 MB / 0.6473 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/1.792, allocations: 3.291 MB / 0.6505 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/1.795, allocations: 1.054 MB / 0.6516 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/1.797, allocations: 1.311 MB / 0.6529 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/1.797, allocations: 51.44 kB / 0.6529 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=185): time 8.496e-06/1.798, allocations: 0 / 0.6529 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.04018/1.838, allocations: 7.991 MB / 0.6607 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/1.838, allocations: 77.92 kB / 0.6608 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007061/1.845, allocations: 2.291 MB / 0.663 GB, free: 107 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004172/1.845, allocations: 56.95 kB / 0.6631 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002966/1.848, allocations: 2.667 MB / 0.6657 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.85, allocations: 0.7033 MB / 0.6664 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/1.85, allocations: 97.36 kB / 0.6665 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005243/1.851, allocations: 0.5094 MB / 0.667 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005237/1.856, allocations: 1.485 MB / 0.6684 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007755/1.864, allocations: 4.281 MB / 0.6726 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005672/1.87, allocations: 2.588 MB / 0.6751 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.87, allocations: 29.03 kB / 0.6751 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01707/1.887, allocations: 5.45 MB / 0.6805 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/1.887, allocations: 48.5 kB / 0.6805 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002435/1.888, allocations: 98.84 kB / 0.6806 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/1.888, allocations: 187.5 kB / 0.6808 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01805/1.907, allocations: 1.067 MB / 0.6818 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006939/1.914, allocations: 1.667 MB / 0.6835 GB, free: 95.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01572/1.929, allocations: 216.9 kB / 0.6837 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001763/1.931, allocations: 289 kB / 0.6839 GB, free: 95.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[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 (591): * Single equations (assignments): 584 * Array equations: 6 * 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.002353/1.934, allocations: 476.7 kB / 0.6844 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008957/1.934, allocations: 249.8 kB / 0.6846 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009063/1.944, allocations: 2.493 MB / 0.6871 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.345e-05/1.944, allocations: 21.62 kB / 0.6871 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.944, allocations: 0 / 0.6871 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.578e-05/1.944, allocations: 6 kB / 0.6871 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02158/1.965, allocations: 7.936 MB / 0.6948 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.965, allocations: 14.31 kB / 0.6949 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/1.968, allocations: 249.2 kB / 0.6951 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/1.968, allocations: 59.34 kB / 0.6951 GB, free: 90.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/1.968, allocations: 40.7 kB / 0.6952 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/1.97, allocations: 1.493 MB / 0.6966 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/1.97, allocations: 19.94 kB / 0.6967 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008358/1.978, allocations: 4.785 MB / 0.7013 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/1.979, allocations: 306.9 kB / 0.7016 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008028/1.98, allocations: 40.08 kB / 0.7017 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.982, allocations: 60.55 kB / 0.7017 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/1.982, allocations: 118.7 kB / 0.7018 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.982, allocations: 64.41 kB / 0.7019 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003718/1.986, allocations: 1.564 MB / 0.7034 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/1.986, allocations: 4 kB / 0.7034 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005981/1.992, allocations: 0.8104 MB / 0.7042 GB, free: 84.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.009072/2.001, allocations: 8.034 MB / 0.7121 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007819/2.009, allocations: 3.612 MB / 0.7156 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/2.009, allocations: 0 / 0.7156 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002482/2.012, allocations: 1.194 MB / 0.7168 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/2.014, allocations: 313.1 kB / 0.7171 GB, free: 71.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/2.04, allocations: 8.278 MB / 0.7251 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006964/2.047, allocations: 3.226 MB / 0.7283 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007595/2.055, allocations: 1.71 MB / 0.73 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003741/2.058, allocations: 1.694 MB / 0.7316 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of SimCode: time 2.324e-06/2.058, allocations: 0 / 0.7316 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/2.195, allocations: 56.02 MB / 0.7863 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/2.195, allocations: 168 kB / 0.7865 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.236/6.432, allocations: 4 kB / 0.7865 GB, free: 8.23 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat