Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.HeatLosses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.07e-05/5.091e-05, allocations: 2.906 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 50.41 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5064/0.6444, allocations: 85.8 MB / 429 MB, free: 8.098 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.6448, allocations: 72.72 kB / 429 MB, free: 8.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08116/0.726, allocations: 15.12 MB / 444.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7261, allocations: 0 / 444.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.098e-05/0.7261, allocations: 12 kB / 444.2 MB, free: 10.94 MB / 362.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.005454/0.7316, allocations: 1.078 MB / 445.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.133e-05/0.7317, allocations: 8.031 kB / 445.3 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004737/0.7322, allocations: 114.9 kB / 445.4 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.7327, allocations: 83.06 kB / 445.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.7338, allocations: 424.7 kB / 445.9 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.734, allocations: 54 kB / 445.9 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.7342, allocations: 69.53 kB / 446 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.7367, allocations: 0.7063 MB / 446.7 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.175e-05/0.7368, allocations: 11.47 kB / 446.7 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.737, allocations: 25.25 kB / 446.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.737, allocations: 20 kB / 446.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.7397, allocations: 0.7067 MB / 447.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009954/0.7497, allocations: 2.44 MB / 449.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.7518, allocations: 0.6101 MB / 450.5 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.7533, allocations: 413.4 kB / 450.9 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.7535, allocations: 12.78 kB / 450.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/0.7551, allocations: 499.2 kB / 451.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=89): time 6.633e-06/0.7552, allocations: 0 / 451.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=109): time 0.01254/0.7678, allocations: 2.941 MB / 454.3 MB, free: 2.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.7679, allocations: 72.28 kB / 454.4 MB, free: 2.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.7686, allocations: 311.2 kB / 454.7 MB, free: 2.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003872/0.769, allocations: 53.58 kB / 454.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.7693, allocations: 265.5 kB / 455 MB, free: 2.246 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006945/0.77, allocations: 368.9 kB / 455.4 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.7701, allocations: 20.5 kB / 455.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.7704, allocations: 374.8 kB / 455.8 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.7716, allocations: 356.7 kB / 456.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.7731, allocations: 448.9 kB / 456.6 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.7742, allocations: 300.9 kB / 456.9 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7742, allocations: 0 / 456.9 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004287/0.7785, allocations: 1.17 MB / 458 MB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.7786, allocations: 8 kB / 458 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.26e-05/0.7786, allocations: 7.922 kB / 458 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.7804, allocations: 0.5412 MB / 458.6 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.7822, allocations: 207.7 kB / 458.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006548/0.7887, allocations: 3.216 MB / 462 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.7914, allocations: 243.9 kB / 462.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.7917, allocations: 39.98 kB / 462.3 MB, free: 10.87 MB / 378.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.0004461/0.7921, allocations: 168 kB / 462.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.7924, allocations: 71.25 kB / 462.5 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.7965, allocations: 1.193 MB / 463.7 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.7966, allocations: 15.95 kB / 463.7 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7966, allocations: 4 kB / 463.7 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.7966, allocations: 3.984 kB / 463.7 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00744/0.8041, allocations: 2.349 MB / 466.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.8042, allocations: 11.94 kB / 466.1 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/0.806, allocations: 184 kB / 466.3 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/0.8077, allocations: 0.5138 MB / 466.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/0.808, allocations: 39.95 kB / 466.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.8135, allocations: 3.05 MB / 469.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8136, allocations: 0 / 469.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/0.819, allocations: 1.712 MB / 471.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000714/0.8198, allocations: 224.2 kB / 471.8 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.82, allocations: 32 kB / 471.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/0.8226, allocations: 259.7 kB / 472.1 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001729/0.8244, allocations: 428.1 kB / 472.5 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/0.8246, allocations: 47.95 kB / 472.6 MB, free: 144 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004956/0.8251, allocations: 253.2 kB / 472.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8252, allocations: 3.938 kB / 472.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001439/0.8266, allocations: 252 kB / 473 MB, free: 15.64 MB / 394.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.006228/0.8329, allocations: 2.879 MB / 475.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003452/0.8364, allocations: 1.062 MB / 477 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.8365, allocations: 4 kB / 477 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.8391, allocations: 0.7047 MB / 477.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.8414, allocations: 105.9 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008429/0.8499, allocations: 1.918 MB / 479.7 MB, free: 8.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.8507, allocations: 0.9476 MB / 480.7 MB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006542/0.8513, allocations: 69.38 kB / 480.7 MB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/0.8519, allocations: 243.3 kB / 481 MB, free: 7.504 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8519, allocations: 4 kB / 481 MB, free: 7.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08221/0.9342, allocations: 20.51 MB / 0.4897 GB, free: 3.148 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003756/0.9346, allocations: 181 kB / 0.4899 GB, free: 2.926 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.553/4.488, allocations: 0 / 0.4899 GB, free: 2.926 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat does not exist to compare? outputFormat=mat