Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.702/1.702, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.754e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2561, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.4105, allocations: 84.5 MB / 342.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004458/0.411, allocations: 83.95 kB / 342.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4838/0.8948, allocations: 70.29 MB / 413.2 MB, free: 62.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8948, allocations: 0 / 413.2 MB, free: 62.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001745/0.895, allocations: 71.94 kB / 413.3 MB, free: 62.03 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01138/0.9064, allocations: 3.348 MB / 416.6 MB, free: 58.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.9065, allocations: 8.031 kB / 416.7 MB, free: 58.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.9218, allocations: 2.078 MB / 418.7 MB, free: 56.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/0.9355, allocations: 4.021 MB / 422.8 MB, free: 52.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.9357, allocations: 112 kB / 422.9 MB, free: 52.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.9375, allocations: 203.9 kB / 423.1 MB, free: 52.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01228/0.9498, allocations: 5.03 MB / 428.1 MB, free: 47.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.9669, allocations: 7.946 MB / 436 MB, free: 38.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/0.9672, allocations: 51.56 kB / 436.1 MB, free: 38.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007505/0.9679, allocations: 28 kB / 436.1 MB, free: 38.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001662/0.9696, allocations: 0.8715 MB / 437 MB, free: 37.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05056/1.02, allocations: 40.96 MB / 477.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005105/1.025, allocations: 2.466 MB / 480.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/1.028, allocations: 1.369 MB / 481.8 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/1.029, allocations: 331.2 kB / 482.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/1.029, allocations: 51.12 kB / 482.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 4.318e-06/1.029, allocations: 0 / 482.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=130): time 0.0359/1.065, allocations: 11.26 MB / 493.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.065, allocations: 170.8 kB / 493.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006322/1.072, allocations: 2.777 MB / 496.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003354/1.072, allocations: 29.7 kB / 496.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003101/1.075, allocations: 2.768 MB / 499.2 MB, free: 5.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009602/1.076, allocations: 0.517 MB / 499.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005285/1.077, allocations: 0 / 499.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005023/1.077, allocations: 0.5374 MB / 0.4885 GB, free: 4.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004042/1.081, allocations: 1.592 MB / 0.49 GB, free: 2.855 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2582/1.339, allocations: 5.093 MB / 0.495 GB, free: 85.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00683/1.346, allocations: 2.842 MB / 0.4978 GB, free: 85.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001909/1.347, allocations: 43.56 kB / 0.4978 GB, free: 85.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01514/1.362, allocations: 5.994 MB / 0.5037 GB, free: 84.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/1.362, allocations: 58.72 kB / 0.5037 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/1.362, allocations: 130 kB / 0.5039 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008813/1.363, allocations: 343.2 kB / 0.5042 GB, free: 84.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007541/1.37, allocations: 1.326 MB / 0.5055 GB, free: 84.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/1.373, allocations: 2.24 MB / 0.5077 GB, free: 83.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.379, allocations: 187.5 kB / 0.5078 GB, free: 83.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007442/1.379, allocations: 346.7 kB / 0.5082 GB, free: 83.42 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (686): * Single equations (assignments): 682 * 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: 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.0008848/1.38, allocations: 421 kB / 0.5086 GB, free: 83.19 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007485/1.388, allocations: 2.637 MB / 0.5112 GB, free: 83.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005673/1.388, allocations: 280.1 kB / 0.5114 GB, free: 83.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006965/1.395, allocations: 2.249 MB / 0.5136 GB, free: 82.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/1.395, allocations: 14.5 kB / 0.5136 GB, free: 82.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.395, allocations: 8.344 kB / 0.5136 GB, free: 82.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/1.395, allocations: 7.547 kB / 0.5136 GB, free: 82.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/1.412, allocations: 5.621 MB / 0.5191 GB, free: 81.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/1.412, allocations: 0 / 0.5191 GB, free: 81.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.413, allocations: 171.9 kB / 0.5193 GB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003567/1.417, allocations: 0.7112 MB / 0.52 GB, free: 81.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/1.417, allocations: 10.48 kB / 0.52 GB, free: 81.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007714/1.425, allocations: 4.287 MB / 0.5242 GB, free: 79.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.425, allocations: 0 / 0.5242 GB, free: 79.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009611/1.434, allocations: 4.39 MB / 0.5285 GB, free: 77.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.436, allocations: 0.5071 MB / 0.529 GB, free: 77.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/1.436, allocations: 6.203 kB / 0.529 GB, free: 77.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.438, allocations: 54.38 kB / 0.529 GB, free: 77.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/1.439, allocations: 68.36 kB / 0.5291 GB, free: 77.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.439, allocations: 34.44 kB / 0.5291 GB, free: 77.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003399/1.442, allocations: 1.846 MB / 0.5309 GB, free: 76.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.442, allocations: 3.906 kB / 0.5309 GB, free: 76.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00593/1.448, allocations: 0.6949 MB / 0.5316 GB, free: 76.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/1.458, allocations: 5.367 MB / 0.5369 GB, free: 73.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007498/1.466, allocations: 3.757 MB / 0.5405 GB, free: 70.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.466, allocations: 0 / 0.5405 GB, free: 70.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.468, allocations: 1.076 MB / 0.5416 GB, free: 69.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/1.47, allocations: 295.2 kB / 0.5419 GB, free: 69.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.488, allocations: 6.823 MB / 0.5485 GB, free: 63.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/1.492, allocations: 2.832 MB / 0.5513 GB, free: 61.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006861/1.499, allocations: 1.713 MB / 0.553 GB, free: 60.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003443/1.502, allocations: 1.507 MB / 0.5544 GB, free: 58.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.684e-06/1.502, allocations: 0 / 0.5544 GB, free: 58.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1489/1.651, allocations: 59.19 MB / 0.6122 GB, free: 2.688 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/1.651, allocations: 167 kB / 0.6124 GB, free: 2.488 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.408/6.059, allocations: 0 / 0.6124 GB, free: 2.488 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat