Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.308/2.308, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.881e-05, allocations: 3.469 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4824/0.5986, allocations: 72.82 MB / 367.1 MB, free: 7.242 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5989, allocations: 71.23 kB / 367.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04445/0.6433, allocations: 9.026 MB / 376.2 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6434, allocations: 3.875 kB / 376.2 MB, free: 22.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.634e-05/0.6435, allocations: 7.781 kB / 376.2 MB, free: 22.29 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.002153/0.6456, allocations: 0.7273 MB / 377 MB, free: 21.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.6457, allocations: 11.62 kB / 377 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.6459, allocations: 65.03 kB / 377 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.6464, allocations: 302.9 kB / 377.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.6465, allocations: 15.19 kB / 377.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.6466, allocations: 27.28 kB / 377.4 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/0.6477, allocations: 352 kB / 377.7 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.6487, allocations: 337.4 kB / 378 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.6488, allocations: 3.984 kB / 378 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.6488, allocations: 0 / 378 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.6489, allocations: 15.69 kB / 378.1 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.6527, allocations: 1.301 MB / 379.4 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.6538, allocations: 481 kB / 379.8 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009232/0.6548, allocations: 305.5 kB / 380.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-05/0.6549, allocations: 15.95 kB / 380.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6549, allocations: 45.91 kB / 380.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.247e-06/0.6549, allocations: 3.938 kB / 380.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.006317/0.6613, allocations: 2.203 MB / 382.4 MB, free: 19.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.6613, allocations: 68.22 kB / 382.5 MB, free: 19.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.6616, allocations: 194 kB / 382.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.6617, allocations: 25.7 kB / 382.7 MB, free: 19.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.6619, allocations: 197.8 kB / 382.9 MB, free: 19.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.6622, allocations: 333.7 kB / 383.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.6622, allocations: 0 / 383.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.6625, allocations: 368.6 kB / 383.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/0.6631, allocations: 207.4 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.6637, allocations: 282.9 kB / 384 MB, free: 18.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.6644, allocations: 237.2 kB / 384.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6644, allocations: 0 / 384.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001575/0.666, allocations: 0.6338 MB / 384.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.666, allocations: 3.906 kB / 384.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6661, allocations: 0 / 384.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.6661, allocations: 11.7 kB / 384.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.6679, allocations: 214.8 kB / 385.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.6679, allocations: 3.844 kB / 385.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/0.6687, allocations: 47.17 kB / 385.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.6688, allocations: 26.81 kB / 385.2 MB, free: 18.57 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.0002231/0.669, allocations: 120.3 kB / 385.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001469/0.6705, allocations: 0.5874 MB / 385.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6707, allocations: 58.56 kB / 386 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.6709, allocations: 58.94 kB / 386 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.6709, allocations: 15.69 kB / 386 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.671, allocations: 0 / 386 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.671, allocations: 7.969 kB / 386 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.6749, allocations: 1.733 MB / 387.8 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.675, allocations: 3.875 kB / 387.8 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/0.6769, allocations: 215.2 kB / 388 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.146e-05/0.6769, allocations: 11.75 kB / 388 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.677, allocations: 15.72 kB / 388 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/0.6771, allocations: 15.64 kB / 388 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.6771, allocations: 7.844 kB / 388 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.6797, allocations: 1.389 MB / 389.4 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.68, allocations: 127.3 kB / 389.6 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.6801, allocations: 7.688 kB / 389.6 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008194/0.6809, allocations: 42.88 kB / 389.6 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6811, allocations: 83.2 kB / 389.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.6812, allocations: 31.42 kB / 389.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.6814, allocations: 155.1 kB / 389.9 MB, free: 16.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6815, allocations: 3.938 kB / 389.9 MB, free: 16.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000822/0.6823, allocations: 122.4 kB / 390 MB, free: 16.4 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.003489/0.6858, allocations: 3.251 MB / 393.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.6874, allocations: 0.5897 MB / 393.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6874, allocations: 3.875 kB / 393.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009134/0.6883, allocations: 368.6 kB / 394.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.6895, allocations: 77.31 kB / 394.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.6932, allocations: 1.286 MB / 395.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.6938, allocations: 0.8848 MB / 396.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006411/0.6945, allocations: 75.03 kB / 396.5 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.695, allocations: 193.8 kB / 396.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of SimCode: time 1.462e-06/0.695, allocations: 0 / 396.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06795/0.763, allocations: 9.94 MB / 406.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003731/0.7634, allocations: 145.1 kB / 406.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.66/4.424, allocations: 0 / 406.8 MB, free: 7.203 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat