Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.231e-05/4.237e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3893, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.000606/0.39, allocations: 207.6 kB / 363.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.3908, allocations: 223.2 kB / 363.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.3908, allocations: 1.531 kB / 363.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.3909, allocations: 0 / 363.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.3909, allocations: 0 / 363.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.3911, allocations: 35.08 kB / 363.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.59e-05/0.3912, allocations: 5.578 kB / 363.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.3912, allocations: 3.984 kB / 363.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.3913, allocations: 1.062 kB / 363.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.3915, allocations: 13.91 kB / 363.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.3917, allocations: 51.97 kB / 363.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3917, allocations: 3.281 kB / 363.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.3918, allocations: 1.562 kB / 363.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.147e-05/0.3918, allocations: 0 / 363.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.3919, allocations: 33.14 kB / 363.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3919, allocations: 0 / 363.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3919, allocations: 0 / 363.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.392, allocations: 0 / 363.4 MB, free: 11.84 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.0003785/0.3924, allocations: 360.7 kB / 363.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.3924, allocations: 9.625 kB / 363.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.3925, allocations: 11.89 kB / 363.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3926, allocations: 163.1 kB / 364 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3926, allocations: 5.312 kB / 364 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3927, allocations: 5.609 kB / 364 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3928, allocations: 27.3 kB / 364 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3928, allocations: 0 / 364 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3928, allocations: 0 / 364 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3928, allocations: 1.656 kB / 364 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.3929, allocations: 3.953 kB / 364 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.3931, allocations: 155.3 kB / 364.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.814e-05/0.3931, allocations: 21.42 kB / 364.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.3931, allocations: 0 / 364.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.3933, allocations: 61.95 kB / 364.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.3933, allocations: 0 / 364.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002051/0.3935, allocations: 65.92 kB / 364.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.3936, allocations: 78.23 kB / 364.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.3936, allocations: 90.19 kB / 364.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3937, allocations: 25.7 kB / 364.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.3937, allocations: 84.08 kB / 364.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3938, allocations: 5 kB / 364.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.3938, allocations: 0 / 364.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3939, allocations: 316.3 kB / 364.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.394, allocations: 0 / 364.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.394, allocations: 1.5 kB / 364.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.394, allocations: 34.83 kB / 364.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.394, allocations: 0.5 kB / 364.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.9e-05/0.3941, allocations: 62.42 kB / 365 MB, free: 10.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.3942, allocations: 30.8 kB / 365 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3942, allocations: 1.531 kB / 365 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3942, allocations: 0 / 365 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.794e-06/0.3943, allocations: 0 / 365 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3943, allocations: 0.6562 kB / 365 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.3943, allocations: 1.5 kB / 365 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3943, allocations: 0 / 365 MB, free: 10.05 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.0001092/0.3944, allocations: 146.2 kB / 365.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.3945, allocations: 3.938 kB / 365.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.276e-05/0.3945, allocations: 4.438 kB / 365.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3945, allocations: 0 / 365.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3945, allocations: 3.938 kB / 365.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3945, allocations: 1.312 kB / 365.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.3947, allocations: 159.1 kB / 365.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3947, allocations: 0 / 365.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.3947, allocations: 3.984 kB / 365.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3947, allocations: 5.312 kB / 365.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3947, allocations: 0 / 365.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3947, allocations: 1.469 kB / 365.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3947, allocations: 0 / 365.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.3949, allocations: 89.02 kB / 365.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.3949, allocations: 85.02 kB / 365.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.395, allocations: 0 / 365.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.395, allocations: 5.562 kB / 365.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.395, allocations: 4.031 kB / 365.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.395, allocations: 0.9688 kB / 365.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.52e-05/0.3951, allocations: 76.31 kB / 365.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3951, allocations: 3.938 kB / 365.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.3954, allocations: 22.97 kB / 365.6 MB, free: 9.383 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.0007306/0.3961, allocations: 273 kB / 365.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3963, allocations: 56.47 kB / 366 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3963, allocations: 1.188 kB / 366 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.3964, allocations: 57.66 kB / 366 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.3965, allocations: 1.969 kB / 366 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.3967, allocations: 91.39 kB / 366.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.397, allocations: 0.6761 MB / 366.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.962e-06/0.397, allocations: 0 / 366.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.3971, allocations: 9 kB / 366.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3971, allocations: 0 / 366.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of Templates: time 0.004531/0.4016, allocations: 0.7766 MB / 367.6 MB, free: 7.844 MB / 298.7 MB