Running command: translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.082e-05, allocations: 4 kB / 347 MB, free: 3.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3183, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.4636, allocations: 95.58 MB / 0.4926 GB, free: 11.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4639, allocations: 71.97 kB / 0.4927 GB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05885/0.5227, allocations: 14.37 MB / 0.5067 GB, free: 12.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.128e-06/0.5228, allocations: 0 / 0.5067 GB, free: 12.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.184e-05/0.5229, allocations: 23.94 kB / 0.5067 GB, free: 12.58 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.001833/0.5247, allocations: 0.8685 MB / 0.5076 GB, free: 11.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5248, allocations: 12.03 kB / 0.5076 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.525, allocations: 90.91 kB / 0.5077 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.5261, allocations: 0.5118 MB / 0.5082 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.5262, allocations: 41.31 kB / 0.5082 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.5264, allocations: 60 kB / 0.5083 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5276, allocations: 0.5624 MB / 0.5088 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.5276, allocations: 3.938 kB / 0.5088 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.5277, allocations: 24 kB / 0.5088 GB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.5277, allocations: 12 kB / 0.5088 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.5286, allocations: 329.4 kB / 0.5092 GB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.5339, allocations: 3.021 MB / 0.5121 GB, free: 6.766 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009044/0.5348, allocations: 367.9 kB / 0.5125 GB, free: 6.387 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.5351, allocations: 137.7 kB / 0.5126 GB, free: 6.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.5352, allocations: 4 kB / 0.5126 GB, free: 6.242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.5353, allocations: 43.25 kB / 0.5126 GB, free: 6.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.575e-06/0.5353, allocations: 4 kB / 0.5126 GB, free: 6.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.0009808/0.5363, allocations: 346.1 kB / 0.513 GB, free: 5.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.5364, allocations: 114.8 kB / 0.5131 GB, free: 5.703 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.5373, allocations: 479.4 kB / 0.5135 GB, free: 5.227 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/0.5374, allocations: 37.64 kB / 0.5136 GB, free: 5.184 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.5377, allocations: 398.5 kB / 0.514 GB, free: 4.789 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.5379, allocations: 149.8 kB / 0.5141 GB, free: 4.641 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.538, allocations: 16 kB / 0.5141 GB, free: 4.625 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5382, allocations: 334.8 kB / 0.5144 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.5386, allocations: 145.6 kB / 0.5146 GB, free: 4.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.5392, allocations: 344.9 kB / 0.5149 GB, free: 3.715 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.5397, allocations: 203.7 kB / 0.5151 GB, free: 3.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.5397, allocations: 0 / 0.5151 GB, free: 3.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001303/0.541, allocations: 0.5206 MB / 0.5156 GB, free: 2.988 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001483/0.5425, allocations: 2.613 MB / 0.5182 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.5426, allocations: 8 kB / 0.5182 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.5426, allocations: 12 kB / 0.5182 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.5434, allocations: 147.8 kB / 0.5183 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.5e-05/0.5435, allocations: 11.98 kB / 0.5183 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.5441, allocations: 79.36 kB / 0.5184 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-05/0.5442, allocations: 32 kB / 0.5184 GB, free: 15.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.5442, allocations: 0 / 0.5184 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/0.5454, allocations: 487.5 kB / 0.5189 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.5454, allocations: 12 kB / 0.5189 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.5455, allocations: 12 kB / 0.5189 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.5462, allocations: 131.8 kB / 0.519 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.5462, allocations: 15.94 kB / 0.5191 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.5466, allocations: 59.98 kB / 0.5191 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.5467, allocations: 24 kB / 0.5191 GB, free: 15.16 MB / 458.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.0002037/0.5469, allocations: 148.7 kB / 0.5193 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.5471, allocations: 67.23 kB / 0.5193 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.5473, allocations: 70.3 kB / 0.5194 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.365e-06/0.5474, allocations: 4 kB / 0.5194 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.748e-06/0.5474, allocations: 0 / 0.5194 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.436e-06/0.5474, allocations: 4 kB / 0.5194 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.5486, allocations: 0.5867 MB / 0.52 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5486, allocations: 0 / 0.52 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.5493, allocations: 91.83 kB / 0.5201 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.5493, allocations: 3.984 kB / 0.5201 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.5494, allocations: 12 kB / 0.5201 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.419e-06/0.5494, allocations: 7.938 kB / 0.5201 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5494, allocations: 4 kB / 0.5201 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.5508, allocations: 0.6969 MB / 0.5208 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.5511, allocations: 176.3 kB / 0.521 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.5512, allocations: 8 kB / 0.521 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.5517, allocations: 39.97 kB / 0.521 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5519, allocations: 27.95 kB / 0.521 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.996e-05/0.5519, allocations: 12 kB / 0.521 GB, free: 13.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000624/0.5526, allocations: 367.2 kB / 0.5214 GB, free: 12.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.5526, allocations: 0 / 0.5214 GB, free: 12.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00117/0.5537, allocations: 247.2 kB / 0.5216 GB, free: 12.51 MB / 458.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.0001987/0.554, allocations: 120.4 kB / 0.5217 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.5555, allocations: 0.6079 MB / 0.5223 GB, free: 11.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.954e-06/0.5555, allocations: 0.625 kB / 0.5223 GB, free: 11.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.5559, allocations: 167.8 kB / 0.5225 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009986/0.5569, allocations: 161.6 kB / 0.5227 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.5594, allocations: 1.093 MB / 0.5237 GB, free: 10.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.5601, allocations: 0.927 MB / 0.5246 GB, free: 9.375 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.5604, allocations: 43.44 kB / 0.5247 GB, free: 9.332 MB / 458.7 MB Notification: Performance of SimCode: time 1.528e-06/0.5604, allocations: 0 / 0.5247 GB, free: 9.332 MB / 458.7 MB Notification: Performance of Templates: time 0.01586/0.5763, allocations: 7.489 MB / 0.532 GB, free: 1.867 MB / 458.7 MB