Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.551e-05, allocations: 8 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3487, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.496, allocations: 87.26 MB / 469.5 MB, free: 5.27 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.4963, allocations: 71.92 kB / 469.5 MB, free: 5.199 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.524, allocations: 7.035 MB / 476.6 MB, free: 14.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.121e-06/0.5241, allocations: 0 / 476.6 MB, free: 14.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.838e-06/0.5241, allocations: 0 / 476.6 MB, free: 14.16 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005014/0.5246, allocations: 417.1 kB / 477 MB, free: 13.71 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5247, allocations: 12.03 kB / 477 MB, free: 13.7 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.5249, allocations: 83.28 kB / 477.1 MB, free: 13.61 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.5251, allocations: 246.2 kB / 477.3 MB, free: 13.33 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.5252, allocations: 150.6 kB / 477.5 MB, free: 13.18 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.5253, allocations: 150.6 kB / 477.6 MB, free: 13.04 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.993e-05/0.5254, allocations: 109 kB / 477.7 MB, free: 12.92 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.5255, allocations: 79.28 kB / 477.8 MB, free: 12.84 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.308e-05/0.5256, allocations: 154.6 kB / 477.9 MB, free: 12.69 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-05/0.5256, allocations: 150.6 kB / 478.1 MB, free: 12.54 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.5257, allocations: 150.7 kB / 478.2 MB, free: 12.39 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.5261, allocations: 457.9 kB / 478.7 MB, free: 11.9 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5262, allocations: 177.1 kB / 478.8 MB, free: 11.71 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.5263, allocations: 80.14 kB / 478.9 MB, free: 11.63 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.5263, allocations: 75.28 kB / 479 MB, free: 11.56 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.487e-05/0.5264, allocations: 109.8 kB / 479.1 MB, free: 11.44 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 2.056e-06/0.5264, allocations: 0 / 479.1 MB, free: 11.44 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 8.561e-05/0.5265, allocations: 29.64 kB / 479.1 MB, free: 11.41 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.5267, allocations: 182.1 kB / 479.3 MB, free: 11.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.5268, allocations: 89 kB / 479.4 MB, free: 11.11 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.5268, allocations: 25.7 kB / 479.4 MB, free: 11.08 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.5269, allocations: 80.14 kB / 479.5 MB, free: 11 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-06/0.5269, allocations: 4.125 kB / 479.5 MB, free: 10.99 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-07/0.5269, allocations: 0 / 479.5 MB, free: 10.99 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5271, allocations: 314.8 kB / 479.8 MB, free: 10.68 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-06/0.5271, allocations: 0 / 479.8 MB, free: 10.68 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.5271, allocations: 13.7 kB / 479.8 MB, free: 10.66 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.5272, allocations: 79.28 kB / 479.9 MB, free: 10.58 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.731e-05/0.5272, allocations: 79.23 kB / 480 MB, free: 10.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.988e-05/0.5273, allocations: 29.64 kB / 480 MB, free: 10.46 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.5274, allocations: 87.31 kB / 480.1 MB, free: 10.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.376e-05/0.5274, allocations: 75.28 kB / 480.2 MB, free: 10.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.164e-05/0.5275, allocations: 154.5 kB / 480.3 MB, free: 10.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.748e-05/0.5276, allocations: 83.22 kB / 480.4 MB, free: 10.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.683e-05/0.5277, allocations: 154.5 kB / 480.6 MB, free: 9.918 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.5278, allocations: 79.28 kB / 480.6 MB, free: 9.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.5279, allocations: 83.22 kB / 480.7 MB, free: 9.758 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001555/0.5281, allocations: 255.5 kB / 481 MB, free: 9.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.5282, allocations: 104.9 kB / 481.1 MB, free: 9.391 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.5283, allocations: 108.1 kB / 481.2 MB, free: 9.273 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-05/0.5284, allocations: 184.2 kB / 481.4 MB, free: 9.086 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-05/0.5285, allocations: 184.3 kB / 481.5 MB, free: 8.898 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.878e-05/0.5286, allocations: 180.3 kB / 481.7 MB, free: 8.715 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.5289, allocations: 405.2 kB / 482.1 MB, free: 8.262 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/0.529, allocations: 101 kB / 482.2 MB, free: 8.156 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.529, allocations: 104.9 kB / 482.3 MB, free: 8.047 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.663e-05/0.5291, allocations: 185.1 kB / 482.5 MB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/0.5292, allocations: 180.3 kB / 482.7 MB, free: 7.676 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001044/0.5294, allocations: 180.3 kB / 482.8 MB, free: 7.492 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.112e-05/0.5295, allocations: 184.2 kB / 483 MB, free: 7.305 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.5297, allocations: 295.8 kB / 483.3 MB, free: 6.992 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5298, allocations: 186 kB / 483.5 MB, free: 6.785 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5299, allocations: 188.6 kB / 483.7 MB, free: 6.594 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.5301, allocations: 105 kB / 483.8 MB, free: 6.484 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5302, allocations: 192.1 kB / 484 MB, free: 6.289 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.5303, allocations: 105 kB / 484.1 MB, free: 6.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.63e-05/0.5303, allocations: 79.28 kB / 484.1 MB, free: 6.102 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.53e-07/0.5303, allocations: 0 / 484.1 MB, free: 6.102 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007614/0.5311, allocations: 139.9 kB / 484.3 MB, free: 5.965 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001246/0.5324, allocations: 0.5069 MB / 484.8 MB, free: 5.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 4.608e-05/0.5324, allocations: 4 kB / 484.8 MB, free: 5.496 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.854e-06/0.5325, allocations: 0 / 484.8 MB, free: 5.496 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-06/0.5325, allocations: 0 / 484.8 MB, free: 5.496 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.5329, allocations: 0.5185 MB / 485.3 MB, free: 4.973 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001896/0.5331, allocations: 128.3 kB / 485.4 MB, free: 4.824 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.5334, allocations: 0.677 MB / 486.1 MB, free: 4.121 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.5335, allocations: 0 / 486.1 MB, free: 4.121 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.5335, allocations: 11.44 kB / 486.1 MB, free: 4.109 MB / 410.8 MB Notification: Performance of SimCode: time 1.34e-06/0.5335, allocations: 4 kB / 486.1 MB, free: 4.105 MB / 410.8 MB Notification: Performance of Templates: time 0.007831/0.5414, allocations: 2.577 MB / 488.7 MB, free: 1.527 MB / 410.8 MB