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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.188e-05, allocations: 8 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.0848, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3804/0.4653, allocations: 81.87 MB / 398.8 MB, free: 6.293 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4656, allocations: 76.89 kB / 398.9 MB, free: 6.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04044/0.506, allocations: 9.489 MB / 408.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5061, allocations: 0 / 408.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.996e-05/0.5062, allocations: 8 kB / 408.4 MB, free: 14.28 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001661/0.5078, allocations: 0.589 MB / 409 MB, free: 13.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/0.5079, allocations: 8.031 kB / 409 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.5082, allocations: 47.48 kB / 409 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.5093, allocations: 318.4 kB / 409.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.5094, allocations: 20.23 kB / 409.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.5095, allocations: 23.81 kB / 409.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.5104, allocations: 286.3 kB / 409.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.5105, allocations: 4 kB / 409.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.5106, allocations: 11.75 kB / 409.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.5106, allocations: 8 kB / 409.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.5113, allocations: 171.5 kB / 409.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.5144, allocations: 0.8676 MB / 410.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.5155, allocations: 249.2 kB / 410.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.516, allocations: 95.98 kB / 411 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.516, allocations: 12.22 kB / 411.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.5166, allocations: 156.7 kB / 411.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 5.861e-06/0.5167, allocations: 4 kB / 411.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.003451/0.5201, allocations: 1.143 MB / 412.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.5203, allocations: 183.9 kB / 412.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.5208, allocations: 323 kB / 412.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.5209, allocations: 32.45 kB / 412.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.5211, allocations: 184.7 kB / 413.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.5213, allocations: 137.8 kB / 413.2 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.5213, allocations: 10.69 kB / 413.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5215, allocations: 351.6 kB / 413.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.5217, allocations: 83.19 kB / 413.6 MB, free: 9.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.5221, allocations: 175.5 kB / 413.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.5224, allocations: 115.8 kB / 413.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-06/0.5224, allocations: 4 kB / 413.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008244/0.5232, allocations: 342.5 kB / 414.3 MB, free: 9.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5233, allocations: 8 kB / 414.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.022e-06/0.5233, allocations: 0 / 414.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.5234, allocations: 24.22 kB / 414.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.5239, allocations: 90.52 kB / 414.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.5253, allocations: 1.286 MB / 415.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.5256, allocations: 10.69 kB / 415.7 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.5257, allocations: 15.56 kB / 415.7 MB, free: 7.551 MB / 330.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.000172/0.5259, allocations: 137.9 kB / 415.8 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.526, allocations: 43.52 kB / 415.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007979/0.5268, allocations: 333.6 kB / 416.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.531e-06/0.5268, allocations: 4 kB / 416.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5268, allocations: 0 / 416.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008522/0.5277, allocations: 0.6598 MB / 416.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.5294, allocations: 0.8636 MB / 417.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.612e-06/0.5295, allocations: 0 / 417.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.53, allocations: 83.33 kB / 417.8 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-06/0.53, allocations: 3.938 kB / 417.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.5301, allocations: 14.88 kB / 417.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/0.5301, allocations: 16.06 kB / 417.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.776e-06/0.5301, allocations: 4.062 kB / 417.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.5312, allocations: 0.6031 MB / 418.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.5315, allocations: 145.2 kB / 418.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.5316, allocations: 7.812 kB / 418.6 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.5319, allocations: 14.5 kB / 418.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.532, allocations: 27.2 kB / 418.6 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.532, allocations: 15.5 kB / 418.6 MB, free: 4.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003959/0.5324, allocations: 258 kB / 418.9 MB, free: 4.637 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.5325, allocations: 0 / 418.9 MB, free: 4.637 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006317/0.5331, allocations: 110.8 kB / 419 MB, free: 4.543 MB / 330.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.001463/0.5346, allocations: 421.5 kB / 419.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008034/0.5354, allocations: 343.4 kB / 419.7 MB, free: 3.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.501e-06/0.5354, allocations: 4 kB / 419.8 MB, free: 3.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.5358, allocations: 128.8 kB / 419.9 MB, free: 3.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.5364, allocations: 81.92 kB / 420 MB, free: 3.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.5384, allocations: 0.8258 MB / 420.8 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.539, allocations: 0.8113 MB / 421.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.5393, allocations: 47.25 kB / 421.6 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.5395, allocations: 35.44 kB / 421.7 MB, free: 2.047 MB / 330.7 MB Notification: Performance of SimCode: time 1.81e-06/0.5395, allocations: 0 / 421.7 MB, free: 2.047 MB / 330.7 MB Notification: Performance of Templates: time 0.01522/0.5547, allocations: 4.968 MB / 426.6 MB, free: 13.11 MB / 346.7 MB