Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.664/2.664, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.696e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 54.85 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.6094, allocations: 96.46 MB / 450.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.6098, allocations: 79.89 kB / 451 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5119/1.122, allocations: 32.57 MB / 483.5 MB, free: 92.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.122, allocations: 0 / 483.5 MB, free: 92.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001086/1.122, allocations: 27.03 kB / 483.6 MB, free: 92.71 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005395/1.127, allocations: 1.655 MB / 485.2 MB, free: 91.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.127, allocations: 10.22 kB / 485.2 MB, free: 91.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/1.131, allocations: 397.8 kB / 485.6 MB, free: 91.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/1.144, allocations: 2.907 MB / 488.5 MB, free: 88.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/1.144, allocations: 44 kB / 488.6 MB, free: 88.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/1.144, allocations: 80 kB / 488.7 MB, free: 88.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004388/1.149, allocations: 1.716 MB / 490.4 MB, free: 86.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/1.154, allocations: 2.432 MB / 492.8 MB, free: 83.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.815e-05/1.154, allocations: 15.84 kB / 492.8 MB, free: 83.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/1.155, allocations: 8 kB / 492.8 MB, free: 83.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008365/1.155, allocations: 262 kB / 493.1 MB, free: 83.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/1.179, allocations: 11.62 MB / 0.4929 GB, free: 71.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/1.18, allocations: 485.4 kB / 0.4933 GB, free: 71.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009348/1.181, allocations: 309.4 kB / 0.4936 GB, free: 70.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/1.182, allocations: 335.1 kB / 0.4939 GB, free: 70.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.182, allocations: 38.56 kB / 0.494 GB, free: 70.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 5.421e-06/1.182, allocations: 0 / 0.494 GB, free: 70.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.02046/1.202, allocations: 2.887 MB / 0.4968 GB, free: 67.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/1.203, allocations: 111.2 kB / 0.4969 GB, free: 67.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/1.205, allocations: 0.9139 MB / 0.4978 GB, free: 66.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.205, allocations: 25.7 kB / 0.4978 GB, free: 66.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.206, allocations: 0.9315 MB / 0.4987 GB, free: 65.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/1.207, allocations: 189.4 kB / 0.4989 GB, free: 65.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.207, allocations: 0 / 0.4989 GB, free: 65.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002945/1.207, allocations: 422.7 kB / 0.4993 GB, free: 64.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.208, allocations: 347.9 kB / 0.4997 GB, free: 64.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/1.21, allocations: 1.152 MB / 0.5008 GB, free: 62.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/1.213, allocations: 0.6104 MB / 0.5014 GB, free: 62.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/1.213, allocations: 8 kB / 0.5014 GB, free: 62.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00564/1.218, allocations: 1.405 MB / 0.5028 GB, free: 60.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/1.218, allocations: 24.58 kB / 0.5028 GB, free: 60.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.509e-05/1.218, allocations: 28 kB / 0.5028 GB, free: 60.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/1.219, allocations: 89.64 kB / 0.5029 GB, free: 60.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/1.222, allocations: 355.3 kB / 0.5032 GB, free: 60.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/1.225, allocations: 1.638 MB / 0.5048 GB, free: 58.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/1.228, allocations: 39.89 kB / 0.5049 GB, free: 58.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/1.228, allocations: 87.98 kB / 0.505 GB, free: 58.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (182): * Single equations (assignments): 181 * 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.0004622/1.229, allocations: 190.6 kB / 0.5051 GB, free: 58.3 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002252/1.231, allocations: 0.5658 MB / 0.5057 GB, free: 57.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/1.231, allocations: 106.6 kB / 0.5058 GB, free: 57.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/1.234, allocations: 0.6167 MB / 0.5064 GB, free: 56.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.234, allocations: 12 kB / 0.5064 GB, free: 56.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/1.234, allocations: 0 / 0.5064 GB, free: 56.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.234, allocations: 0 / 0.5064 GB, free: 56.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006877/1.241, allocations: 1.854 MB / 0.5082 GB, free: 55.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.241, allocations: 4 kB / 0.5082 GB, free: 55.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.242, allocations: 99.75 kB / 0.5083 GB, free: 54.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/1.243, allocations: 56.83 kB / 0.5084 GB, free: 54.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/1.243, allocations: 8.469 kB / 0.5084 GB, free: 54.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/1.245, allocations: 1.67 MB / 0.51 GB, free: 53.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.245, allocations: 7.938 kB / 0.51 GB, free: 53.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/1.247, allocations: 1.132 MB / 0.5111 GB, free: 51.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/1.248, allocations: 211.8 kB / 0.5113 GB, free: 51.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/1.248, allocations: 15.98 kB / 0.5113 GB, free: 51.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000857/1.249, allocations: 20.05 kB / 0.5114 GB, free: 51.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.249, allocations: 39.84 kB / 0.5114 GB, free: 51.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/1.249, allocations: 20 kB / 0.5114 GB, free: 51.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00148/1.251, allocations: 0.6362 MB / 0.512 GB, free: 50.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.251, allocations: 0 / 0.512 GB, free: 50.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002626/1.254, allocations: 260 kB / 0.5123 GB, free: 50.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 47 * 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.002934/1.257, allocations: 2.756 MB / 0.515 GB, free: 47.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002541/1.259, allocations: 0.9232 MB / 0.5159 GB, free: 46.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.259, allocations: 0 / 0.5159 GB, free: 46.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008388/1.26, allocations: 356.2 kB / 0.5162 GB, free: 46.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.262, allocations: 141.3 kB / 0.5163 GB, free: 46.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008614/1.27, allocations: 2.422 MB / 0.5187 GB, free: 43.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/1.272, allocations: 1.457 MB / 0.5201 GB, free: 42.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002258/1.275, allocations: 400.9 kB / 0.5205 GB, free: 41.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/1.276, allocations: 0.5462 MB / 0.521 GB, free: 41.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/1.276, allocations: 3.938 kB / 0.5211 GB, free: 41.31 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.382, allocations: 20.04 MB / 0.5406 GB, free: 21.33 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002547/1.382, allocations: 138.1 kB / 0.5408 GB, free: 21.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.443/4.826, allocations: 0 / 0.5408 GB, free: 21.14 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat