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.263/2.263, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.139e-05, allocations: 4 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3605, allocations: 54.85 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4984, allocations: 88.41 MB / 448.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.4986, allocations: 67.97 kB / 448.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05621/0.5549, allocations: 13.24 MB / 461.5 MB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.86e-06/0.5549, allocations: 0 / 461.5 MB, free: 11.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.392e-05/0.555, allocations: 15.98 kB / 461.5 MB, free: 11.21 MB / 394.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.001759/0.5568, allocations: 0.8138 MB / 462.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5568, allocations: 8.031 kB / 462.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.5571, allocations: 79.06 kB / 462.4 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5581, allocations: 464.2 kB / 462.9 MB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.5582, allocations: 44.94 kB / 462.9 MB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.5583, allocations: 51.91 kB / 463 MB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.5594, allocations: 448.6 kB / 463.4 MB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.5595, allocations: 0 / 463.4 MB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.5595, allocations: 20 kB / 463.4 MB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5596, allocations: 13.41 kB / 463.4 MB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.5604, allocations: 285.3 kB / 463.7 MB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.5657, allocations: 1.77 MB / 465.5 MB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.5666, allocations: 359.8 kB / 465.8 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.567, allocations: 133.8 kB / 466 MB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.567, allocations: 8.031 kB / 466 MB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.5671, allocations: 38.56 kB / 466 MB, free: 6.484 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.672e-06/0.5671, allocations: 0 / 466 MB, free: 6.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009832/0.5681, allocations: 338.2 kB / 466.3 MB, free: 6.145 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.011e-05/0.5682, allocations: 118.7 kB / 466.4 MB, free: 6.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.5689, allocations: 399.9 kB / 466.8 MB, free: 5.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.569, allocations: 33.7 kB / 466.9 MB, free: 5.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.5693, allocations: 311.9 kB / 467.2 MB, free: 5.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.5695, allocations: 149.8 kB / 467.3 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.5695, allocations: 13.03 kB / 467.3 MB, free: 5.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.5698, allocations: 366.8 kB / 467.7 MB, free: 4.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.5701, allocations: 125.1 kB / 467.8 MB, free: 4.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.5706, allocations: 259.1 kB / 468.1 MB, free: 4.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.5711, allocations: 159.7 kB / 468.2 MB, free: 4.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.559e-06/0.5711, allocations: 4 kB / 468.2 MB, free: 4.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001218/0.5723, allocations: 468.5 kB / 468.7 MB, free: 3.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000799/0.5732, allocations: 1.402 MB / 470.1 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.5732, allocations: 4 kB / 470.1 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5732, allocations: 4 kB / 470.1 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.5739, allocations: 123.8 kB / 470.2 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.574, allocations: 8.562 kB / 470.2 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.5745, allocations: 71.55 kB / 470.3 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.5746, allocations: 20 kB / 470.3 MB, free: 1.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5746, allocations: 4 kB / 470.3 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009687/0.5756, allocations: 399.4 kB / 470.7 MB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5756, allocations: 4 kB / 470.7 MB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5756, allocations: 12.8 kB / 470.7 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.5763, allocations: 119.8 kB / 470.8 MB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.5763, allocations: 7.984 kB / 470.8 MB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.5768, allocations: 59.95 kB / 470.9 MB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.5768, allocations: 20 kB / 470.9 MB, free: 1.332 MB / 394.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.0001741/0.577, allocations: 128.9 kB / 471.1 MB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.5772, allocations: 55.34 kB / 471.1 MB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.5774, allocations: 61.2 kB / 471.2 MB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.5774, allocations: 7.953 kB / 471.2 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.353e-06/0.5774, allocations: 4.656 kB / 471.2 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.658e-06/0.5775, allocations: 4 kB / 471.2 MB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5785, allocations: 0.5399 MB / 471.7 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-06/0.5785, allocations: 4 kB / 471.7 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.5792, allocations: 87.89 kB / 471.8 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5793, allocations: 3.938 kB / 471.8 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.5793, allocations: 8 kB / 471.8 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.578e-06/0.5793, allocations: 5.031 kB / 471.8 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.722e-06/0.5794, allocations: 3.953 kB / 471.8 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.5807, allocations: 0.6806 MB / 472.5 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.581, allocations: 160.5 kB / 472.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.5811, allocations: 11.98 kB / 472.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.5816, allocations: 35.94 kB / 472.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5817, allocations: 31.95 kB / 472.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.5818, allocations: 15.98 kB / 472.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005156/0.5823, allocations: 305.6 kB / 473.1 MB, free: 15.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.5823, allocations: 0 / 473.1 MB, free: 15.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00101/0.5834, allocations: 223.2 kB / 473.3 MB, free: 14.88 MB / 410.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.0001851/0.5836, allocations: 116.7 kB / 473.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.5849, allocations: 0.542 MB / 473.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.765e-06/0.5849, allocations: 1.75 kB / 473.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.5853, allocations: 155.8 kB / 474.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009189/0.5863, allocations: 148.7 kB / 474.2 MB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.5893, allocations: 0.9891 MB / 475.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.5906, allocations: 0.8959 MB / 476.1 MB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001503/0.5921, allocations: 102.2 kB / 476.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.5924, allocations: 35.42 kB / 476.3 MB, free: 11.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.418e-06/0.5925, allocations: 0 / 476.3 MB, free: 11.84 MB / 410.7 MB Notification: Performance of Templates: time 0.03285/0.6254, allocations: 6.278 MB / 482.5 MB, free: 5.598 MB / 410.7 MB