Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.607e-05/4.625e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.455, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.637, allocations: 94.72 MB / 449.1 MB, free: 3.496 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.6374, allocations: 75.97 kB / 449.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6902/1.328, allocations: 83.15 MB / 0.5198 GB, free: 101.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.328, allocations: 0 / 0.5198 GB, free: 101.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001834/1.328, allocations: 71.25 kB / 0.5199 GB, free: 101.4 MB / 426.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.01793/1.346, allocations: 3.507 MB / 0.5233 GB, free: 99.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/1.346, allocations: 10.94 kB / 0.5233 GB, free: 99.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04125/1.387, allocations: 3.51 MB / 0.5267 GB, free: 98.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02443/1.412, allocations: 4.182 MB / 0.5308 GB, free: 96.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004979/1.412, allocations: 127.3 kB / 0.5309 GB, free: 96.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003452/1.416, allocations: 222.3 kB / 0.5312 GB, free: 96.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01915/1.435, allocations: 7.03 MB / 0.538 GB, free: 89.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/1.461, allocations: 9.213 MB / 0.547 GB, free: 79.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/1.462, allocations: 27.81 kB / 0.547 GB, free: 79.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002401/1.464, allocations: 12 kB / 0.5471 GB, free: 79.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002771/1.467, allocations: 1.164 MB / 0.5482 GB, free: 78.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06153/1.528, allocations: 29.71 MB / 0.5772 GB, free: 48.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/1.533, allocations: 2.936 MB / 0.5801 GB, free: 45.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/1.535, allocations: 1.038 MB / 0.5811 GB, free: 44.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.537, allocations: 1.305 MB / 0.5824 GB, free: 42.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.537, allocations: 43.88 kB / 0.5824 GB, free: 42.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=189): time 7.193e-06/1.537, allocations: 0 / 0.5824 GB, free: 42.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.02686/1.563, allocations: 8.016 MB / 0.5902 GB, free: 34.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.564, allocations: 94.42 kB / 0.5903 GB, free: 34.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/1.569, allocations: 2.24 MB / 0.5925 GB, free: 32.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003974/1.569, allocations: 33.64 kB / 0.5925 GB, free: 32.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002283/1.572, allocations: 2.812 MB / 0.5953 GB, free: 29.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.573, allocations: 0.7092 MB / 0.596 GB, free: 28.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006097/1.574, allocations: 4 kB / 0.596 GB, free: 28.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006662/1.574, allocations: 0.5848 MB / 0.5966 GB, free: 28.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003775/1.578, allocations: 1.486 MB / 0.598 GB, free: 26.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005915/1.584, allocations: 4.613 MB / 0.6025 GB, free: 20.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008701/1.593, allocations: 2.686 MB / 0.6051 GB, free: 17.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001833/1.593, allocations: 32 kB / 0.6052 GB, free: 17.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02317/1.616, allocations: 5.489 MB / 0.6105 GB, free: 12.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/1.616, allocations: 52 kB / 0.6106 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002809/1.617, allocations: 112 kB / 0.6107 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008006/1.618, allocations: 204.8 kB / 0.6109 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009959/1.628, allocations: 1.17 MB / 0.612 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/1.63, allocations: 1.639 MB / 0.6136 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007592/1.638, allocations: 132.2 kB / 0.6138 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/1.64, allocations: 327.9 kB / 0.6141 GB, free: 8.531 MB / 426.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.002533/1.642, allocations: 380.3 kB / 0.6144 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009185/1.652, allocations: 2.135 MB / 0.6165 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.653, allocations: 252.7 kB / 0.6168 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/1.661, allocations: 2.432 MB / 0.6191 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.735e-05/1.661, allocations: 27.27 kB / 0.6192 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.661, allocations: 0 / 0.6192 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.649e-05/1.661, allocations: 3.984 kB / 0.6192 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.683, allocations: 6.925 MB / 0.6259 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-05/1.683, allocations: 8 kB / 0.6259 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.685, allocations: 255.6 kB / 0.6262 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/1.685, allocations: 60.83 kB / 0.6262 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000368/1.686, allocations: 27.94 kB / 0.6263 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/1.688, allocations: 1.436 MB / 0.6277 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.413e-05/1.688, allocations: 15.94 kB / 0.6277 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.698, allocations: 4.865 MB / 0.6324 GB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.701, allocations: 0.4978 MB / 0.6329 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008661/1.701, allocations: 19.98 kB / 0.6329 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.704, allocations: 31.95 kB / 0.633 GB, free: 4.375 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/1.704, allocations: 129 kB / 0.6331 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/1.704, allocations: 67.98 kB / 0.6331 GB, free: 4.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005179/1.71, allocations: 1.463 MB / 0.6346 GB, free: 2.711 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.71, allocations: 0 / 0.6346 GB, free: 2.711 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009339/1.719, allocations: 0.7109 MB / 0.6353 GB, free: 2 MB / 442.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.01694/1.736, allocations: 8.317 MB / 0.6434 GB, free: 9.332 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01324/1.749, allocations: 3.71 MB / 0.647 GB, free: 5.629 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.037e-05/1.749, allocations: 3.938 kB / 0.647 GB, free: 5.625 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004136/1.754, allocations: 1.194 MB / 0.6482 GB, free: 4.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/1.757, allocations: 220.3 kB / 0.6484 GB, free: 4.211 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/1.798, allocations: 8.334 MB / 0.6565 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009158/1.807, allocations: 3.266 MB / 0.6597 GB, free: 8.395 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009183/1.816, allocations: 1.835 MB / 0.6615 GB, free: 6.551 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005055/1.821, allocations: 1.757 MB / 0.6632 GB, free: 4.793 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/1.821, allocations: 0 / 0.6632 GB, free: 4.793 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4876/2.309, allocations: 54.25 MB / 0.7162 GB, free: 117.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/2.309, allocations: 124.8 kB / 0.7163 GB, free: 117.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.584/6.894, allocations: 3.094 kB / 0.7163 GB, free: 117.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat