Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.293/2.293, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.142e-05, allocations: 7.984 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3942, allocations: 54.86 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.5755, allocations: 97.13 MB / 457 MB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.5759, allocations: 75.97 kB / 457.1 MB, free: 15.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1508/0.7267, allocations: 33.22 MB / 490.3 MB, free: 14.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7267, allocations: 0 / 490.3 MB, free: 14.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001079/0.7268, allocations: 28 kB / 490.3 MB, free: 14.25 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005826/0.7327, allocations: 1.656 MB / 492 MB, free: 12.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.7328, allocations: 8.031 kB / 492 MB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007729/0.7335, allocations: 248.8 kB / 492.2 MB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/0.737, allocations: 397.5 kB / 492.6 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.7494, allocations: 2.904 MB / 495.5 MB, free: 8.945 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.7496, allocations: 102.8 kB / 495.6 MB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004651/0.7501, allocations: 144.2 kB / 495.8 MB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009581/0.7597, allocations: 2.888 MB / 498.6 MB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.858e-05/0.7598, allocations: 11.94 kB / 498.7 MB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.7601, allocations: 63.98 kB / 498.7 MB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007628/0.7608, allocations: 270 kB / 499 MB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008446/0.7693, allocations: 2.073 MB / 0.4893 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02048/0.7898, allocations: 11.26 MB / 0.5003 GB, free: 7.578 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/0.796, allocations: 1.065 MB / 0.5014 GB, free: 6.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009053/0.797, allocations: 367.4 kB / 0.5017 GB, free: 6.137 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005544/0.8026, allocations: 2.63 MB / 0.5043 GB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.8027, allocations: 38.56 kB / 0.5043 GB, free: 3.262 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.897e-06/0.8027, allocations: 0 / 0.5043 GB, free: 3.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.01803/0.8207, allocations: 3.159 MB / 0.5074 GB, free: 4 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.8208, allocations: 85.55 kB / 0.5075 GB, free: 15.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.823, allocations: 1.044 MB / 0.5085 GB, free: 14.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.8232, allocations: 33.7 kB / 0.5085 GB, free: 14.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009292/0.8241, allocations: 0.916 MB / 0.5094 GB, free: 13.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.8244, allocations: 193.5 kB / 0.5096 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/0.8245, allocations: 32 kB / 0.5096 GB, free: 13.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.8247, allocations: 365.9 kB / 0.51 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/0.8256, allocations: 375.8 kB / 0.5103 GB, free: 12.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.8273, allocations: 1.199 MB / 0.5115 GB, free: 11.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.8288, allocations: 0.6415 MB / 0.5121 GB, free: 10.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.8288, allocations: 8 kB / 0.5121 GB, free: 10.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003932/0.8328, allocations: 1.62 MB / 0.5137 GB, free: 9.027 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.8328, allocations: 16 kB / 0.5137 GB, free: 9.012 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/0.8329, allocations: 32.06 kB / 0.5138 GB, free: 8.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/0.8332, allocations: 96.89 kB / 0.5139 GB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.8353, allocations: 339.3 kB / 0.5142 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.8375, allocations: 1.717 MB / 0.5159 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.8392, allocations: 67.89 kB / 0.5159 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.8395, allocations: 84 kB / 0.516 GB, free: 6.551 MB / 458.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.0004105/0.8399, allocations: 230.5 kB / 0.5162 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.8402, allocations: 114.5 kB / 0.5163 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.842, allocations: 0.6486 MB / 0.517 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.842, allocations: 4 kB / 0.517 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.842, allocations: 4 kB / 0.517 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.8421, allocations: 3.984 kB / 0.517 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/0.8475, allocations: 2.134 MB / 0.5191 GB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.8476, allocations: 8.062 kB / 0.5191 GB, free: 3.273 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.8484, allocations: 88.02 kB / 0.5192 GB, free: 3.188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.8487, allocations: 60.81 kB / 0.5192 GB, free: 3.125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.8488, allocations: 23.92 kB / 0.5192 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.8511, allocations: 1.737 MB / 0.5209 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.8512, allocations: 4 kB / 0.5209 GB, free: 1.227 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3038/1.155, allocations: 1.176 MB / 0.5221 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/1.156, allocations: 215.2 kB / 0.5223 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/1.156, allocations: 13.83 kB / 0.5223 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/1.157, allocations: 23.55 kB / 0.5223 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.157, allocations: 39.47 kB / 0.5224 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/1.157, allocations: 18.88 kB / 0.5224 GB, free: 125.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001772/1.159, allocations: 0.7427 MB / 0.5231 GB, free: 125.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.159, allocations: 0 / 0.5231 GB, free: 125.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00223/1.161, allocations: 295.9 kB / 0.5234 GB, free: 125.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * 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.002774/1.164, allocations: 2.708 MB / 0.526 GB, free: 123.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002633/1.166, allocations: 1.011 MB / 0.527 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/1.166, allocations: 1.375 kB / 0.527 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008145/1.167, allocations: 376.8 kB / 0.5274 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.169, allocations: 157.4 kB / 0.5275 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008488/1.177, allocations: 2.489 MB / 0.53 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/1.179, allocations: 1.464 MB / 0.5314 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002075/1.181, allocations: 395.7 kB / 0.5318 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.182, allocations: 0.5577 MB / 0.5323 GB, free: 121.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/1.182, allocations: 0 / 0.5323 GB, free: 121.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0945/1.277, allocations: 21.99 MB / 0.5538 GB, free: 120.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/1.277, allocations: 168.2 kB / 0.554 GB, free: 120.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.295/4.573, allocations: 0 / 0.554 GB, free: 120.3 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat