Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.23e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3603, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4957, allocations: 84.67 MB / 466.9 MB, free: 7.875 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4959, allocations: 55.98 kB / 466.9 MB, free: 7.82 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.006/0.5019, allocations: 1.66 MB / 468.6 MB, free: 6.156 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.178e-06/0.502, allocations: 0 / 468.6 MB, free: 6.156 MB / 394.8 MB Notification: Performance of Transformations before backend: time 8.814e-06/0.502, allocations: 4 kB / 468.6 MB, free: 6.152 MB / 394.8 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.0003235/0.5023, allocations: 351 kB / 468.9 MB, free: 5.762 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5024, allocations: 12.02 kB / 468.9 MB, free: 5.75 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.5024, allocations: 7.906 kB / 468.9 MB, free: 5.742 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.5026, allocations: 163 kB / 469.1 MB, free: 5.543 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5026, allocations: 0 / 469.1 MB, free: 5.543 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.5026, allocations: 0 / 469.1 MB, free: 5.543 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.5027, allocations: 33.69 kB / 469.1 MB, free: 5.504 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.64e-06/0.5027, allocations: 0 / 469.1 MB, free: 5.504 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-06/0.5027, allocations: 4 kB / 469.1 MB, free: 5.5 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.5028, allocations: 0 / 469.1 MB, free: 5.5 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.5028, allocations: 0 / 469.1 MB, free: 5.5 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.503, allocations: 161.6 kB / 469.3 MB, free: 5.293 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.503, allocations: 18.52 kB / 469.3 MB, free: 5.266 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.5031, allocations: 4.859 kB / 469.3 MB, free: 5.258 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-06/0.5031, allocations: 0 / 469.3 MB, free: 5.258 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/0.5031, allocations: 64.36 kB / 469.4 MB, free: 5.18 MB / 394.8 MB Notification: Performance of pre-optimization done (n=1): time 1.806e-06/0.5031, allocations: 0 / 469.4 MB, free: 5.18 MB / 394.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.5033, allocations: 63.39 kB / 469.4 MB, free: 5.105 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.5034, allocations: 81.11 kB / 469.5 MB, free: 5.008 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.5035, allocations: 85 kB / 469.6 MB, free: 4.918 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5035, allocations: 29.64 kB / 469.6 MB, free: 4.883 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.5035, allocations: 80.14 kB / 469.7 MB, free: 4.801 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.5036, allocations: 3.938 kB / 469.7 MB, free: 4.797 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-06/0.5036, allocations: 4.031 kB / 469.7 MB, free: 4.793 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5037, allocations: 310.8 kB / 470 MB, free: 4.48 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.5038, allocations: 4 kB / 470 MB, free: 4.477 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-06/0.5038, allocations: 0 / 470 MB, free: 4.477 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.5038, allocations: 25.7 kB / 470.1 MB, free: 4.445 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-06/0.5038, allocations: 0 / 470.1 MB, free: 4.445 MB / 394.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.5039, allocations: 71.34 kB / 470.1 MB, free: 4.363 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.504, allocations: 29.7 kB / 470.2 MB, free: 4.328 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.853e-06/0.504, allocations: 4.094 kB / 470.2 MB, free: 4.324 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.504, allocations: 4 kB / 470.2 MB, free: 4.32 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.531e-06/0.5041, allocations: 0 / 470.2 MB, free: 4.32 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.603e-06/0.5041, allocations: 0 / 470.2 MB, free: 4.32 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.5041, allocations: 0 / 470.2 MB, free: 4.32 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.5041, allocations: 0 / 470.2 MB, free: 4.32 MB / 394.8 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.0001098/0.5042, allocations: 134.7 kB / 470.3 MB, free: 4.176 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.5042, allocations: 3.953 kB / 470.3 MB, free: 4.172 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.5043, allocations: 7.109 kB / 470.3 MB, free: 4.16 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5043, allocations: 0 / 470.3 MB, free: 4.16 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.881e-06/0.5043, allocations: 7.938 kB / 470.3 MB, free: 4.152 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-06/0.5043, allocations: 0 / 470.3 MB, free: 4.152 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.5044, allocations: 145.7 kB / 470.5 MB, free: 3.961 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-06/0.5045, allocations: 0 / 470.5 MB, free: 3.961 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-06/0.5045, allocations: 0 / 470.5 MB, free: 3.961 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.218e-06/0.5045, allocations: 3.953 kB / 470.5 MB, free: 3.957 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.5045, allocations: 7.984 kB / 470.5 MB, free: 3.949 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-06/0.5045, allocations: 3.938 kB / 470.5 MB, free: 3.945 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-06/0.5045, allocations: 4 kB / 470.5 MB, free: 3.941 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.5047, allocations: 86.84 kB / 470.6 MB, free: 3.832 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.5047, allocations: 81.09 kB / 470.6 MB, free: 3.734 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.5048, allocations: 7.953 kB / 470.6 MB, free: 3.727 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.5048, allocations: 0 / 470.6 MB, free: 3.727 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.5048, allocations: 0 / 470.6 MB, free: 3.727 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-06/0.5048, allocations: 4 kB / 470.7 MB, free: 3.723 MB / 394.8 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.5049, allocations: 75.28 kB / 470.7 MB, free: 3.648 MB / 394.8 MB Notification: Performance of sort global known variables: time 6.44e-07/0.5049, allocations: 0 / 470.7 MB, free: 3.648 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002985/0.5052, allocations: 28.03 kB / 470.8 MB, free: 3.621 MB / 394.8 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.0006921/0.5059, allocations: 288 kB / 471 MB, free: 3.379 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.506, allocations: 63.39 kB / 471.1 MB, free: 3.305 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.42e-06/0.506, allocations: 0 / 471.1 MB, free: 3.305 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.5061, allocations: 51.41 kB / 471.1 MB, free: 3.242 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.397e-05/0.5062, allocations: 10.33 kB / 471.2 MB, free: 3.234 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001446/0.5063, allocations: 42.59 kB / 471.2 MB, free: 3.172 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.5067, allocations: 0.677 MB / 471.9 MB, free: 2.469 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 5.671e-06/0.5067, allocations: 0 / 471.9 MB, free: 2.469 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.5067, allocations: 7.562 kB / 471.9 MB, free: 2.461 MB / 394.8 MB Notification: Performance of SimCode: time 5.853e-06/0.5068, allocations: 4 kB / 471.9 MB, free: 2.457 MB / 394.8 MB Notification: Performance of Templates: time 0.003692/0.5105, allocations: 0.77 MB / 472.7 MB, free: 1.688 MB / 394.8 MB