Running command: translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 2.273/2.273, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.384e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3213, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.4662, allocations: 94.34 MB / 476.5 MB, free: 14.18 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4665, allocations: 67.97 kB / 476.6 MB, free: 14.11 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0593/0.5258, allocations: 14.35 MB / 490.9 MB, free: 15.73 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.668e-06/0.5258, allocations: 3.938 kB / 491 MB, free: 15.72 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.986e-05/0.5259, allocations: 20 kB / 491 MB, free: 15.7 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001867/0.5278, allocations: 0.8727 MB / 491.8 MB, free: 14.78 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5278, allocations: 8.031 kB / 491.9 MB, free: 14.77 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.5281, allocations: 94.92 kB / 491.9 MB, free: 14.68 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.5293, allocations: 0.5115 MB / 492.5 MB, free: 14.13 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.5294, allocations: 41.31 kB / 492.5 MB, free: 14.09 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.5295, allocations: 67.89 kB / 492.6 MB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.5308, allocations: 0.5586 MB / 493.1 MB, free: 13.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.5308, allocations: 4 kB / 493.1 MB, free: 13.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.5309, allocations: 20 kB / 493.1 MB, free: 13.38 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.531, allocations: 16 kB / 493.2 MB, free: 13.37 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008607/0.5318, allocations: 333 kB / 493.5 MB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/0.5374, allocations: 3.018 MB / 496.5 MB, free: 9.879 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.5384, allocations: 357.9 kB / 496.9 MB, free: 9.508 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.5388, allocations: 137.7 kB / 497 MB, free: 9.367 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.5388, allocations: 12.52 kB / 497 MB, free: 9.355 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.5389, allocations: 34.52 kB / 497 MB, free: 9.312 MB / 426.8 MB Notification: Performance of pre-optimization done (n=39): time 3.941e-06/0.5389, allocations: 4 kB / 497 MB, free: 9.309 MB / 426.8 MB Notification: Performance of matching and sorting (n=39): time 0.0009728/0.5399, allocations: 361.4 kB / 497.4 MB, free: 8.945 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.54, allocations: 106.8 kB / 497.5 MB, free: 8.816 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008238/0.5408, allocations: 487.5 kB / 498 MB, free: 8.332 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.5409, allocations: 33.7 kB / 498 MB, free: 8.293 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.5413, allocations: 376 kB / 498.4 MB, free: 7.918 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.5415, allocations: 153.8 kB / 498.5 MB, free: 7.766 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.5415, allocations: 12 kB / 498.5 MB, free: 7.754 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002511/0.5418, allocations: 378.8 kB / 498.9 MB, free: 7.375 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.5422, allocations: 145.6 kB / 499 MB, free: 7.234 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.5428, allocations: 356.5 kB / 499.4 MB, free: 6.789 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.5433, allocations: 195.6 kB / 499.6 MB, free: 6.598 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.898e-06/0.5433, allocations: 0 / 499.6 MB, free: 6.598 MB / 426.8 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001359/0.5447, allocations: 0.5622 MB / 0.4884 GB, free: 6.027 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.001484/0.5462, allocations: 2.616 MB / 0.491 GB, free: 3.207 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5462, allocations: 4 kB / 0.491 GB, free: 3.203 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.5463, allocations: 12 kB / 0.491 GB, free: 3.191 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.5471, allocations: 151.7 kB / 0.4911 GB, free: 3.043 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.5471, allocations: 12.09 kB / 0.4911 GB, free: 3.031 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.5477, allocations: 75.44 kB / 0.4912 GB, free: 2.957 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.5478, allocations: 39.98 kB / 0.4913 GB, free: 2.918 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.5478, allocations: 4 kB / 0.4913 GB, free: 2.914 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/0.549, allocations: 467.6 kB / 0.4917 GB, free: 2.457 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.549, allocations: 8 kB / 0.4917 GB, free: 2.449 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.549, allocations: 12 kB / 0.4917 GB, free: 2.438 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.5497, allocations: 139.8 kB / 0.4919 GB, free: 2.301 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/0.5498, allocations: 20.33 kB / 0.4919 GB, free: 2.281 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.5503, allocations: 59.58 kB / 0.4919 GB, free: 2.223 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.5504, allocations: 28 kB / 0.492 GB, free: 2.195 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.I.local_reset,PID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0002031/0.5506, allocations: 147.1 kB / 0.4921 GB, free: 2.047 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.5508, allocations: 67.16 kB / 0.4922 GB, free: 1.98 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.551, allocations: 66.3 kB / 0.4922 GB, free: 1.91 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.121e-06/0.551, allocations: 4 kB / 0.4922 GB, free: 1.906 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5511, allocations: 8 kB / 0.4922 GB, free: 1.898 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5511, allocations: 7.953 kB / 0.4923 GB, free: 1.891 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.5522, allocations: 0.5829 MB / 0.4928 GB, free: 1.258 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5522, allocations: 0 / 0.4928 GB, free: 1.258 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.5529, allocations: 91.88 kB / 0.4929 GB, free: 1.168 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.906e-06/0.553, allocations: 0 / 0.4929 GB, free: 1.168 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.553, allocations: 12 kB / 0.4929 GB, free: 1.156 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.005e-06/0.553, allocations: 7.938 kB / 0.4929 GB, free: 1.148 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.312e-06/0.5531, allocations: 4 kB / 0.4929 GB, free: 1.145 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.5544, allocations: 0.705 MB / 0.4936 GB, free: 424 kB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.5548, allocations: 168.3 kB / 0.4938 GB, free: 236 kB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5549, allocations: 12 kB / 0.4938 GB, free: 224 kB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.5554, allocations: 47.84 kB / 0.4938 GB, free: 176 kB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5555, allocations: 31.91 kB / 0.4939 GB, free: 144 kB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.5556, allocations: 15.98 kB / 0.4939 GB, free: 128 kB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000634/0.5562, allocations: 367.2 kB / 0.4942 GB, free: 15.77 MB / 442.8 MB Notification: Performance of sort global known variables: time 9.16e-07/0.5562, allocations: 0 / 0.4942 GB, free: 15.77 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001155/0.5574, allocations: 247.2 kB / 0.4945 GB, free: 15.53 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x,Wsec.y,Vsec.y,Asec.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001986/0.5576, allocations: 119.2 kB / 0.4946 GB, free: 15.4 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.5592, allocations: 0.6324 MB / 0.4952 GB, free: 14.77 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.519e-06/0.5592, allocations: 0 / 0.4952 GB, free: 14.77 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.5596, allocations: 159.9 kB / 0.4954 GB, free: 14.61 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009874/0.5606, allocations: 153.7 kB / 0.4955 GB, free: 14.47 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.563, allocations: 1.077 MB / 0.4965 GB, free: 13.37 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/0.5637, allocations: 0.9243 MB / 0.4975 GB, free: 12.41 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0006981/0.5645, allocations: 115.2 kB / 0.4976 GB, free: 12.3 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.5646, allocations: 35.44 kB / 0.4976 GB, free: 12.26 MB / 442.8 MB Notification: Performance of SimCode: time 1.67e-06/0.5646, allocations: 0 / 0.4976 GB, free: 12.26 MB / 442.8 MB Notification: Performance of Templates: time 0.01973/0.5844, allocations: 6.965 MB / 0.5044 GB, free: 5.328 MB / 442.8 MB