Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.693e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09644, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.5622, allocations: 73.5 MB / 373.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.5625, allocations: 66.91 kB / 373.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04285/0.6054, allocations: 9.112 MB / 382.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6055, allocations: 0 / 382.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.579e-05/0.6055, allocations: 9.094 kB / 382.7 MB, free: 11.41 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002129/0.6077, allocations: 0.726 MB / 383.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.6077, allocations: 8.25 kB / 383.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.608, allocations: 85.97 kB / 383.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.6082, allocations: 60.17 kB / 383.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.6087, allocations: 314.6 kB / 383.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.6088, allocations: 33 kB / 383.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.6089, allocations: 49.19 kB / 383.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.61, allocations: 394 kB / 384.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.6101, allocations: 4.422 kB / 384.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.6102, allocations: 21.81 kB / 384.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.6102, allocations: 14.94 kB / 384.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.6113, allocations: 368.6 kB / 384.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.6154, allocations: 1.39 MB / 386.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.6167, allocations: 492.2 kB / 386.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.6179, allocations: 332 kB / 386.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.618, allocations: 14.94 kB / 386.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.618, allocations: 42.38 kB / 387 MB, free: 10.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.928e-06/0.618, allocations: 0 / 387 MB, free: 10.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01081/0.6289, allocations: 2.755 MB / 389.7 MB, free: 9.363 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.629, allocations: 63.91 kB / 389.8 MB, free: 9.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.6293, allocations: 216.4 kB / 390 MB, free: 9.207 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/0.6294, allocations: 41.14 kB / 390 MB, free: 9.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.6295, allocations: 196.4 kB / 390.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.6298, allocations: 349.1 kB / 390.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.6299, allocations: 19.25 kB / 390.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.63, allocations: 364.9 kB / 390.9 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.6306, allocations: 227.4 kB / 391.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.6312, allocations: 289.6 kB / 391.4 MB, free: 8.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.6319, allocations: 253.2 kB / 391.7 MB, free: 8.469 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.6319, allocations: 3.938 kB / 391.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001589/0.6335, allocations: 0.6894 MB / 392.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.6336, allocations: 10.95 kB / 392.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6336, allocations: 0 / 392.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/0.6337, allocations: 3.656 kB / 392.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.6353, allocations: 216.3 kB / 392.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/0.6354, allocations: 7.812 kB / 392.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008583/0.6363, allocations: 58.66 kB / 392.7 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.6364, allocations: 28.48 kB / 392.7 MB, free: 8.359 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.6366, allocations: 156 kB / 392.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.6368, allocations: 65.86 kB / 392.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.637, allocations: 67.2 kB / 393 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.637, allocations: 14.64 kB / 393 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.637, allocations: 0 / 393 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.637, allocations: 2.953 kB / 393 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.6413, allocations: 1.894 MB / 394.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.6413, allocations: 3.938 kB / 394.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.643, allocations: 222.7 kB / 395.1 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-05/0.6431, allocations: 11.67 kB / 395.1 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.6432, allocations: 27.67 kB / 395.2 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.6433, allocations: 10.47 kB / 395.2 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.6433, allocations: 7.844 kB / 395.2 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.6458, allocations: 1.453 MB / 396.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.6461, allocations: 125.8 kB / 396.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6462, allocations: 35.7 kB / 396.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007692/0.647, allocations: 53.67 kB / 396.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.6472, allocations: 78.38 kB / 396.9 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.6473, allocations: 36.89 kB / 396.9 MB, free: 6.762 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.6475, allocations: 172.6 kB / 397.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6475, allocations: 0 / 397.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008412/0.6484, allocations: 157.2 kB / 397.3 MB, free: 6.684 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003366/0.6518, allocations: 3.331 MB / 400.6 MB, free: 20.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.6534, allocations: 0.6164 MB / 401.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.6535, allocations: 0 / 401.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.6544, allocations: 388.9 kB / 401.6 MB, free: 20.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6556, allocations: 92.56 kB / 401.7 MB, free: 20.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.6596, allocations: 1.374 MB / 403.1 MB, free: 19.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.6602, allocations: 0.8803 MB / 403.9 MB, free: 18.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006411/0.6608, allocations: 70.67 kB / 404 MB, free: 18.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.6613, allocations: 196.5 kB / 404.2 MB, free: 18.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6613, allocations: 0 / 404.2 MB, free: 18.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.7031, allocations: 10.47 MB / 414.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.7034, allocations: 146.6 kB / 414.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/3.658, allocations: 0 / 414.8 MB, free: 15.71 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat