Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.57/2.57, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.823e-05, allocations: 0 / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5563/0.6911, allocations: 106.3 MB / 0.5046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.6915, allocations: 76.58 kB / 0.5046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1588/0.8503, allocations: 34.94 MB / 0.5388 GB, free: 10.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8504, allocations: 0 / 0.5388 GB, free: 10.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.8505, allocations: 35.98 kB / 0.5388 GB, free: 10.49 MB / 458.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.005966/0.8565, allocations: 1.683 MB / 0.5404 GB, free: 8.758 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.8566, allocations: 12.03 kB / 0.5405 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007874/0.8574, allocations: 253.3 kB / 0.5407 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/0.8613, allocations: 401.4 kB / 0.5411 GB, free: 8.094 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/0.8736, allocations: 2.807 MB / 0.5438 GB, free: 5.242 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.8738, allocations: 110.9 kB / 0.5439 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006214/0.8745, allocations: 155.9 kB / 0.5441 GB, free: 4.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.8852, allocations: 2.983 MB / 0.547 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.505e-05/0.8854, allocations: 19.78 kB / 0.547 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002797/0.8857, allocations: 71.97 kB / 0.5471 GB, free: 1.684 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000814/0.8865, allocations: 282.1 kB / 0.5473 GB, free: 1.406 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009136/0.8956, allocations: 2.136 MB / 0.5494 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02211/0.9178, allocations: 11.56 MB / 0.5607 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006949/0.9248, allocations: 1.195 MB / 0.5619 GB, free: 2.176 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009647/0.9258, allocations: 394.7 kB / 0.5623 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007223/0.9331, allocations: 3.02 MB / 0.5652 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.9332, allocations: 39 kB / 0.5652 GB, free: 14.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 4.328e-06/0.9332, allocations: 4 kB / 0.5652 GB, free: 14.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01929/0.9525, allocations: 3.335 MB / 0.5685 GB, free: 11.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.9526, allocations: 93.66 kB / 0.5686 GB, free: 10.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.9548, allocations: 1.053 MB / 0.5696 GB, free: 9.859 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.596e-05/0.955, allocations: 33.7 kB / 0.5697 GB, free: 9.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009261/0.9559, allocations: 0.9433 MB / 0.5706 GB, free: 8.863 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.9562, allocations: 217.2 kB / 0.5708 GB, free: 8.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.9563, allocations: 28 kB / 0.5708 GB, free: 8.621 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.9565, allocations: 373.9 kB / 0.5712 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009817/0.9575, allocations: 391.9 kB / 0.5715 GB, free: 7.867 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.9592, allocations: 1.225 MB / 0.5727 GB, free: 6.223 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.9607, allocations: 0.6767 MB / 0.5734 GB, free: 5.547 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-05/0.9608, allocations: 15.94 kB / 0.5734 GB, free: 5.531 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003941/0.9647, allocations: 1.594 MB / 0.575 GB, free: 3.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.9648, allocations: 16 kB / 0.575 GB, free: 3.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.435e-05/0.9649, allocations: 32 kB / 0.575 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.9652, allocations: 85.52 kB / 0.5751 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.9675, allocations: 367.3 kB / 0.5754 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.9696, allocations: 1.694 MB / 0.5771 GB, free: 1.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.9712, allocations: 71.89 kB / 0.5772 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.9713, allocations: 84 kB / 0.5772 GB, free: 1.449 MB / 490.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.0003602/0.9717, allocations: 238 kB / 0.5775 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.9719, allocations: 122.7 kB / 0.5776 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.9737, allocations: 0.6912 MB / 0.5783 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.9738, allocations: 4 kB / 0.5783 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.9738, allocations: 4 kB / 0.5783 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.9738, allocations: 3.984 kB / 0.5783 GB, free: 380 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005539/0.9794, allocations: 2.247 MB / 0.5805 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.9794, allocations: 4 kB / 0.5805 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.9802, allocations: 103.8 kB / 0.5806 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.9806, allocations: 60.83 kB / 0.5806 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.9806, allocations: 16 kB / 0.5806 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.9829, allocations: 1.73 MB / 0.5823 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.9829, allocations: 7.953 kB / 0.5823 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.9854, allocations: 1.273 MB / 0.5836 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.9858, allocations: 191.7 kB / 0.5838 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.986, allocations: 12 kB / 0.5838 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.9866, allocations: 27.98 kB / 0.5838 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.9868, allocations: 51.91 kB / 0.5839 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.9868, allocations: 20.05 kB / 0.5839 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001652/0.9885, allocations: 0.7495 MB / 0.5846 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9885, allocations: 0 / 0.5846 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002023/0.9905, allocations: 307.9 kB / 0.5849 GB, free: 9.16 MB / 0.4948 GB 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.003244/0.9938, allocations: 2.957 MB / 0.5878 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002673/0.9965, allocations: 1.006 MB / 0.5888 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.9966, allocations: 3.938 kB / 0.5888 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.9975, allocations: 386.7 kB / 0.5891 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.999, allocations: 168.6 kB / 0.5893 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/1.007, allocations: 2.592 MB / 0.5918 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/1.009, allocations: 1.482 MB / 0.5933 GB, free: 304 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00197/1.011, allocations: 409.7 kB / 0.5937 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.012, allocations: 0.5735 MB / 0.5942 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of SimCode: time 1.173e-06/1.012, allocations: 0 / 0.5942 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4203/1.432, allocations: 22.49 MB / 0.6162 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/1.433, allocations: 172.4 kB / 0.6164 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/4.798, allocations: 3.938 kB / 0.6164 GB, free: 149.2 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat