Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.HeatLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.231e-05/5.231e-05, allocations: 0 / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.5766, allocations: 78.97 MB / 379 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.577, allocations: 68.81 kB / 379 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07385/0.6509, allocations: 14.73 MB / 393.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.651, allocations: 0 / 393.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.094e-05/0.651, allocations: 15.5 kB / 393.8 MB, free: 11.11 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.004573/0.6556, allocations: 1.081 MB / 394.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.6557, allocations: 7.844 kB / 394.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003895/0.6561, allocations: 111.5 kB / 395 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.6565, allocations: 85.33 kB / 395 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.6574, allocations: 408.5 kB / 395.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.385e-05/0.6575, allocations: 50.78 kB / 395.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.6578, allocations: 72.66 kB / 395.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.6599, allocations: 0.7169 MB / 396.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.66, allocations: 7.906 kB / 396.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.6601, allocations: 30.84 kB / 396.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.6602, allocations: 15.59 kB / 396.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.6623, allocations: 0.706 MB / 397 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008465/0.6708, allocations: 2.431 MB / 399.5 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.6736, allocations: 0.6157 MB / 400.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.6758, allocations: 407.6 kB / 400.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.6762, allocations: 23.58 kB / 400.5 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003036/0.6793, allocations: 491.1 kB / 401 MB, free: 8.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 1.164e-05/0.6794, allocations: 3.75 kB / 401 MB, free: 8.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=109): time 0.01958/0.699, allocations: 2.934 MB / 403.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.6991, allocations: 67.8 kB / 404 MB, free: 7.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.6999, allocations: 311.4 kB / 404.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005431/0.7005, allocations: 53.67 kB / 404.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.701, allocations: 270.1 kB / 404.6 MB, free: 7.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009318/0.7019, allocations: 369.4 kB / 405 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.7021, allocations: 20.03 kB / 405 MB, free: 7.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.7024, allocations: 373.2 kB / 405.4 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.7043, allocations: 359.1 kB / 405.7 MB, free: 6.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.7065, allocations: 452.5 kB / 406.2 MB, free: 6.852 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.7084, allocations: 306.3 kB / 406.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.7086, allocations: 0 / 406.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00677/0.7153, allocations: 1.169 MB / 407.6 MB, free: 6.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.7155, allocations: 8.531 kB / 407.6 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-05/0.7155, allocations: 7.922 kB / 407.6 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/0.7181, allocations: 0.5315 MB / 408.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/0.7207, allocations: 214.8 kB / 408.4 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008873/0.7296, allocations: 3.233 MB / 411.6 MB, free: 19.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/0.7333, allocations: 237.3 kB / 411.8 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/0.7337, allocations: 38.05 kB / 411.9 MB, free: 19.72 MB / 330.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): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004237/0.7341, allocations: 180.8 kB / 412.1 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.7343, allocations: 65.97 kB / 412.1 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/0.7381, allocations: 1.198 MB / 413.3 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.7382, allocations: 7.5 kB / 413.3 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.7382, allocations: 3.969 kB / 413.3 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.7382, allocations: 3.984 kB / 413.3 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007127/0.7454, allocations: 2.351 MB / 415.7 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.7454, allocations: 3.906 kB / 415.7 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.7471, allocations: 187.5 kB / 415.9 MB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.7487, allocations: 0.5161 MB / 416.4 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/0.749, allocations: 38.02 kB / 416.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.7542, allocations: 3.046 MB / 419.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.7543, allocations: 3.75 kB / 419.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/0.7591, allocations: 1.713 MB / 421.2 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/0.7599, allocations: 238 kB / 421.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.7602, allocations: 29.69 kB / 421.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/0.7627, allocations: 252.3 kB / 421.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001631/0.7644, allocations: 435.4 kB / 422.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002752/0.7647, allocations: 45.77 kB / 422.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004581/0.7652, allocations: 249.9 kB / 422.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.7652, allocations: 0 / 422.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001558/0.7668, allocations: 259.4 kB / 422.7 MB, free: 14.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 87 * 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.005661/0.7725, allocations: 2.872 MB / 425.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.7757, allocations: 1.067 MB / 426.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.7757, allocations: 0 / 426.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002447/0.7782, allocations: 0.7055 MB / 427.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.7796, allocations: 108.2 kB / 427.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/0.7879, allocations: 1.917 MB / 429.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.7887, allocations: 0.9538 MB / 430.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006988/0.7894, allocations: 71.59 kB / 430.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.79, allocations: 235.3 kB / 430.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.79, allocations: 3.844 kB / 430.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07238/0.8624, allocations: 20.52 MB / 451.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/0.8628, allocations: 180.4 kB / 451.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.467/4.33, allocations: 0 / 451.3 MB, free: 9.348 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat does not exist to compare? outputFormat=mat