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.1_cpp_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 1.811/1.811, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.2e-05, allocations: 6.109 kB / 273.1 MB, free: 3.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.08932, allocations: 48.7 MB / 321.7 MB, free: 2.887 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.4407, allocations: 82.35 MB / 404.1 MB, free: 6.031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.4409, allocations: 66.66 kB / 404.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05478/0.4957, allocations: 14.15 MB / 418.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.18e-06/0.4958, allocations: 0 / 418.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.213e-05/0.4958, allocations: 15.53 kB / 418.3 MB, free: 0.543 MB / 314.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.001561/0.4974, allocations: 0.8256 MB / 419.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4975, allocations: 8.031 kB / 419.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.4977, allocations: 86.95 kB / 419.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.4988, allocations: 479.1 kB / 419.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.4989, allocations: 37.44 kB / 419.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.499, allocations: 58.16 kB / 419.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5, allocations: 451.1 kB / 420.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.5001, allocations: 0 / 420.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/0.5001, allocations: 18 kB / 420.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.5002, allocations: 12 kB / 420.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.5009, allocations: 291.7 kB / 420.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.5053, allocations: 1.777 MB / 422.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.5062, allocations: 362 kB / 422.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.5065, allocations: 140.3 kB / 422.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.5066, allocations: 12.03 kB / 422.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.5066, allocations: 37.88 kB / 422.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 3.526e-06/0.5066, allocations: 0 / 422.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.000881/0.5075, allocations: 333.4 kB / 423.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.5077, allocations: 136.5 kB / 423.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.5083, allocations: 393.8 kB / 423.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.5084, allocations: 36.95 kB / 423.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.5086, allocations: 344.9 kB / 424.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.5088, allocations: 145.7 kB / 424.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.5089, allocations: 15.12 kB / 424.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5091, allocations: 329.9 kB / 424.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.5094, allocations: 128.2 kB / 424.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.5099, allocations: 264.6 kB / 425 MB, free: 11.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.5103, allocations: 163 kB / 425.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.671e-06/0.5103, allocations: 0 / 425.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001028/0.5114, allocations: 440.7 kB / 425.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5114, allocations: 4 kB / 425.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5114, allocations: 4 kB / 425.6 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.5115, allocations: 11.98 kB / 425.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.5122, allocations: 127.1 kB / 425.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.5122, allocations: 11.98 kB / 425.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.5127, allocations: 58.33 kB / 425.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.5128, allocations: 19.62 kB / 425.8 MB, free: 10.43 MB / 330.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.0001603/0.513, allocations: 135 kB / 425.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.5132, allocations: 63.28 kB / 426 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.5133, allocations: 57.98 kB / 426 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.133e-06/0.5133, allocations: 8 kB / 426 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.037e-06/0.5134, allocations: 0 / 426 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5134, allocations: 3.984 kB / 426 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5144, allocations: 0.5383 MB / 426.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.262e-06/0.5144, allocations: 7.984 kB / 426.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/0.5152, allocations: 91.64 kB / 426.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.5152, allocations: 4 kB / 426.7 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.5153, allocations: 10.7 kB / 426.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.857e-06/0.5153, allocations: 4 kB / 426.7 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5153, allocations: 0 / 426.7 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.5165, allocations: 0.6891 MB / 427.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.5168, allocations: 164.8 kB / 427.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.517, allocations: 19.16 kB / 427.6 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.5175, allocations: 31.3 kB / 427.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.5176, allocations: 31.95 kB / 427.6 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.5176, allocations: 15.55 kB / 427.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004898/0.5181, allocations: 308.6 kB / 427.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.5182, allocations: 0 / 427.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006904/0.5189, allocations: 118.4 kB / 428.1 MB, free: 8.508 MB / 330.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 (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.0001821/0.5191, allocations: 110.7 kB / 428.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008181/0.5199, allocations: 338.8 kB / 428.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.252e-06/0.5199, allocations: 0 / 428.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.5203, allocations: 157.4 kB / 428.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009491/0.5212, allocations: 139.3 kB / 428.8 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.5236, allocations: 1.023 MB / 429.8 MB, free: 6.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.5243, allocations: 0.8908 MB / 430.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.5246, allocations: 39.44 kB / 430.7 MB, free: 6.035 MB / 330.7 MB Notification: Performance of SimCode: time 2.396e-06/0.5246, allocations: 0 / 430.7 MB, free: 6.035 MB / 330.7 MB Notification: Performance of Templates: time 0.01352/0.5381, allocations: 6.67 MB / 437.4 MB, free: 15.47 MB / 346.7 MB