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.2_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 2.754/2.754, allocations: 234.9 MB / 249.4 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.755e-05, allocations: 4 kB / 308 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3881, allocations: 54.86 MB / 362.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.005606/0.3937, allocations: 3.072 MB / 365.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.3968, allocations: 0.9891 MB / 366.9 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.3974, allocations: 31.94 kB / 367 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.3976, allocations: 43.5 kB / 367 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007958/0.3984, allocations: 163.4 kB / 367.2 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.3994, allocations: 231.7 kB / 367.4 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.4006, allocations: 440 kB / 367.8 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.401, allocations: 145.9 kB / 368 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.4016, allocations: 215.3 kB / 368.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.402, allocations: 211 kB / 368.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.4021, allocations: 20 kB / 368.4 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.4022, allocations: 16 kB / 368.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.4023, allocations: 87.55 kB / 368.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.4025, allocations: 40 kB / 368.5 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.4032, allocations: 0.4948 MB / 369 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4032, allocations: 0 / 369 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4033, allocations: 0 / 369 MB, free: 5.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.4033, allocations: 0 / 369 MB, free: 5.535 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002084/0.4054, allocations: 0.7961 MB / 369.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4054, allocations: 12.03 kB / 369.8 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.4057, allocations: 79 kB / 369.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009288/0.4066, allocations: 438.8 kB / 370.3 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.4067, allocations: 37 kB / 370.4 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.4068, allocations: 48 kB / 370.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4083, allocations: 486.3 kB / 370.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.4084, allocations: 3.906 kB / 370.9 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.4084, allocations: 19.95 kB / 370.9 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.4085, allocations: 12 kB / 370.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.4097, allocations: 358.4 kB / 371.3 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005561/0.4153, allocations: 1.788 MB / 373.1 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.4171, allocations: 465.5 kB / 373.5 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-05/0.4172, allocations: 4 kB / 373.5 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.4173, allocations: 38.56 kB / 373.6 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 3.237e-06/0.4173, allocations: 7.938 kB / 373.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002166/0.4195, allocations: 0.5535 MB / 374.1 MB, free: 212 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.4196, allocations: 114.8 kB / 374.2 MB, free: 72 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.4204, allocations: 381.4 kB / 374.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/0.4205, allocations: 37.7 kB / 374.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.4208, allocations: 315.8 kB / 375 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.421, allocations: 145.8 kB / 375.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.4211, allocations: 8 kB / 375.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4213, allocations: 366.8 kB / 375.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/0.422, allocations: 173 kB / 375.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.4228, allocations: 303.8 kB / 375.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.4236, allocations: 200 kB / 376.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.4236, allocations: 7.891 kB / 376.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001892/0.4255, allocations: 0.5586 MB / 376.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007677/0.4263, allocations: 1.399 MB / 378.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.4263, allocations: 4 kB / 378.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/0.4264, allocations: 7.984 kB / 378.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.4274, allocations: 123.8 kB / 378.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-05/0.4275, allocations: 11.92 kB / 378.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/0.4282, allocations: 63.58 kB / 378.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.4282, allocations: 20 kB / 378.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4283, allocations: 4 kB / 378.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/0.4298, allocations: 455.8 kB / 378.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4298, allocations: 4 kB / 378.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4299, allocations: 8.438 kB / 378.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/0.4308, allocations: 123.8 kB / 378.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.4308, allocations: 19.94 kB / 378.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.4314, allocations: 55.52 kB / 379 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.4315, allocations: 20 kB / 379 MB, free: 11.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0004343/0.432, allocations: 181.7 kB / 379.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.4321, allocations: 59.34 kB / 379.2 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.4323, allocations: 69.08 kB / 379.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4324, allocations: 4 kB / 379.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.4324, allocations: 0 / 379.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4324, allocations: 3.984 kB / 379.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.4336, allocations: 0.5283 MB / 379.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4336, allocations: 0 / 379.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.4346, allocations: 99.88 kB / 379.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.4346, allocations: 0 / 379.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.4347, allocations: 12 kB / 379.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.4347, allocations: 4 kB / 380 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4347, allocations: 0 / 380 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.437, allocations: 0.7976 MB / 380.7 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.4373, allocations: 160.5 kB / 380.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.4374, allocations: 15.98 kB / 380.9 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.438, allocations: 31.98 kB / 381 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4381, allocations: 31.95 kB / 381 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.4382, allocations: 11.98 kB / 381 MB, free: 9.012 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005504/0.4387, allocations: 302.9 kB / 381.3 MB, free: 8.719 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4388, allocations: 4 kB / 381.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001003/0.4398, allocations: 231.1 kB / 381.5 MB, free: 8.488 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.000174/0.44, allocations: 110.2 kB / 381.6 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.4423, allocations: 0.6629 MB / 382.3 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.4423, allocations: 4 kB / 382.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.443, allocations: 200.7 kB / 382.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.4443, allocations: 144.8 kB / 382.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.4476, allocations: 1.533 MB / 384.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.4483, allocations: 0.9029 MB / 385.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007167/0.449, allocations: 90.2 kB / 385.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.4492, allocations: 35.38 kB / 385.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of SimCode: time 2.925e-06/0.4492, allocations: 0 / 385.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of Templates: time 0.02466/0.4739, allocations: 6.233 MB / 391.4 MB, free: 14.54 MB / 330.7 MB