Running command: translateModel(ModelicaTest.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile") Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.454e-05, allocations: 4.938 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3316, allocations: 54.85 MB / 359.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4551, allocations: 79.57 MB / 439.4 MB, free: 1.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.4553, allocations: 54.45 kB / 439.4 MB, free: 1.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005224/0.4605, allocations: 1.425 MB / 440.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.4606, allocations: 0 / 440.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.12e-06/0.4606, allocations: 4 kB / 440.8 MB, free: 15.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003308/0.4609, allocations: 344.2 kB / 441.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.461, allocations: 12.62 kB / 441.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.461, allocations: 3.953 kB / 441.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.4612, allocations: 163.1 kB / 441.3 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4612, allocations: 4 kB / 441.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4612, allocations: 0 / 441.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.883e-05/0.4613, allocations: 25.7 kB / 441.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.369e-06/0.4613, allocations: 3.5 kB / 441.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4614, allocations: 8 kB / 441.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.458e-06/0.4614, allocations: 3.984 kB / 441.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.4614, allocations: 3.953 kB / 441.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.4616, allocations: 149.7 kB / 441.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.4616, allocations: 22.55 kB / 441.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.4617, allocations: 4.859 kB / 441.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.051e-06/0.4617, allocations: 0 / 441.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.4618, allocations: 64.33 kB / 441.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.862e-06/0.4618, allocations: 0 / 441.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.4619, allocations: 59.41 kB / 441.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.462, allocations: 81.09 kB / 441.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.984e-05/0.4621, allocations: 85.94 kB / 441.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.4621, allocations: 29.7 kB / 441.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.4622, allocations: 80.14 kB / 442 MB, free: 14.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.4622, allocations: 0 / 442 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-06/0.4622, allocations: 4.031 kB / 442 MB, free: 14.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4624, allocations: 314.8 kB / 442.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.4624, allocations: 0 / 442.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.4625, allocations: 7.938 kB / 442.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.4625, allocations: 25.7 kB / 442.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.4625, allocations: 0 / 442.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.4626, allocations: 68.33 kB / 442.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.996e-05/0.4627, allocations: 29.7 kB / 442.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4627, allocations: 96 / 442.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4627, allocations: 4 kB / 442.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-06/0.4627, allocations: 4 kB / 442.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.857e-06/0.4628, allocations: 0 / 442.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.4628, allocations: 0 / 442.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-06/0.4628, allocations: 0 / 442.4 MB, free: 14.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.4629, allocations: 134.6 kB / 442.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.4629, allocations: 0 / 442.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.463, allocations: 14.91 kB / 442.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-06/0.463, allocations: 0 / 442.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.684e-06/0.463, allocations: 5.25 kB / 442.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-06/0.463, allocations: 0 / 442.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.4631, allocations: 149.6 kB / 442.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-06/0.4632, allocations: 0 / 442.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-06/0.4632, allocations: 1.594 kB / 442.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.439e-06/0.4632, allocations: 0 / 442.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4632, allocations: 3.984 kB / 442.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.567e-06/0.4632, allocations: 0 / 442.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.301e-06/0.4632, allocations: 10.42 kB / 442.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.4634, allocations: 94.8 kB / 442.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.4634, allocations: 77.11 kB / 442.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4635, allocations: 3.984 kB / 442.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.4635, allocations: 4 kB / 442.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/0.4635, allocations: 4 kB / 442.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-06/0.4635, allocations: 0 / 442.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.225e-05/0.4636, allocations: 75.28 kB / 443 MB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4636, allocations: 0 / 443 MB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.4639, allocations: 16 kB / 443 MB, free: 13.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.000534/0.4645, allocations: 217.1 kB / 443.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.4646, allocations: 59.34 kB / 443.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.718e-06/0.4646, allocations: 0 / 443.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.4646, allocations: 59.97 kB / 443.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.75e-05/0.4648, allocations: 3.953 kB / 443.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000148/0.4649, allocations: 52.88 kB / 443.4 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.4653, allocations: 0.6785 MB / 444.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.665e-06/0.4653, allocations: 0 / 444.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.4653, allocations: 7.438 kB / 444.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.37e-06/0.4653, allocations: 0 / 444.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of Templates: time 0.003376/0.4687, allocations: 0.5701 MB / 444.6 MB, free: 11.74 MB / 378.7 MB