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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.531e-05, allocations: 0 / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09103, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4541, allocations: 83.29 MB / 425.8 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4543, allocations: 77.64 kB / 425.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03807/0.4924, allocations: 9.486 MB / 435.4 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.696e-06/0.4925, allocations: 0 / 435.4 MB, free: 3.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.288e-05/0.4925, allocations: 12 kB / 435.4 MB, free: 2.992 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.001034/0.4936, allocations: 0.5704 MB / 436 MB, free: 2.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4936, allocations: 16.03 kB / 436 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.4937, allocations: 43.44 kB / 436 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.4944, allocations: 304.1 kB / 436.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.4944, allocations: 22.5 kB / 436.4 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.4945, allocations: 27.25 kB / 436.4 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.4951, allocations: 287.2 kB / 436.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.4951, allocations: 0 / 436.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.4952, allocations: 11.5 kB / 436.7 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.4952, allocations: 8 kB / 436.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.4956, allocations: 162.3 kB / 436.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.4975, allocations: 0.8663 MB / 437.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.4982, allocations: 251.5 kB / 438 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.4984, allocations: 95.28 kB / 438.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.4985, allocations: 4.281 kB / 438.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.4988, allocations: 153.5 kB / 438.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 7.339e-06/0.4988, allocations: 0 / 438.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002691/0.5015, allocations: 1.147 MB / 439.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.5017, allocations: 187 kB / 439.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.5022, allocations: 291.5 kB / 439.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.5022, allocations: 36.45 kB / 439.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.5024, allocations: 181.8 kB / 440 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.5026, allocations: 145.7 kB / 440.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.5026, allocations: 9.75 kB / 440.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.5028, allocations: 347.5 kB / 440.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.5031, allocations: 88.5 kB / 440.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.5034, allocations: 176.5 kB / 440.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.5037, allocations: 107.6 kB / 440.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-06/0.5037, allocations: 0 / 440.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007936/0.5045, allocations: 348 kB / 441.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5046, allocations: 4 kB / 441.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5046, allocations: 7.953 kB / 441.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.5047, allocations: 21.97 kB / 441.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.5052, allocations: 87.22 kB / 441.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.5066, allocations: 1.289 MB / 442.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.5069, allocations: 19.45 kB / 442.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.507, allocations: 8 kB / 442.7 MB, free: 12.33 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.0001629/0.5071, allocations: 131.3 kB / 442.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/0.5072, allocations: 39.78 kB / 442.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007777/0.508, allocations: 346 kB / 443.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.508, allocations: 8 kB / 443.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5081, allocations: 7.969 kB / 443.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008238/0.5089, allocations: 0.6463 MB / 443.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.5106, allocations: 0.861 MB / 444.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.137e-06/0.5106, allocations: 0 / 444.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.5111, allocations: 83.83 kB / 444.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.247e-06/0.5111, allocations: 0 / 444.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.5112, allocations: 11.69 kB / 444.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.669e-06/0.5112, allocations: 4 kB / 444.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.949e-06/0.5112, allocations: 4 kB / 444.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.5123, allocations: 0.5876 MB / 445.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.5125, allocations: 144.5 kB / 445.5 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/0.5126, allocations: 14.58 kB / 445.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.5129, allocations: 19.06 kB / 445.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.513, allocations: 19.97 kB / 445.6 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.5131, allocations: 19.17 kB / 445.6 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003596/0.5134, allocations: 232 kB / 445.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.5135, allocations: 4 kB / 445.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006062/0.5141, allocations: 110.4 kB / 445.9 MB, free: 9.363 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.001485/0.5156, allocations: 432.8 kB / 446.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.5164, allocations: 355.6 kB / 446.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.326e-06/0.5164, allocations: 0 / 446.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.5167, allocations: 134.8 kB / 446.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.5174, allocations: 86.02 kB / 446.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.5192, allocations: 0.7931 MB / 447.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.5198, allocations: 0.8041 MB / 448.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.5201, allocations: 51.25 kB / 448.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.5202, allocations: 39.23 kB / 448.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of SimCode: time 1.951e-06/0.5203, allocations: 4 kB / 448.6 MB, free: 6.918 MB / 362.7 MB Notification: Performance of Templates: time 0.01492/0.5352, allocations: 4.896 MB / 453.5 MB, free: 2.066 MB / 362.7 MB