Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.HeatLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.475e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1419, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5742, allocations: 83.42 MB / 400.4 MB, free: 4.645 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.5745, allocations: 75.95 kB / 400.5 MB, free: 4.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07416/0.6487, allocations: 14.9 MB / 415.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6488, allocations: 0 / 415.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.266e-05/0.6488, allocations: 16 kB / 415.4 MB, free: 7.676 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.004208/0.653, allocations: 1.073 MB / 416.5 MB, free: 6.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.6531, allocations: 12.03 kB / 416.5 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.6534, allocations: 109.2 kB / 416.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.6537, allocations: 94.95 kB / 416.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.6546, allocations: 412.7 kB / 417.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/0.6547, allocations: 52.12 kB / 417.2 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.6549, allocations: 77.53 kB / 417.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.6569, allocations: 0.71 MB / 418 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.657, allocations: 7.906 kB / 418 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.6572, allocations: 27 kB / 418 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.6572, allocations: 19.95 kB / 418 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.6594, allocations: 0.701 MB / 418.7 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007435/0.6668, allocations: 2.443 MB / 421.2 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.6685, allocations: 0.6164 MB / 421.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.6695, allocations: 409.2 kB / 422.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.6697, allocations: 12.77 kB / 422.2 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/0.671, allocations: 0.4891 MB / 422.7 MB, free: 1.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 3.978e-06/0.6711, allocations: 0 / 422.7 MB, free: 1.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.01052/0.6816, allocations: 2.947 MB / 425.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.6817, allocations: 64.41 kB / 425.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/0.6823, allocations: 313.3 kB / 426 MB, free: 15.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.6825, allocations: 58.88 kB / 426 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.6827, allocations: 251.8 kB / 426.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004441/0.6832, allocations: 377.9 kB / 426.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/0.6833, allocations: 20.69 kB / 426.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.6835, allocations: 374.5 kB / 427 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.6846, allocations: 362.5 kB / 427.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.6858, allocations: 447.8 kB / 427.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.6867, allocations: 308.2 kB / 428.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6868, allocations: 4 kB / 428.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004097/0.6909, allocations: 1.171 MB / 429.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.6909, allocations: 4 kB / 429.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.691, allocations: 4 kB / 429.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.6927, allocations: 0.5394 MB / 429.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.6944, allocations: 210.6 kB / 430.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.7006, allocations: 3.221 MB / 433.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.703, allocations: 242.9 kB / 433.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.7032, allocations: 43.05 kB / 433.6 MB, free: 8.789 MB / 346.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.0003768/0.7036, allocations: 162.6 kB / 433.7 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.7038, allocations: 71.16 kB / 433.8 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.7077, allocations: 1.199 MB / 435 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.7078, allocations: 12 kB / 435 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7078, allocations: 0 / 435 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.7078, allocations: 7.969 kB / 435 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00685/0.7147, allocations: 2.346 MB / 437.4 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.7147, allocations: 4 kB / 437.4 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.7164, allocations: 184.7 kB / 437.5 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.718, allocations: 0.5191 MB / 438.1 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/0.7182, allocations: 34.77 kB / 438.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005584/0.7238, allocations: 3.043 MB / 441.1 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.7239, allocations: 8.016 kB / 441.1 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/0.7292, allocations: 1.723 MB / 442.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007055/0.7299, allocations: 228.2 kB / 443.1 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.7302, allocations: 32 kB / 443.1 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/0.7327, allocations: 251.8 kB / 443.4 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001852/0.7346, allocations: 428.1 kB / 443.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/0.7349, allocations: 47.95 kB / 443.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005111/0.7354, allocations: 249.2 kB / 444.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.7354, allocations: 0 / 444.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001526/0.7369, allocations: 247.9 kB / 444.3 MB, free: 15.14 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.00627/0.7432, allocations: 2.878 MB / 447.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.7467, allocations: 1.065 MB / 448.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.7467, allocations: 4.312 kB / 448.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.7491, allocations: 0.7004 MB / 449 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.7504, allocations: 117.2 kB / 449.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/0.7585, allocations: 1.918 MB / 451 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/0.7593, allocations: 0.9437 MB / 451.9 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006806/0.76, allocations: 77.36 kB / 452 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.7606, allocations: 239.3 kB / 452.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of SimCode: time 3.948e-06/0.7606, allocations: 0 / 452.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09202/0.8527, allocations: 20.51 MB / 472.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.8531, allocations: 180.3 kB / 472.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/4.3, allocations: 0 / 472.9 MB, free: 2.332 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat does not exist to compare? outputFormat=mat