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 2.23/2.23, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.992e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4627, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.6268, allocations: 78.3 MB / 372.5 MB, free: 3.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.6272, allocations: 67.97 kB / 372.6 MB, free: 3.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08078/0.708, allocations: 14.62 MB / 387.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.708, allocations: 3.938 kB / 387.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.752e-05/0.7081, allocations: 12 kB / 387.2 MB, free: 4.77 MB / 330.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.004842/0.713, allocations: 1.08 MB / 388.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.713, allocations: 8.031 kB / 388.3 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.7135, allocations: 83.06 kB / 388.4 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000983/0.7145, allocations: 415.2 kB / 388.8 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.7146, allocations: 27.94 kB / 388.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.7148, allocations: 43.91 kB / 388.9 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002233/0.7171, allocations: 0.6797 MB / 389.6 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.7191, allocations: 0.6242 MB / 390.2 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.7192, allocations: 4 kB / 390.2 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.7194, allocations: 4 kB / 390.2 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.7194, allocations: 16 kB / 390.2 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008332/0.7278, allocations: 2.326 MB / 392.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.7294, allocations: 0.5918 MB / 393.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.7305, allocations: 391.7 kB / 393.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.7307, allocations: 8.781 kB / 393.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/0.732, allocations: 476.4 kB / 394 MB, free: 13.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=89): time 4.98e-06/0.7321, allocations: 3.938 kB / 394 MB, free: 13.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=109): time 0.009459/0.7415, allocations: 2.623 MB / 396.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.7417, allocations: 68.72 kB / 396.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.7422, allocations: 281.3 kB / 396.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.7424, allocations: 33.7 kB / 397 MB, free: 10.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.7427, allocations: 261.1 kB / 397.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.7432, allocations: 354.9 kB / 397.6 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.7433, allocations: 3.984 kB / 397.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.7436, allocations: 370.8 kB / 397.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/0.7446, allocations: 334.6 kB / 398.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.7457, allocations: 428.9 kB / 398.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.7467, allocations: 298.2 kB / 399 MB, free: 8.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.7468, allocations: 0 / 399 MB, free: 8.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00416/0.7509, allocations: 1.104 MB / 400.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.751, allocations: 4 kB / 400.1 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.7511, allocations: 4 kB / 400.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.7528, allocations: 0.5334 MB / 400.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.7545, allocations: 203.7 kB / 400.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006368/0.7609, allocations: 3.24 MB / 404.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.7634, allocations: 215.9 kB / 404.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/0.7638, allocations: 44.14 kB / 404.3 MB, free: 3.102 MB / 346.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): 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.0004341/0.7642, allocations: 141.8 kB / 404.5 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00335/0.7676, allocations: 0.9441 MB / 405.4 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.768, allocations: 71.19 kB / 405.5 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.7718, allocations: 1.118 MB / 406.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.7719, allocations: 12 kB / 406.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.7719, allocations: 4.062 kB / 406.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.7719, allocations: 7.969 kB / 406.6 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006764/0.7787, allocations: 2.205 MB / 408.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.7788, allocations: 4.031 kB / 408.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.7805, allocations: 179.8 kB / 409 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.7822, allocations: 0.5099 MB / 409.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.7825, allocations: 19.97 kB / 409.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005465/0.788, allocations: 3.048 MB / 412.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.788, allocations: 0 / 412.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/0.793, allocations: 1.665 MB / 414.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.7938, allocations: 228.1 kB / 414.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.794, allocations: 15.98 kB / 414.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/0.7964, allocations: 235.8 kB / 414.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001756/0.7982, allocations: 432.4 kB / 415.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/0.7984, allocations: 43.95 kB / 415.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004333/0.7988, allocations: 227 kB / 415.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7989, allocations: 0 / 415.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001327/0.8002, allocations: 215.9 kB / 415.6 MB, free: 7.379 MB / 362.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.005761/0.806, allocations: 2.794 MB / 418.4 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002883/0.8089, allocations: 1.03 MB / 419.4 MB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.809, allocations: 0 / 419.4 MB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.8113, allocations: 0.6906 MB / 420.1 MB, free: 2.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.8126, allocations: 85.8 kB / 420.2 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008284/0.8209, allocations: 1.832 MB / 422 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3133/1.134, allocations: 0.9448 MB / 423 MB, free: 106.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001148/1.136, allocations: 75.64 kB / 423.1 MB, free: 106.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/1.137, allocations: 240.1 kB / 423.3 MB, free: 106.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.994e-06/1.137, allocations: 1.125 kB / 423.3 MB, free: 106.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08103/1.218, allocations: 19.45 MB / 442.7 MB, free: 101.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.218, allocations: 146.3 kB / 442.9 MB, free: 101.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/4.657, allocations: 0 / 442.9 MB, free: 101.6 MB / 362.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