Running command: translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.932e-05, allocations: 4 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.172, allocations: 50.41 MB / 342.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.5404, allocations: 85.85 MB / 428.4 MB, free: 8.336 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.5407, allocations: 70.53 kB / 428.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1014/0.6421, allocations: 15.12 MB / 443.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.783e-06/0.6421, allocations: 0 / 443.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.248e-05/0.6422, allocations: 16 kB / 443.6 MB, free: 11.18 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.006476/0.6487, allocations: 1.059 MB / 444.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/0.6488, allocations: 16.03 kB / 444.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006874/0.6496, allocations: 86.97 kB / 444.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.6513, allocations: 424 kB / 445.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.6515, allocations: 51.44 kB / 445.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.6519, allocations: 73.03 kB / 445.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.6541, allocations: 0.711 MB / 446 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.6541, allocations: 0 / 446 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6542, allocations: 32.5 kB / 446 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.6543, allocations: 16 kB / 446 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.6561, allocations: 0.7061 MB / 446.8 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/0.6622, allocations: 2.442 MB / 449.2 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.6636, allocations: 0.6116 MB / 449.8 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/0.6646, allocations: 418 kB / 450.2 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.6647, allocations: 12.78 kB / 450.2 MB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.6659, allocations: 498.9 kB / 450.7 MB, free: 5.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=89): time 4.81e-06/0.6659, allocations: 0 / 450.7 MB, free: 5.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=109): time 0.008737/0.6746, allocations: 2.945 MB / 453.7 MB, free: 3.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.6747, allocations: 60.41 kB / 453.7 MB, free: 3.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.6753, allocations: 314.6 kB / 454 MB, free: 2.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.6754, allocations: 54.08 kB / 454.1 MB, free: 2.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.6757, allocations: 307.2 kB / 454.4 MB, free: 2.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.6761, allocations: 376.1 kB / 454.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6762, allocations: 21.25 kB / 454.8 MB, free: 2.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.6764, allocations: 345.9 kB / 455.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/0.6774, allocations: 362.2 kB / 455.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.6784, allocations: 446.2 kB / 455.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008565/0.6793, allocations: 304.9 kB / 456.2 MB, free: 1.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.611e-06/0.6793, allocations: 4 kB / 456.2 MB, free: 1.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00356/0.6829, allocations: 1.143 MB / 457.3 MB, free: 15.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.6829, allocations: 8 kB / 457.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.683, allocations: 0 / 457.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.6845, allocations: 0.5451 MB / 457.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.6857, allocations: 203.7 kB / 458.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005509/0.6913, allocations: 3.216 MB / 461.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6929, allocations: 247.8 kB / 461.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.6931, allocations: 39.98 kB / 461.6 MB, free: 11.4 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.0003534/0.6935, allocations: 168 kB / 461.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.6937, allocations: 71.2 kB / 461.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.6972, allocations: 1.197 MB / 463 MB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.6972, allocations: 12 kB / 463 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.6972, allocations: 3.953 kB / 463 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.6973, allocations: 12 kB / 463 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.7034, allocations: 2.345 MB / 465.4 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.7035, allocations: 4 kB / 465.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.7047, allocations: 195.9 kB / 465.6 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.7062, allocations: 0.5139 MB / 466.1 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.7063, allocations: 35.97 kB / 466.1 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.7113, allocations: 3.046 MB / 469.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.424e-06/0.7113, allocations: 0 / 469.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004543/0.7159, allocations: 1.712 MB / 470.9 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/0.7166, allocations: 228.1 kB / 471.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.7168, allocations: 35.98 kB / 471.1 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/0.7184, allocations: 252 kB / 471.4 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001359/0.7198, allocations: 436 kB / 471.8 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.72, allocations: 51.97 kB / 471.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004584/0.7205, allocations: 253.2 kB / 472.1 MB, free: 420 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.18e-06/0.7205, allocations: 0 / 472.1 MB, free: 420 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001214/0.7217, allocations: 247.9 kB / 472.4 MB, free: 172 kB / 378.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.0004409/0.7222, allocations: 175.9 kB / 472.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.7249, allocations: 1.073 MB / 473.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.187e-06/0.725, allocations: 0 / 473.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.7267, allocations: 0.6458 MB / 474.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009306/0.7277, allocations: 110.3 kB / 474.4 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.7334, allocations: 1.808 MB / 476.2 MB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/0.7342, allocations: 0.9437 MB / 477.1 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.7346, allocations: 59.41 kB / 477.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of SimCode: time 2.307e-06/0.7347, allocations: 8 kB / 477.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of Templates: time 0.02886/0.7635, allocations: 16.62 MB / 493.8 MB, free: 10.59 MB / 410.7 MB