Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.441/2.441, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.832e-05, allocations: 0 / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3668, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.568, allocations: 87.4 MB / 381.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007888/0.5688, allocations: 83.95 kB / 381.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6524/1.221, allocations: 65.42 MB / 447.2 MB, free: 90.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.221, allocations: 0 / 447.2 MB, free: 90.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002259/1.222, allocations: 68.12 kB / 447.3 MB, free: 90.47 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.01104/1.233, allocations: 3.181 MB / 450.4 MB, free: 88.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.233, allocations: 11.12 kB / 450.5 MB, free: 88.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/1.25, allocations: 1.949 MB / 452.4 MB, free: 88.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/1.257, allocations: 2.06 MB / 454.5 MB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/1.258, allocations: 108 kB / 454.6 MB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/1.26, allocations: 200.4 kB / 454.8 MB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01275/1.272, allocations: 4.431 MB / 459.2 MB, free: 86.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/1.291, allocations: 7.508 MB / 466.7 MB, free: 79.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/1.291, allocations: 55.47 kB / 466.8 MB, free: 79.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/1.292, allocations: 32 kB / 466.8 MB, free: 79.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/1.294, allocations: 0.782 MB / 467.6 MB, free: 78.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06812/1.362, allocations: 38.05 MB / 0.4938 GB, free: 39.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/1.366, allocations: 1.373 MB / 0.4951 GB, free: 38.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/1.368, allocations: 428.9 kB / 0.4955 GB, free: 37.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007518/1.369, allocations: 338.9 kB / 0.4958 GB, free: 37.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/1.369, allocations: 54.45 kB / 0.4959 GB, free: 37.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 8.396e-06/1.369, allocations: 4 kB / 0.4959 GB, free: 37.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.007691/1.376, allocations: 1.205 MB / 0.4971 GB, free: 36.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.774e-05/1.377, allocations: 187.9 kB / 0.4973 GB, free: 35.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/1.389, allocations: 3.081 MB / 0.5003 GB, free: 32.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002326/1.39, allocations: 29.7 kB / 0.5003 GB, free: 32.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004585/1.394, allocations: 2.967 MB / 0.5032 GB, free: 29.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009539/1.395, allocations: 391.6 kB / 0.5036 GB, free: 29.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007518/1.396, allocations: 0 / 0.5036 GB, free: 29.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0008825/1.397, allocations: 0.529 MB / 0.5041 GB, free: 28.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005613/1.403, allocations: 1.17 MB / 0.5052 GB, free: 27.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009281/1.412, allocations: 4.843 MB / 0.5099 GB, free: 20.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009275/1.421, allocations: 2.419 MB / 0.5123 GB, free: 18.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/1.422, allocations: 40 kB / 0.5123 GB, free: 18.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01645/1.438, allocations: 5.109 MB / 0.5173 GB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.438, allocations: 60.78 kB / 0.5174 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/1.438, allocations: 136 kB / 0.5175 GB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/1.439, allocations: 196 kB / 0.5177 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008291/1.447, allocations: 1.217 MB / 0.5189 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002442/1.447, allocations: 263 kB / 0.5192 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00698/1.454, allocations: 0.6254 MB / 0.5198 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.455, allocations: 348 kB / 0.5201 GB, free: 10.44 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.001074/1.457, allocations: 424.7 kB / 0.5205 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00289/1.459, allocations: 1.047 MB / 0.5215 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00071/1.46, allocations: 300 kB / 0.5218 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/1.462, allocations: 499.5 kB / 0.5223 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/1.462, allocations: 12 kB / 0.5223 GB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.462, allocations: 4 kB / 0.5223 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.462, allocations: 3.984 kB / 0.5223 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009869/1.472, allocations: 2.966 MB / 0.5252 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.472, allocations: 4 kB / 0.5252 GB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.473, allocations: 115.8 kB / 0.5253 GB, free: 5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/1.473, allocations: 8.281 kB / 0.5253 GB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/1.474, allocations: 8 kB / 0.5253 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/1.474, allocations: 15.92 kB / 0.5253 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.474, allocations: 7.953 kB / 0.5254 GB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/1.477, allocations: 2.413 MB / 0.5277 GB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.479, allocations: 436.8 kB / 0.5281 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006893/1.48, allocations: 8 kB / 0.5281 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.481, allocations: 23.97 kB / 0.5282 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.482, allocations: 59.89 kB / 0.5282 GB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/1.482, allocations: 27.94 kB / 0.5282 GB, free: 1.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00563/1.487, allocations: 2.107 MB / 0.5303 GB, free: 15.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.392e-06/1.488, allocations: 0 / 0.5303 GB, free: 15.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007487/1.495, allocations: 0.8132 MB / 0.5311 GB, free: 14.95 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.006138/1.501, allocations: 3.821 MB / 0.5348 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007897/1.509, allocations: 2.706 MB / 0.5375 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.509, allocations: 0 / 0.5375 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.51, allocations: 416.2 kB / 0.5379 GB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/1.514, allocations: 337.8 kB / 0.5382 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/1.541, allocations: 6.768 MB / 0.5448 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007696/1.549, allocations: 2.932 MB / 0.5477 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00984/1.559, allocations: 1.663 MB / 0.5493 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004562/1.563, allocations: 1.585 MB / 0.5508 GB, free: 10.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.793e-06/1.563, allocations: 4 kB / 0.5508 GB, free: 10.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5037/2.067, allocations: 55.88 MB / 0.6054 GB, free: 90.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002912/2.068, allocations: 147.6 kB / 0.6055 GB, free: 89.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.536/7.604, allocations: 32 / 0.6055 GB, free: 89.86 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat