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.605/2.605, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.215e-05/4.219e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 54.86 MB / 362.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestWriteFile): time 0.0006526/0.3948, allocations: 216.1 kB / 363.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006184/0.3954, allocations: 176.9 kB / 363.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.3955, allocations: 0 / 363.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.083e-05/0.3955, allocations: 0 / 363.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-06/0.3955, allocations: 5 kB / 363.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.3957, allocations: 34.98 kB / 363.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.358e-05/0.3958, allocations: 0 / 363.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.3958, allocations: 1.438 kB / 363.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.3959, allocations: 0 / 363.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.3962, allocations: 26.17 kB / 363.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.3963, allocations: 0.9375 kB / 363.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.3963, allocations: 0 / 363.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.3963, allocations: 0 / 363.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.191e-05/0.3963, allocations: 5.188 kB / 363.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.21e-05/0.3964, allocations: 0 / 363.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3964, allocations: 0.9375 kB / 363.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.3964, allocations: 0 / 363.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3964, allocations: 0 / 363.3 MB, free: 11.94 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.0003358/0.3967, allocations: 336.2 kB / 363.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3968, allocations: 8.5 kB / 363.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3969, allocations: 3.953 kB / 363.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.397, allocations: 160.5 kB / 363.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.397, allocations: 3.938 kB / 363.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3971, allocations: 9.422 kB / 363.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.3972, allocations: 31.12 kB / 363.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3972, allocations: 5.281 kB / 363.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3972, allocations: 0 / 363.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3972, allocations: 0 / 363.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.3973, allocations: 5.453 kB / 363.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.3974, allocations: 147.1 kB / 364 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.082e-05/0.3975, allocations: 24.58 kB / 364 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.3975, allocations: 1.25 kB / 364 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.3976, allocations: 57.52 kB / 364.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.3976, allocations: 3.938 kB / 364.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001947/0.3978, allocations: 65.77 kB / 364.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.3978, allocations: 78.48 kB / 364.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.988e-05/0.3979, allocations: 85 kB / 364.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3979, allocations: 27.14 kB / 364.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.398, allocations: 84.27 kB / 364.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.398, allocations: 3.906 kB / 364.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.398, allocations: 1.344 kB / 364.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3982, allocations: 314.8 kB / 364.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.3982, allocations: 5.188 kB / 364.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-06/0.3982, allocations: 1.625 kB / 364.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.3982, allocations: 31 kB / 364.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3983, allocations: 0 / 364.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.268e-05/0.3984, allocations: 66.62 kB / 364.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.3984, allocations: 30.64 kB / 364.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3984, allocations: 0 / 364.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3985, allocations: 1.438 kB / 364.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.3985, allocations: 0 / 364.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3985, allocations: 0 / 364.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.3985, allocations: 1.688 kB / 364.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3985, allocations: 0 / 364.9 MB, free: 10.18 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.0001096/0.3986, allocations: 146 kB / 365 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3987, allocations: 5.031 kB / 365 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.3987, allocations: 3.125 kB / 365 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3987, allocations: 0 / 365 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3987, allocations: 1.219 kB / 365 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3987, allocations: 0 / 365 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.3989, allocations: 154.9 kB / 365.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3989, allocations: 5.094 kB / 365.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-06/0.3989, allocations: 4 kB / 365.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3989, allocations: 0 / 365.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3989, allocations: 1.094 kB / 365.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3989, allocations: 1.312 kB / 365.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3989, allocations: 4 kB / 365.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.3991, allocations: 96.94 kB / 365.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.3991, allocations: 80.59 kB / 365.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3991, allocations: 4.969 kB / 365.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.466e-05/0.3992, allocations: 4 kB / 365.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.3992, allocations: 1 kB / 365.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3992, allocations: 1.438 kB / 365.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.859e-05/0.3993, allocations: 79.31 kB / 365.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3993, allocations: 0 / 365.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.3995, allocations: 2.844 kB / 365.5 MB, free: 9.52 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.0001209/0.3996, allocations: 93.72 kB / 365.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.3997, allocations: 64.23 kB / 365.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3998, allocations: 0 / 365.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.3998, allocations: 58.03 kB / 365.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.3999, allocations: 5.375 kB / 365.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.4001, allocations: 77.06 kB / 365.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.4004, allocations: 0.6757 MB / 366.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.161e-06/0.4004, allocations: 0 / 366.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.236e-05/0.4005, allocations: 7.438 kB / 366.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4005, allocations: 1.156 kB / 366.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of Templates: time 0.002411/0.4029, allocations: 192.2 kB / 366.6 MB, free: 8.375 MB / 298.7 MB