Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.951e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 44.5 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.4611, allocations: 87.4 MB / 381.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.4615, allocations: 87.95 kB / 381.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5484/1.01, allocations: 65.41 MB / 447.1 MB, free: 90.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.01, allocations: 0 / 447.1 MB, free: 90.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002503/1.01, allocations: 73.69 kB / 447.2 MB, free: 90.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01031/1.021, allocations: 3.172 MB / 450.4 MB, free: 88.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.021, allocations: 15.03 kB / 450.4 MB, free: 88.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/1.035, allocations: 1.947 MB / 452.3 MB, free: 88.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006961/1.042, allocations: 2.058 MB / 454.4 MB, free: 88.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/1.042, allocations: 109.2 kB / 454.5 MB, free: 88.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/1.044, allocations: 193.4 kB / 454.7 MB, free: 88.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01151/1.056, allocations: 4.436 MB / 459.1 MB, free: 86.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/1.074, allocations: 7.507 MB / 466.6 MB, free: 79.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/1.075, allocations: 55.41 kB / 466.7 MB, free: 79.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001595/1.076, allocations: 31.62 kB / 466.7 MB, free: 79.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/1.078, allocations: 0.7821 MB / 467.5 MB, free: 79.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04896/1.127, allocations: 38.05 MB / 0.4937 GB, free: 39.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/1.129, allocations: 1.374 MB / 0.495 GB, free: 38.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007727/1.13, allocations: 425 kB / 0.4954 GB, free: 37.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/1.13, allocations: 346.8 kB / 0.4958 GB, free: 37.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/1.13, allocations: 50.73 kB / 0.4958 GB, free: 37.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 5.66e-06/1.13, allocations: 0 / 0.4958 GB, free: 37.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.004189/1.135, allocations: 1.214 MB / 0.497 GB, free: 36.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.135, allocations: 191.9 kB / 0.4972 GB, free: 36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008083/1.143, allocations: 3.089 MB / 0.5002 GB, free: 32.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001989/1.143, allocations: 29.73 kB / 0.5002 GB, free: 32.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002891/1.146, allocations: 2.959 MB / 0.5031 GB, free: 29.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007147/1.147, allocations: 391.5 kB / 0.5035 GB, free: 29.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006165/1.147, allocations: 4 kB / 0.5035 GB, free: 29.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004421/1.148, allocations: 0.5251 MB / 0.504 GB, free: 28.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.151, allocations: 1.17 MB / 0.5052 GB, free: 27.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005568/1.157, allocations: 4.839 MB / 0.5099 GB, free: 21.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005551/1.162, allocations: 2.422 MB / 0.5122 GB, free: 18.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/1.162, allocations: 40 kB / 0.5123 GB, free: 18.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01395/1.176, allocations: 5.101 MB / 0.5173 GB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.176, allocations: 64 kB / 0.5173 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/1.177, allocations: 132.9 kB / 0.5175 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/1.177, allocations: 199.9 kB / 0.5176 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007097/1.184, allocations: 1.22 MB / 0.5188 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004283/1.184, allocations: 262.9 kB / 0.5191 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005992/1.19, allocations: 0.6293 MB / 0.5197 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.192, allocations: 348 kB / 0.52 GB, free: 10.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 658 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009062/1.193, allocations: 432.6 kB / 0.5204 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002415/1.195, allocations: 1.036 MB / 0.5215 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/1.196, allocations: 300 kB / 0.5217 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/1.197, allocations: 0.4924 MB / 0.5222 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.317e-05/1.198, allocations: 12 kB / 0.5222 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/1.198, allocations: 0 / 0.5222 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/1.198, allocations: 7.938 kB / 0.5222 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.213, allocations: 2.96 MB / 0.5251 GB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/1.213, allocations: 4.281 kB / 0.5251 GB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/1.215, allocations: 119.8 kB / 0.5253 GB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.944e-05/1.215, allocations: 4 kB / 0.5253 GB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/1.215, allocations: 11.98 kB / 0.5253 GB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.82e-05/1.215, allocations: 11.38 kB / 0.5253 GB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.215, allocations: 11.89 kB / 0.5253 GB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/1.221, allocations: 2.409 MB / 0.5276 GB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/1.223, allocations: 440.8 kB / 0.5281 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/1.224, allocations: 4 kB / 0.5281 GB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/1.227, allocations: 32.03 kB / 0.5281 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/1.228, allocations: 51.83 kB / 0.5281 GB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.228, allocations: 28 kB / 0.5282 GB, free: 2.066 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.009267/1.237, allocations: 2.107 MB / 0.5302 GB, free: 15.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.803e-06/1.237, allocations: 0 / 0.5302 GB, free: 15.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01031/1.248, allocations: 0.817 MB / 0.531 GB, free: 15.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007983/1.256, allocations: 3.815 MB / 0.5348 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01173/1.267, allocations: 2.711 MB / 0.5374 GB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/1.268, allocations: 0 / 0.5374 GB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/1.269, allocations: 405.4 kB / 0.5378 GB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004556/1.274, allocations: 346.8 kB / 0.5381 GB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/1.309, allocations: 6.757 MB / 0.5447 GB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007232/1.316, allocations: 2.934 MB / 0.5476 GB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008548/1.325, allocations: 1.663 MB / 0.5492 GB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004154/1.329, allocations: 1.585 MB / 0.5508 GB, free: 10.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/1.329, allocations: 0 / 0.5508 GB, free: 10.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4234/1.752, allocations: 55.87 MB / 0.6053 GB, free: 90.07 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/1.753, allocations: 147 kB / 0.6055 GB, free: 89.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.4/6.153, allocations: 4 kB / 0.6055 GB, free: 89.87 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat