Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.HeatLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 171.2 MB / 183.3 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.524e-05, allocations: 0 / 225.1 MB, free: 2.125 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 38.77 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4047, allocations: 73.64 MB / 337.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.4051, allocations: 75.95 kB / 337.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07634/0.4814, allocations: 14.67 MB / 352.2 MB, free: 1.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4815, allocations: 0 / 352.2 MB, free: 1.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.322e-05/0.4815, allocations: 16 kB / 352.3 MB, free: 1.098 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.004675/0.4862, allocations: 1.08 MB / 353.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4863, allocations: 12.03 kB / 353.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003255/0.4866, allocations: 110.5 kB / 353.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.487, allocations: 91.27 kB / 353.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.4879, allocations: 423.1 kB / 354 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.804e-05/0.488, allocations: 54 kB / 354 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.4882, allocations: 71.91 kB / 354.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.4905, allocations: 0.7375 MB / 354.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/0.4907, allocations: 4 kB / 354.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.4908, allocations: 35.97 kB / 354.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.4908, allocations: 16 kB / 354.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.4935, allocations: 0.7614 MB / 355.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0082/0.5017, allocations: 2.443 MB / 358.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.5038, allocations: 0.6442 MB / 358.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.5051, allocations: 415.8 kB / 359.1 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.5053, allocations: 12.78 kB / 359.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.5068, allocations: 0.4901 MB / 359.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 8.055e-06/0.5069, allocations: 0 / 359.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.0114/0.5183, allocations: 3.092 MB / 362.7 MB, free: 6.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.5184, allocations: 64.41 kB / 362.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.5191, allocations: 339.1 kB / 363.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.5194, allocations: 53.69 kB / 363.2 MB, free: 5.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.5196, allocations: 273 kB / 363.4 MB, free: 5.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.5201, allocations: 366.8 kB / 363.8 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.5203, allocations: 24 kB / 363.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.5205, allocations: 366.8 kB / 364.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.5217, allocations: 378.6 kB / 364.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.523, allocations: 475.5 kB / 365 MB, free: 3.941 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.524, allocations: 324.9 kB / 365.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.5241, allocations: 7.938 kB / 365.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004767/0.5288, allocations: 1.326 MB / 366.7 MB, free: 2.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.5289, allocations: 8 kB / 366.7 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.529, allocations: 4 kB / 366.7 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.531, allocations: 0.666 MB / 367.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.5328, allocations: 219.5 kB / 367.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2387/0.7715, allocations: 3.28 MB / 370.8 MB, free: 86.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.7741, allocations: 237.2 kB / 371.1 MB, free: 86.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.7744, allocations: 39.73 kB / 371.1 MB, free: 86.94 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,$whenCondition1,elastoGap.contact,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,massWithStopAndFriction.free,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003684/0.7748, allocations: 168.1 kB / 371.3 MB, free: 86.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.7751, allocations: 72.33 kB / 371.3 MB, free: 86.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.7754, allocations: 103.8 kB / 371.4 MB, free: 86.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.7754, allocations: 14.33 kB / 371.5 MB, free: 86.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.7755, allocations: 0.9375 kB / 371.5 MB, free: 86.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.7755, allocations: 9.516 kB / 371.5 MB, free: 86.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/0.7822, allocations: 2.501 MB / 374 MB, free: 86.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.7823, allocations: 6.469 kB / 374 MB, free: 86.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.7839, allocations: 190.1 kB / 374.2 MB, free: 86.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.7856, allocations: 0.6334 MB / 374.8 MB, free: 86.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/0.786, allocations: 34.42 kB / 374.8 MB, free: 86.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.7908, allocations: 3.112 MB / 377.9 MB, free: 84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7909, allocations: 2.25 kB / 377.9 MB, free: 84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/0.7958, allocations: 1.856 MB / 379.8 MB, free: 83.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006529/0.7965, allocations: 243.5 kB / 380 MB, free: 83.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.7968, allocations: 26.03 kB / 380.1 MB, free: 83.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/0.7992, allocations: 254.5 kB / 380.3 MB, free: 83.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001648/0.8009, allocations: 435.9 kB / 380.7 MB, free: 83.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.801, allocations: 45.12 kB / 380.8 MB, free: 83.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004127/0.8015, allocations: 259.7 kB / 381 MB, free: 83.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.382e-06/0.8015, allocations: 0 / 381 MB, free: 83.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001249/0.8027, allocations: 251.4 kB / 381.3 MB, free: 83.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005575/0.8083, allocations: 2.975 MB / 384.2 MB, free: 81.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.8113, allocations: 1.054 MB / 385.3 MB, free: 80.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.8113, allocations: 2.938 kB / 385.3 MB, free: 80.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.8133, allocations: 0.7032 MB / 386 MB, free: 80.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.8144, allocations: 113.9 kB / 386.1 MB, free: 80.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/0.8214, allocations: 1.917 MB / 388 MB, free: 79.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.8219, allocations: 0.9549 MB / 389 MB, free: 78.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005794/0.8225, allocations: 78.86 kB / 389.1 MB, free: 78.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.823, allocations: 247 kB / 389.3 MB, free: 78.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.823, allocations: 0 / 389.3 MB, free: 78.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0589/0.8819, allocations: 20.23 MB / 409.5 MB, free: 60.45 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/0.8823, allocations: 183.4 kB / 409.7 MB, free: 60.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.33/4.212, allocations: 0 / 409.7 MB, free: 60.23 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat does not exist to compare? outputFormat=mat