Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 235 MB / 247.6 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.258e-05, allocations: 4 kB / 304.9 MB, free: 5.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3575, allocations: 54.86 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.5311, allocations: 79.62 MB / 439.4 MB, free: 1.398 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.5313, allocations: 59.97 kB / 439.4 MB, free: 1.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008052/0.5394, allocations: 1.94 MB / 441.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.346e-06/0.5394, allocations: 0 / 441.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.085e-06/0.5395, allocations: 0 / 441.4 MB, free: 15.42 MB / 378.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.0003867/0.5399, allocations: 360.3 kB / 441.7 MB, free: 15.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5399, allocations: 16.02 kB / 441.7 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.54, allocations: 3.953 kB / 441.7 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.5401, allocations: 159.1 kB / 441.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5401, allocations: 2.75 kB / 441.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.5401, allocations: 0 / 441.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.382e-05/0.5402, allocations: 37.62 kB / 441.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-06/0.5403, allocations: 0 / 441.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.5403, allocations: 0 / 441.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-06/0.5403, allocations: 7.938 kB / 441.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.5403, allocations: 7.953 kB / 442 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.5405, allocations: 149.7 kB / 442.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/0.5406, allocations: 14.58 kB / 442.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.5406, allocations: 8.953 kB / 442.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.3e-06/0.5406, allocations: 0 / 442.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.5407, allocations: 60.25 kB / 442.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.852e-06/0.5407, allocations: 4 kB / 442.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001752/0.5409, allocations: 71.33 kB / 442.3 MB, free: 14.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.5409, allocations: 77.11 kB / 442.3 MB, free: 14.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.541, allocations: 85 kB / 442.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.5411, allocations: 28.33 kB / 442.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.5411, allocations: 150.6 kB / 442.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.5412, allocations: 0 / 442.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-06/0.5412, allocations: 4 kB / 442.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5413, allocations: 318.8 kB / 442.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.5414, allocations: 0 / 442.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-06/0.5414, allocations: 0 / 442.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.5414, allocations: 29.7 kB / 442.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5414, allocations: 0 / 442.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001073/0.5416, allocations: 63.39 kB / 443 MB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.5416, allocations: 35.42 kB / 443 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.156e-06/0.5416, allocations: 3.938 kB / 443 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5417, allocations: 96 / 443 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.972e-06/0.5417, allocations: 4 kB / 443 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5417, allocations: 0 / 443 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.5417, allocations: 0 / 443 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.5417, allocations: 4 kB / 443 MB, free: 13.5 MB / 378.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.0001004/0.5419, allocations: 130.6 kB / 443.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.5419, allocations: 0 / 443.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.5419, allocations: 11.06 kB / 443.2 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-06/0.5419, allocations: 4 kB / 443.2 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.922e-06/0.5419, allocations: 0 / 443.2 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-06/0.5419, allocations: 4 kB / 443.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.5421, allocations: 145.6 kB / 443.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5421, allocations: 0 / 443.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-06/0.5421, allocations: 3.938 kB / 443.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.906e-06/0.5421, allocations: 4.938 kB / 443.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5421, allocations: 3.984 kB / 443.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.398e-06/0.5422, allocations: 1.031 kB / 443.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-06/0.5422, allocations: 0 / 443.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.5423, allocations: 94.8 kB / 443.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.5424, allocations: 81.09 kB / 443.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.5424, allocations: 3.938 kB / 443.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.5424, allocations: 3.312 kB / 443.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.5424, allocations: 0 / 443.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.787e-06/0.5425, allocations: 8 kB / 443.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.5425, allocations: 75.28 kB / 443.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.5425, allocations: 0 / 443.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.5429, allocations: 43.98 kB / 443.6 MB, free: 12.8 MB / 378.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.0005671/0.5435, allocations: 223.3 kB / 443.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.5436, allocations: 59.41 kB / 443.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.179e-06/0.5436, allocations: 0 / 443.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.5437, allocations: 55.41 kB / 444 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.5438, allocations: 7.891 kB / 444 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001601/0.544, allocations: 74.7 kB / 444.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.5443, allocations: 0.677 MB / 444.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.141e-05/0.5443, allocations: 8.844 kB / 444.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.389e-06/0.5444, allocations: 0 / 444.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of Templates: time 0.003087/0.5474, allocations: 1.08 MB / 445.8 MB, free: 10.58 MB / 378.7 MB