Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.615/2.615, allocations: 270 MB / 283.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.398e-05, allocations: 0 / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4319, allocations: 61.89 MB / 410.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.6231, allocations: 103.3 MB / 0.5016 GB, free: 3.168 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.6235, allocations: 75.97 kB / 0.5017 GB, free: 3.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7566/1.38, allocations: 84.92 MB / 0.5846 GB, free: 56.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.38, allocations: 3.938 kB / 0.5846 GB, free: 56.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001757/1.38, allocations: 75.98 kB / 0.5847 GB, free: 56.68 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01289/1.393, allocations: 3.447 MB / 0.588 GB, free: 53.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.393, allocations: 8.031 kB / 0.588 GB, free: 53.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003779/1.397, allocations: 0.7586 MB / 0.5888 GB, free: 52.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02632/1.424, allocations: 3.485 MB / 0.5922 GB, free: 48.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/1.44, allocations: 4.034 MB / 0.5961 GB, free: 44.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/1.44, allocations: 287.5 kB / 0.5964 GB, free: 44.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002806/1.443, allocations: 383.8 kB / 0.5968 GB, free: 44.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02973/1.473, allocations: 9.643 MB / 0.6062 GB, free: 34.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002514/1.473, allocations: 27.81 kB / 0.6062 GB, free: 34.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002492/1.476, allocations: 167.9 kB / 0.6064 GB, free: 33.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/1.478, allocations: 1.137 MB / 0.6075 GB, free: 32.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02611/1.504, allocations: 9.095 MB / 0.6164 GB, free: 23.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06574/1.57, allocations: 31.69 MB / 0.6473 GB, free: 7.121 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.581, allocations: 3.296 MB / 0.6505 GB, free: 3.598 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/1.584, allocations: 1.058 MB / 0.6516 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002029/1.586, allocations: 1.311 MB / 0.6528 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/1.586, allocations: 43.88 kB / 0.6529 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 6.522e-06/1.586, allocations: 0 / 0.6529 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.04299/1.629, allocations: 7.996 MB / 0.6607 GB, free: 8.871 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/1.629, allocations: 68.7 kB / 0.6608 GB, free: 8.793 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006505/1.636, allocations: 2.301 MB / 0.663 GB, free: 6.469 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004152/1.636, allocations: 49.7 kB / 0.6631 GB, free: 6.414 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003355/1.64, allocations: 2.67 MB / 0.6657 GB, free: 3.703 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.641, allocations: 0.6977 MB / 0.6663 GB, free: 2.996 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/1.642, allocations: 96 kB / 0.6664 GB, free: 2.902 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006295/1.642, allocations: 0.5127 MB / 0.6669 GB, free: 2.383 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004711/1.647, allocations: 1.485 MB / 0.6684 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008163/1.655, allocations: 4.285 MB / 0.6726 GB, free: 11.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00697/1.662, allocations: 2.582 MB / 0.6751 GB, free: 8.617 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/1.663, allocations: 32 kB / 0.6751 GB, free: 8.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01775/1.68, allocations: 5.447 MB / 0.6804 GB, free: 3.129 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.681, allocations: 52.25 kB / 0.6805 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/1.681, allocations: 100 kB / 0.6806 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/1.681, allocations: 192.9 kB / 0.6808 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007205/1.689, allocations: 1.072 MB / 0.6818 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/1.691, allocations: 1.663 MB / 0.6834 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005/1.696, allocations: 211.9 kB / 0.6836 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.698, allocations: 288 kB / 0.6839 GB, free: 15.43 MB / 0.4948 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.002041/1.7, allocations: 485.5 kB / 0.6844 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007032/1.7, allocations: 244.8 kB / 0.6846 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007908/1.708, allocations: 2.502 MB / 0.6871 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.481e-05/1.709, allocations: 27.98 kB / 0.6871 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.709, allocations: 0 / 0.6871 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/1.709, allocations: 7.969 kB / 0.6871 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.735, allocations: 7.924 MB / 0.6948 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/1.735, allocations: 8 kB / 0.6948 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002358/1.737, allocations: 251.6 kB / 0.6951 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/1.738, allocations: 56.83 kB / 0.6951 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004084/1.738, allocations: 51.97 kB / 0.6952 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/1.741, allocations: 1.5 MB / 0.6966 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.932e-05/1.741, allocations: 11.94 kB / 0.6967 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/1.757, allocations: 4.784 MB / 0.7013 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.759, allocations: 305.9 kB / 0.7016 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/1.76, allocations: 35.95 kB / 0.7017 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0031/1.763, allocations: 67.92 kB / 0.7017 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007011/1.764, allocations: 116.7 kB / 0.7018 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/1.765, allocations: 63.98 kB / 0.7019 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006454/1.771, allocations: 1.563 MB / 0.7034 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.162e-06/1.771, allocations: 0 / 0.7034 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03407/1.805, allocations: 0.8047 MB / 0.7042 GB, free: 9.828 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.03893/1.844, allocations: 8.049 MB / 0.7121 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.4182/2.262, allocations: 3.599 MB / 0.7156 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/2.262, allocations: 2.219 kB / 0.7156 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/2.265, allocations: 1.2 MB / 0.7168 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/2.268, allocations: 303.2 kB / 0.717 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/2.296, allocations: 8.272 MB / 0.7251 GB, free: 144 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007681/2.304, allocations: 3.22 MB / 0.7283 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008043/2.312, allocations: 1.715 MB / 0.7299 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004204/2.316, allocations: 1.689 MB / 0.7316 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/2.316, allocations: 0 / 0.7316 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1798/2.496, allocations: 56.02 MB / 0.7863 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/2.496, allocations: 175.1 kB / 0.7865 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.507/7.003, allocations: 7.844 kB / 0.7865 GB, free: 110.5 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat