Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.731/2.731, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.861e-05, allocations: 8 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3736, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.5872, allocations: 94.71 MB / 449.1 MB, free: 348 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.5876, allocations: 71.97 kB / 449.2 MB, free: 276 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7325/1.32, allocations: 83.17 MB / 0.5199 GB, free: 43.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.32, allocations: 0 / 0.5199 GB, free: 43.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001745/1.32, allocations: 68 kB / 0.52 GB, free: 43.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01282/1.333, allocations: 3.512 MB / 0.5234 GB, free: 40.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.333, allocations: 8.031 kB / 0.5234 GB, free: 40.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03079/1.364, allocations: 3.5 MB / 0.5268 GB, free: 36.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/1.381, allocations: 4.186 MB / 0.5309 GB, free: 32.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/1.382, allocations: 124 kB / 0.531 GB, free: 32.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002495/1.384, allocations: 231.9 kB / 0.5313 GB, free: 32.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01792/1.402, allocations: 7.033 MB / 0.5381 GB, free: 25.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02667/1.429, allocations: 9.203 MB / 0.5471 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/1.429, allocations: 23.81 kB / 0.5471 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002104/1.431, allocations: 12 kB / 0.5471 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003067/1.434, allocations: 1.168 MB / 0.5483 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07317/1.507, allocations: 29.71 MB / 0.5773 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00665/1.514, allocations: 2.946 MB / 0.5802 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/1.517, allocations: 1.034 MB / 0.5812 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/1.52, allocations: 1.31 MB / 0.5825 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/1.52, allocations: 51.91 kB / 0.5825 GB, free: 10.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=189): time 7.955e-06/1.52, allocations: 0 / 0.5825 GB, free: 10.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.03402/1.554, allocations: 8.005 MB / 0.5903 GB, free: 2.004 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/1.554, allocations: 98.36 kB / 0.5904 GB, free: 1.887 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/1.56, allocations: 2.236 MB / 0.5926 GB, free: 15.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003937/1.56, allocations: 25.7 kB / 0.5926 GB, free: 15.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00358/1.564, allocations: 2.824 MB / 0.5954 GB, free: 12.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.565, allocations: 0.7132 MB / 0.5961 GB, free: 12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005585/1.566, allocations: 0 / 0.5961 GB, free: 12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007603/1.567, allocations: 0.5847 MB / 0.5967 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004557/1.571, allocations: 1.49 MB / 0.5981 GB, free: 9.914 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008286/1.58, allocations: 4.609 MB / 0.6026 GB, free: 3.734 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007652/1.587, allocations: 2.682 MB / 0.6052 GB, free: 1.051 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/1.587, allocations: 32 kB / 0.6053 GB, free: 1.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01858/1.606, allocations: 5.489 MB / 0.6106 GB, free: 11.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.606, allocations: 52 kB / 0.6107 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.606, allocations: 112 kB / 0.6108 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/1.607, allocations: 208.9 kB / 0.611 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008822/1.616, allocations: 1.177 MB / 0.6121 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/1.618, allocations: 1.627 MB / 0.6137 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/1.624, allocations: 135.9 kB / 0.6138 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/1.625, allocations: 324 kB / 0.6142 GB, free: 7.789 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 24 (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.color[3],axis.color[2],axis.color[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 (648): * Single equations (assignments): 641 * 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.001104/1.626, allocations: 376.4 kB / 0.6145 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006365/1.632, allocations: 2.131 MB / 0.6166 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006825/1.633, allocations: 248.7 kB / 0.6168 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007425/1.641, allocations: 2.439 MB / 0.6192 GB, free: 2.555 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/1.641, allocations: 20 kB / 0.6192 GB, free: 2.535 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/1.641, allocations: 7.953 kB / 0.6192 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/1.641, allocations: 3.984 kB / 0.6192 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4002/2.041, allocations: 6.919 MB / 0.626 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/2.041, allocations: 11.53 kB / 0.626 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/2.044, allocations: 262.4 kB / 0.6263 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002944/2.044, allocations: 60.78 kB / 0.6263 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/2.044, allocations: 25.27 kB / 0.6263 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/2.046, allocations: 1.426 MB / 0.6277 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/2.046, allocations: 14.5 kB / 0.6278 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008926/2.055, allocations: 4.87 MB / 0.6325 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/2.057, allocations: 0.4935 MB / 0.633 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007354/2.058, allocations: 19.47 kB / 0.633 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/2.059, allocations: 39.08 kB / 0.633 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/2.06, allocations: 121.8 kB / 0.6332 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/2.06, allocations: 68.64 kB / 0.6332 GB, free: 108.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003551/2.064, allocations: 1.46 MB / 0.6347 GB, free: 108 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.864e-06/2.064, allocations: 0 / 0.6347 GB, free: 108 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006815/2.07, allocations: 0.7145 MB / 0.6354 GB, free: 108 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (144): * Single equations (assignments): 137 * 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.01054/2.081, allocations: 8.338 MB / 0.6435 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008882/2.09, allocations: 3.714 MB / 0.6471 GB, free: 102.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/2.09, allocations: 0 / 0.6471 GB, free: 102.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/2.093, allocations: 1.186 MB / 0.6483 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/2.095, allocations: 221.3 kB / 0.6485 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/2.125, allocations: 8.328 MB / 0.6566 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008203/2.134, allocations: 3.266 MB / 0.6598 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009739/2.143, allocations: 1.833 MB / 0.6616 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004819/2.148, allocations: 1.76 MB / 0.6633 GB, free: 98.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/2.148, allocations: 0 / 0.6633 GB, free: 98.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/2.314, allocations: 54.28 MB / 0.7163 GB, free: 60.55 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002493/2.314, allocations: 129.3 kB / 0.7165 GB, free: 60.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.953/7.267, allocations: 4 kB / 0.7165 GB, free: 60.36 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat