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.985/1.985, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.064e-05, allocations: 8 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.275, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.422, allocations: 72.98 MB / 331.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4224, allocations: 75.95 kB / 331.4 MB, free: 4.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07789/0.5003, allocations: 14.55 MB / 345.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5003, allocations: 0 / 345.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.81e-05/0.5004, allocations: 16 kB / 346 MB, free: 6.066 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.005953/0.5064, allocations: 1.085 MB / 347 MB, free: 4.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.5065, allocations: 8.031 kB / 347.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.5071, allocations: 91.27 kB / 347.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.5083, allocations: 419.1 kB / 347.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.5084, allocations: 20 kB / 347.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.5087, allocations: 44 kB / 347.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003033/0.5117, allocations: 0.7185 MB / 348.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.5144, allocations: 0.6476 MB / 349 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/0.5145, allocations: 11.91 kB / 349 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.5147, allocations: 0 / 349 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.5147, allocations: 16 kB / 349 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.525, allocations: 2.323 MB / 351.3 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.5273, allocations: 0.6126 MB / 351.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.5286, allocations: 383.8 kB / 352.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.5288, allocations: 16.77 kB / 352.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.5306, allocations: 472.4 kB / 352.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 6.332e-06/0.5306, allocations: 4 kB / 352.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.0126/0.5432, allocations: 2.746 MB / 355.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.5434, allocations: 72.64 kB / 355.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007192/0.5441, allocations: 301.2 kB / 355.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003144/0.5444, allocations: 45.69 kB / 356 MB, free: 11.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.5448, allocations: 261 kB / 356.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006165/0.5454, allocations: 358.9 kB / 356.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.5456, allocations: 0 / 356.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.5458, allocations: 374.8 kB / 356.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.5473, allocations: 350.6 kB / 357.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.549, allocations: 456.9 kB / 357.7 MB, free: 9.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.5506, allocations: 302.3 kB / 358 MB, free: 9.645 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5506, allocations: 0 / 358 MB, free: 9.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.006363/0.557, allocations: 1.256 MB / 359.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.5571, allocations: 12 kB / 359.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5571, allocations: 0 / 359.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/0.5597, allocations: 0.6582 MB / 359.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.562, allocations: 211.7 kB / 360.1 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007355/0.5694, allocations: 3.298 MB / 363.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.5719, allocations: 212 kB / 363.7 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.5721, allocations: 51.94 kB / 363.7 MB, free: 3.762 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: supportFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: massWithStopAndFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real 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.0004572/0.5726, allocations: 140.9 kB / 363.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003481/0.5761, allocations: 1.014 MB / 364.9 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.5764, allocations: 79.11 kB / 364.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.5768, allocations: 86.95 kB / 365 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.5768, allocations: 8 kB / 365 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5768, allocations: 7.984 kB / 365 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.5768, allocations: 7.984 kB / 365 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007518/0.5844, allocations: 2.275 MB / 367.3 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/0.5844, allocations: 0 / 367.3 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2511/0.8355, allocations: 182 kB / 367.5 MB, free: 90.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.8379, allocations: 0.6293 MB / 368.1 MB, free: 90.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002749/0.8383, allocations: 23.28 kB / 368.1 MB, free: 90.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.8434, allocations: 3.101 MB / 371.2 MB, free: 88.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.8435, allocations: 2.531 kB / 371.2 MB, free: 88.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004836/0.8483, allocations: 1.737 MB / 373 MB, free: 87.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/0.8491, allocations: 232.7 kB / 373.2 MB, free: 87.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.8493, allocations: 13.09 kB / 373.2 MB, free: 87.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/0.8517, allocations: 241.6 kB / 373.5 MB, free: 87.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001712/0.8535, allocations: 426 kB / 373.9 MB, free: 87.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/0.8537, allocations: 49.47 kB / 373.9 MB, free: 87.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003928/0.8541, allocations: 229.3 kB / 374.1 MB, free: 87.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8541, allocations: 0 / 374.1 MB, free: 87.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001334/0.8555, allocations: 206.6 kB / 374.3 MB, free: 87.76 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.005546/0.861, allocations: 2.804 MB / 377.2 MB, free: 86.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.8639, allocations: 1.007 MB / 378.2 MB, free: 86.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.8639, allocations: 0 / 378.2 MB, free: 86.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.8659, allocations: 0.6731 MB / 378.8 MB, free: 86.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.8671, allocations: 93.02 kB / 378.9 MB, free: 86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007036/0.8741, allocations: 1.823 MB / 380.7 MB, free: 85.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.8746, allocations: 0.9501 MB / 381.7 MB, free: 84.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.8752, allocations: 75.08 kB / 381.8 MB, free: 84.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.8758, allocations: 246.4 kB / 382 MB, free: 84.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.673e-06/0.8758, allocations: 0 / 382 MB, free: 84.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07588/0.9517, allocations: 19.1 MB / 401.1 MB, free: 71.52 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.952, allocations: 151.9 kB / 401.3 MB, free: 71.31 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.175, allocations: 3.938 kB / 401.3 MB, free: 71.31 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