Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadModel(ModelicaTest): time 2.517/2.517, allocations: 234.9 MB / 249.4 MB, free: 10.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.106e-05, allocations: 0 / 308 MB, free: 120 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4078, allocations: 54.87 MB / 362.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.000742/0.4086, allocations: 208.4 kB / 363.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.4096, allocations: 291.7 kB / 363.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.4097, allocations: 0 / 363.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.4097, allocations: 0 / 363.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.234e-06/0.4098, allocations: 0 / 363.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.4102, allocations: 59.67 kB / 363.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.4102, allocations: 4 kB / 363.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.4103, allocations: 0 / 363.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.4104, allocations: 0 / 363.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007118/0.4111, allocations: 140.5 kB / 363.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.4111, allocations: 0 / 363.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.4112, allocations: 0 / 363.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.4112, allocations: 0 / 363.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.4112, allocations: 0 / 363.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.098e-05/0.4113, allocations: 11.98 kB / 363.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4113, allocations: 0 / 363.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.4113, allocations: 0 / 363.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.4113, allocations: 0 / 363.6 MB, free: 11.12 MB / 298.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.0004213/0.4118, allocations: 329.9 kB / 363.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/0.4118, allocations: 12.09 kB / 363.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.4119, allocations: 7.891 kB / 363.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4121, allocations: 159.1 kB / 364.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.4121, allocations: 7.938 kB / 364.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.4121, allocations: 0 / 364.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.4123, allocations: 41.67 kB / 364.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4123, allocations: 0 / 364.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4123, allocations: 3.938 kB / 364.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.4123, allocations: 0 / 364.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.748e-05/0.4124, allocations: 3.953 kB / 364.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.4126, allocations: 145.7 kB / 364.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.4127, allocations: 18.52 kB / 364.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.4127, allocations: 4 kB / 364.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.117e-05/0.4128, allocations: 68.34 kB / 364.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.4128, allocations: 0 / 364.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000243/0.413, allocations: 55.41 kB / 364.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.4131, allocations: 81.11 kB / 364.5 MB, free: 9.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.309e-05/0.4132, allocations: 85 kB / 364.6 MB, free: 9.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4132, allocations: 25.7 kB / 364.6 MB, free: 9.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.4133, allocations: 84.08 kB / 364.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.4133, allocations: 8.031 kB / 364.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.4133, allocations: 0 / 364.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4135, allocations: 322.8 kB / 365 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.4135, allocations: 4 kB / 365 MB, free: 9.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.4135, allocations: 0 / 365 MB, free: 9.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.4136, allocations: 25.7 kB / 365 MB, free: 9.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4136, allocations: 0 / 365 MB, free: 9.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.4137, allocations: 59.41 kB / 365.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.4138, allocations: 33.8 kB / 365.1 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4138, allocations: 4 kB / 365.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4139, allocations: 0 / 365.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.4139, allocations: 0 / 365.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4139, allocations: 3.984 kB / 365.1 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.4139, allocations: 4 kB / 365.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.4139, allocations: 0 / 365.1 MB, free: 9.301 MB / 298.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.0001228/0.4141, allocations: 143.5 kB / 365.3 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.4141, allocations: 3.938 kB / 365.3 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.4141, allocations: 7.125 kB / 365.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4141, allocations: 0 / 365.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4141, allocations: 0 / 365.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4141, allocations: 0 / 365.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.4143, allocations: 153.6 kB / 365.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4143, allocations: 0 / 365.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.4143, allocations: 3.938 kB / 365.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4143, allocations: 0 / 365.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.4144, allocations: 3.938 kB / 365.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4144, allocations: 0 / 365.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4144, allocations: 4 kB / 365.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.4146, allocations: 94.78 kB / 365.5 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.4147, allocations: 79.5 kB / 365.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4147, allocations: 4 kB / 365.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.4147, allocations: 0 / 365.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.4148, allocations: 3.984 kB / 365.6 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4148, allocations: 0 / 365.6 MB, free: 8.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.4148, allocations: 75.28 kB / 365.7 MB, free: 8.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4149, allocations: 7.969 kB / 365.7 MB, free: 8.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.4151, allocations: 4 kB / 365.7 MB, free: 8.621 MB / 298.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.000157/0.4153, allocations: 95.25 kB / 365.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.4154, allocations: 63.39 kB / 365.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4154, allocations: 0 / 365.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/0.4155, allocations: 55.41 kB / 365.9 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.4156, allocations: 0 / 365.9 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.4159, allocations: 82.83 kB / 366 MB, free: 8.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.4162, allocations: 0.6731 MB / 366.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.103e-06/0.4162, allocations: 0 / 366.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.4162, allocations: 7.438 kB / 366.7 MB, free: 7.559 MB / 298.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4162, allocations: 0 / 366.7 MB, free: 7.559 MB / 298.7 MB Notification: Performance of Templates: time 0.00287/0.4191, allocations: 190.9 kB / 366.9 MB, free: 7.375 MB / 298.7 MB