Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadModel(ModelicaTest): time 2.583/2.583, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.101e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3952, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0008586/0.3961, allocations: 212.8 kB / 363.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3977, allocations: 0.7063 MB / 363.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.3978, allocations: 0.8125 kB / 363.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.3978, allocations: 0 / 363.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.398, allocations: 5.141 kB / 363.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.3983, allocations: 36.67 kB / 363.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.125e-05/0.3984, allocations: 1.969 kB / 363.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.3984, allocations: 0 / 363.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.3984, allocations: 1.094 kB / 363.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.3985, allocations: 5.828 kB / 363.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3986, allocations: 34.92 kB / 363.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3987, allocations: 6.281 kB / 363.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.3987, allocations: 1.281 kB / 363.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.3987, allocations: 0 / 363.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3989, allocations: 36.62 kB / 363.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.3989, allocations: 0 / 363.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.701e-06/0.3989, allocations: 1.188 kB / 363.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3989, allocations: 3.938 kB / 363.9 MB, free: 11.43 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.0003701/0.3993, allocations: 351.2 kB / 364.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3993, allocations: 8.219 kB / 364.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.3994, allocations: 5.078 kB / 364.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3996, allocations: 168.3 kB / 364.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3996, allocations: 7.875 kB / 364.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3996, allocations: 1.031 kB / 364.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.917e-05/0.3997, allocations: 28.52 kB / 364.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3997, allocations: 0 / 364.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3998, allocations: 7.984 kB / 364.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3998, allocations: 1.438 kB / 364.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.3998, allocations: 5.297 kB / 364.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.4, allocations: 150.5 kB / 364.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.4, allocations: 24.83 kB / 364.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.431e-06/0.4001, allocations: 0 / 364.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.4001, allocations: 57.27 kB / 364.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.4001, allocations: 1 kB / 364.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002272/0.4004, allocations: 62.86 kB / 364.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.4005, allocations: 78.3 kB / 364.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.4006, allocations: 94.16 kB / 364.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.4006, allocations: 26.73 kB / 365 MB, free: 10.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.4006, allocations: 80.14 kB / 365 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.4007, allocations: 1.062 kB / 365 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.4007, allocations: 0 / 365 MB, free: 10.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4009, allocations: 324 kB / 365.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.4009, allocations: 4.969 kB / 365.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-06/0.4009, allocations: 1.094 kB / 365.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.401, allocations: 31.92 kB / 365.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.401, allocations: 0 / 365.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001126/0.4011, allocations: 63 kB / 365.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.4011, allocations: 38.38 kB / 365.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4012, allocations: 1.531 kB / 365.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4012, allocations: 0 / 365.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.4012, allocations: 0 / 365.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4012, allocations: 1.5 kB / 365.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.4012, allocations: 0 / 365.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.4013, allocations: 5 kB / 365.5 MB, free: 9.641 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.0001134/0.4014, allocations: 140.3 kB / 365.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.4014, allocations: 1 kB / 365.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.4014, allocations: 3.125 kB / 365.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4014, allocations: 1.562 kB / 365.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4015, allocations: 0 / 365.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4015, allocations: 3.984 kB / 365.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4016, allocations: 154.7 kB / 365.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4017, allocations: 1.312 kB / 365.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-06/0.4017, allocations: 4 kB / 365.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4017, allocations: 0 / 365.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.4017, allocations: 5.125 kB / 365.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4017, allocations: 1.281 kB / 365.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4017, allocations: 0 / 365.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.4019, allocations: 94 kB / 365.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.4019, allocations: 78.2 kB / 366 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.402, allocations: 1.188 kB / 366 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.74e-05/0.402, allocations: 8.016 kB / 366 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.402, allocations: 0.9688 kB / 366 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.402, allocations: 1 kB / 366 MB, free: 9.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.4021, allocations: 76.56 kB / 366.1 MB, free: 9 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4021, allocations: 0 / 366.1 MB, free: 9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.4024, allocations: 17.25 kB / 366.1 MB, free: 8.996 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.0005406/0.403, allocations: 202.6 kB / 366.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.4031, allocations: 60.03 kB / 366.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4031, allocations: 0 / 366.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.904e-05/0.4032, allocations: 54.5 kB / 366.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.4033, allocations: 12.12 kB / 366.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.4035, allocations: 80.59 kB / 366.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.4039, allocations: 0.673 MB / 367.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.823e-06/0.4039, allocations: 0 / 367.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.4039, allocations: 9.031 kB / 367.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4039, allocations: 0 / 367.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of Templates: time 0.004062/0.408, allocations: 0.6131 MB / 367.8 MB, free: 7.59 MB / 298.7 MB