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_trunk_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 2.642/2.642, allocations: 270 MB / 283.6 MB, free: 1.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.598e-05, allocations: 0 / 348.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3347, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.5215, allocations: 95.58 MB / 0.494 GB, free: 10.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5217, allocations: 67.97 kB / 0.4941 GB, free: 10.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06244/0.5842, allocations: 14.38 MB / 0.5081 GB, free: 12.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5843, allocations: 0 / 0.5081 GB, free: 12.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.314e-05/0.5843, allocations: 20 kB / 0.5081 GB, free: 12.48 MB / 442.7 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.002077/0.5864, allocations: 0.8763 MB / 0.509 GB, free: 11.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5865, allocations: 12.02 kB / 0.509 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.5868, allocations: 86.97 kB / 0.5091 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.588, allocations: 0.504 MB / 0.5096 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.5881, allocations: 45.31 kB / 0.5096 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5882, allocations: 64 kB / 0.5097 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.5895, allocations: 0.5624 MB / 0.5102 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.5896, allocations: 3.938 kB / 0.5102 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.5897, allocations: 24 kB / 0.5102 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.5897, allocations: 15.94 kB / 0.5103 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.5906, allocations: 325.3 kB / 0.5106 GB, free: 9.832 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005736/0.5964, allocations: 3.033 MB / 0.5135 GB, free: 6.656 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.5974, allocations: 359.5 kB / 0.5139 GB, free: 6.285 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.5977, allocations: 137.7 kB / 0.514 GB, free: 6.145 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.5978, allocations: 4 kB / 0.514 GB, free: 6.141 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.5979, allocations: 38.56 kB / 0.514 GB, free: 6.094 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.939e-06/0.5979, allocations: 0 / 0.514 GB, free: 6.094 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.001014/0.5989, allocations: 361.9 kB / 0.5144 GB, free: 5.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.599, allocations: 110.8 kB / 0.5145 GB, free: 5.598 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/0.5999, allocations: 475.5 kB / 0.515 GB, free: 5.125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.6, allocations: 37.7 kB / 0.515 GB, free: 5.082 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.6004, allocations: 364.1 kB / 0.5153 GB, free: 4.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6006, allocations: 158 kB / 0.5155 GB, free: 4.562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.6006, allocations: 12 kB / 0.5155 GB, free: 4.551 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002661/0.6009, allocations: 378.7 kB / 0.5159 GB, free: 4.172 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.6014, allocations: 141.6 kB / 0.516 GB, free: 4.031 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.602, allocations: 356.8 kB / 0.5163 GB, free: 3.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.6025, allocations: 191.8 kB / 0.5165 GB, free: 3.402 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6025, allocations: 4 kB / 0.5165 GB, free: 3.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001467/0.604, allocations: 0.5635 MB / 0.5171 GB, free: 2.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001545/0.6056, allocations: 2.615 MB / 0.5196 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.6056, allocations: 8 kB / 0.5196 GB, free: 0 / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2824/0.8881, allocations: 9.703 kB / 0.5196 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.889, allocations: 138.2 kB / 0.5198 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.797e-05/0.8891, allocations: 16.48 kB / 0.5198 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.8897, allocations: 70.67 kB / 0.5199 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.8898, allocations: 30.48 kB / 0.5199 GB, free: 105.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8899, allocations: 4.781 kB / 0.5199 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.8912, allocations: 478 kB / 0.5203 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.8912, allocations: 7.156 kB / 0.5204 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.8913, allocations: 14 kB / 0.5204 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.892, allocations: 137.9 kB / 0.5205 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/0.8921, allocations: 15.67 kB / 0.5205 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.8927, allocations: 66.8 kB / 0.5206 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/0.8928, allocations: 29.84 kB / 0.5206 GB, free: 105.9 MB / 442.7 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.0001921/0.893, allocations: 148.2 kB / 0.5207 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.8932, allocations: 63.95 kB / 0.5208 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.8934, allocations: 74.89 kB / 0.5209 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8934, allocations: 4.906 kB / 0.5209 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.747e-06/0.8934, allocations: 0.6875 kB / 0.5209 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.866e-06/0.8935, allocations: 4.141 kB / 0.5209 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.8947, allocations: 0.5749 MB / 0.5214 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.038e-06/0.8947, allocations: 0.5312 kB / 0.5214 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/0.8955, allocations: 92.42 kB / 0.5215 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.8956, allocations: 3.078 kB / 0.5215 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.8956, allocations: 8.703 kB / 0.5215 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.243e-06/0.8956, allocations: 5.969 kB / 0.5216 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8957, allocations: 1.203 kB / 0.5216 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.8971, allocations: 0.7083 MB / 0.5222 GB, free: 105.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.8974, allocations: 177.2 kB / 0.5224 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.8975, allocations: 9.531 kB / 0.5224 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.8981, allocations: 35.98 kB / 0.5225 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.8982, allocations: 29.67 kB / 0.5225 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.8983, allocations: 13.61 kB / 0.5225 GB, free: 105.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006081/0.8989, allocations: 369.8 kB / 0.5229 GB, free: 105.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.8989, allocations: 1.719 kB / 0.5229 GB, free: 105.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001233/0.9001, allocations: 252.1 kB / 0.5231 GB, free: 105.1 MB / 442.7 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.0001673/0.9003, allocations: 125 kB / 0.5232 GB, free: 105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.9019, allocations: 0.6299 MB / 0.5238 GB, free: 105 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.613e-06/0.9019, allocations: 1.094 kB / 0.5238 GB, free: 105 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.9023, allocations: 157.2 kB / 0.524 GB, free: 105 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.9033, allocations: 152.9 kB / 0.5241 GB, free: 105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.9056, allocations: 1.075 MB / 0.5252 GB, free: 104.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.9061, allocations: 0.9267 MB / 0.5261 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007491/0.9069, allocations: 118.7 kB / 0.5262 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.907, allocations: 33.41 kB / 0.5262 GB, free: 103.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.91e-06/0.9071, allocations: 0 / 0.5262 GB, free: 103.9 MB / 442.7 MB Notification: Performance of Templates: time 0.02773/0.9348, allocations: 6.935 MB / 0.533 GB, free: 103.4 MB / 442.7 MB