Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.291e-05, allocations: 6.031 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.09368, allocations: 50.41 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4717, allocations: 83.3 MB / 426.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.472, allocations: 77.7 kB / 426.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03832/0.5104, allocations: 9.478 MB / 435.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.262e-06/0.5104, allocations: 0 / 435.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.727e-05/0.5105, allocations: 15.98 kB / 436 MB, free: 2.969 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009823/0.5114, allocations: 0.567 MB / 436.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5115, allocations: 12.03 kB / 436.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.5116, allocations: 47.44 kB / 436.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.5122, allocations: 312.1 kB / 436.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.5123, allocations: 19.41 kB / 436.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.144e-05/0.5124, allocations: 23.12 kB / 436.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00077/0.5131, allocations: 287.3 kB / 437.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.5132, allocations: 4 kB / 437.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.5133, allocations: 10.81 kB / 437.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.5134, allocations: 8 kB / 437.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000963/0.5144, allocations: 163.5 kB / 437.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.518, allocations: 0.8563 MB / 438.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.5192, allocations: 251.2 kB / 438.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.5197, allocations: 91.3 kB / 438.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.5198, allocations: 12.25 kB / 438.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006571/0.5205, allocations: 156.9 kB / 438.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.044e-05/0.5205, allocations: 0 / 438.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.00497/0.5255, allocations: 1.143 MB / 439.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.5257, allocations: 186.6 kB / 440.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.5267, allocations: 293.1 kB / 440.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/0.5268, allocations: 32.89 kB / 440.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.5271, allocations: 184.3 kB / 440.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.5274, allocations: 143.6 kB / 440.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.5274, allocations: 11.25 kB / 440.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003103/0.5277, allocations: 345.4 kB / 441.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.5282, allocations: 88.62 kB / 441.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.5288, allocations: 175 kB / 441.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.5294, allocations: 108.9 kB / 441.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.132e-06/0.5294, allocations: 0 / 441.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001559/0.531, allocations: 347.8 kB / 441.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.5311, allocations: 4 kB / 441.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.5311, allocations: 7.953 kB / 441.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.5313, allocations: 16.8 kB / 441.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/0.5322, allocations: 90.95 kB / 441.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.5346, allocations: 1.295 MB / 443.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.5352, allocations: 17.22 kB / 443.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/0.5353, allocations: 11.56 kB / 443.2 MB, free: 12.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.5356, allocations: 127.4 kB / 443.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.5358, allocations: 35.75 kB / 443.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.5373, allocations: 349.4 kB / 443.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.5374, allocations: 11.94 kB / 443.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.642e-06/0.5374, allocations: 0 / 443.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001543/0.5389, allocations: 0.6488 MB / 444.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.5421, allocations: 0.8575 MB / 445.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.872e-06/0.5422, allocations: 0 / 445.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008993/0.5431, allocations: 83.34 kB / 445.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.078e-05/0.5432, allocations: 3.984 kB / 445.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.5432, allocations: 11.19 kB / 445.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.711e-06/0.5433, allocations: 4 kB / 445.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.593e-06/0.5433, allocations: 4 kB / 445.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.5454, allocations: 0.5834 MB / 445.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.5459, allocations: 145.5 kB / 446 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.546, allocations: 14.7 kB / 446.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/0.5467, allocations: 23.48 kB / 446.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.5468, allocations: 23.47 kB / 446.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.5469, allocations: 15.44 kB / 446.1 MB, free: 9.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006692/0.5476, allocations: 236.3 kB / 446.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.262e-06/0.5476, allocations: 0 / 446.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001223/0.5489, allocations: 109.9 kB / 446.5 MB, free: 9.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002626/0.5515, allocations: 423.8 kB / 446.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.553, allocations: 359.6 kB / 447.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.579e-06/0.5531, allocations: 0 / 447.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.5537, allocations: 138.8 kB / 447.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.5549, allocations: 77.36 kB / 447.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.5584, allocations: 0.7924 MB / 448.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/0.5594, allocations: 0.8076 MB / 449 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005586/0.5599, allocations: 55.25 kB / 449.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.5602, allocations: 31.44 kB / 449.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.799e-06/0.5602, allocations: 4 kB / 449.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of Templates: time 0.02726/0.5875, allocations: 4.907 MB / 454 MB, free: 2.039 MB / 362.7 MB