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_4.0.0_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadModel(ModelicaTest): time 2.233/2.233, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.491e-05, allocations: 4 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 61.89 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5252, allocations: 95.58 MB / 0.494 GB, free: 8.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.5255, allocations: 67.97 kB / 0.494 GB, free: 8.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0577/0.5832, allocations: 14.38 MB / 0.5081 GB, free: 10.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.147e-06/0.5833, allocations: 0 / 0.5081 GB, free: 10.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.833e-05/0.5833, allocations: 20 kB / 0.5081 GB, free: 10.07 MB / 426.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.001813/0.5852, allocations: 0.8684 MB / 0.509 GB, free: 9.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5852, allocations: 8.031 kB / 0.509 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.5854, allocations: 90.97 kB / 0.5091 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.5866, allocations: 0.5118 MB / 0.5096 GB, free: 8.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.5867, allocations: 41.3 kB / 0.5096 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5868, allocations: 60 kB / 0.5097 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.588, allocations: 0.5663 MB / 0.5102 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.588, allocations: 4 kB / 0.5102 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.5881, allocations: 28 kB / 0.5102 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.5881, allocations: 12 kB / 0.5102 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008434/0.589, allocations: 325.3 kB / 0.5106 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.5943, allocations: 3.025 MB / 0.5135 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008968/0.5953, allocations: 357.9 kB / 0.5139 GB, free: 3.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.5956, allocations: 141.8 kB / 0.514 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.5957, allocations: 4 kB / 0.514 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.5957, allocations: 42.56 kB / 0.514 GB, free: 3.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 4.047e-06/0.5957, allocations: 0 / 0.514 GB, free: 3.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.0009295/0.5967, allocations: 353.8 kB / 0.5144 GB, free: 3.328 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.5968, allocations: 106.8 kB / 0.5145 GB, free: 3.199 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007945/0.5976, allocations: 483.4 kB / 0.5149 GB, free: 2.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.5976, allocations: 33.7 kB / 0.515 GB, free: 2.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.598, allocations: 364.2 kB / 0.5153 GB, free: 2.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.5982, allocations: 166 kB / 0.5155 GB, free: 2.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.5983, allocations: 16 kB / 0.5155 GB, free: 2.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.5985, allocations: 374.7 kB / 0.5158 GB, free: 1.762 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.5989, allocations: 141.6 kB / 0.516 GB, free: 1.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.5995, allocations: 352.8 kB / 0.5163 GB, free: 1.184 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.6, allocations: 199.6 kB / 0.5165 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.242e-06/0.6, allocations: 0 / 0.5165 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001333/0.6014, allocations: 0.5513 MB / 0.517 GB, free: 440 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001443/0.6028, allocations: 2.624 MB / 0.5196 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.6029, allocations: 8 kB / 0.5196 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.6029, allocations: 15.98 kB / 0.5196 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.6037, allocations: 151.8 kB / 0.5198 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/0.6037, allocations: 15.92 kB / 0.5198 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.6043, allocations: 75.42 kB / 0.5199 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.6044, allocations: 28 kB / 0.5199 GB, free: 13.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.6044, allocations: 4 kB / 0.5199 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/0.6055, allocations: 483.3 kB / 0.5204 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.6056, allocations: 8 kB / 0.5204 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.6056, allocations: 12 kB / 0.5204 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.6063, allocations: 136.4 kB / 0.5205 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.6063, allocations: 23.92 kB / 0.5205 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.6069, allocations: 59.58 kB / 0.5206 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.6069, allocations: 28 kB / 0.5206 GB, free: 12.58 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.0001895/0.6071, allocations: 140.8 kB / 0.5207 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.6073, allocations: 63.25 kB / 0.5208 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.6075, allocations: 70.3 kB / 0.5209 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.802e-06/0.6075, allocations: 8 kB / 0.5209 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.271e-06/0.6076, allocations: 3.984 kB / 0.5209 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.001e-06/0.6076, allocations: 4 kB / 0.5209 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.6087, allocations: 0.5789 MB / 0.5215 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6087, allocations: 0 / 0.5215 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.6094, allocations: 87.89 kB / 0.5215 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.6095, allocations: 4 kB / 0.5215 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.6095, allocations: 12 kB / 0.5216 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.184e-06/0.6095, allocations: 7.922 kB / 0.5216 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-06/0.6096, allocations: 0 / 0.5216 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.6109, allocations: 0.7008 MB / 0.5222 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.6112, allocations: 180.2 kB / 0.5224 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/0.6113, allocations: 8 kB / 0.5224 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.6119, allocations: 35.97 kB / 0.5225 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.612, allocations: 31.95 kB / 0.5225 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.6121, allocations: 12 kB / 0.5225 GB, free: 10.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006001/0.6127, allocations: 363.2 kB / 0.5228 GB, free: 10.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.6127, allocations: 0 / 0.5228 GB, free: 10.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001135/0.6138, allocations: 247.2 kB / 0.5231 GB, free: 9.941 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.0001945/0.614, allocations: 133.1 kB / 0.5232 GB, free: 9.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.6156, allocations: 0.6278 MB / 0.5238 GB, free: 9.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.251e-06/0.6156, allocations: 4 kB / 0.5238 GB, free: 9.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.616, allocations: 151.9 kB / 0.524 GB, free: 9.027 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.6169, allocations: 170 kB / 0.5241 GB, free: 8.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.6193, allocations: 1.068 MB / 0.5252 GB, free: 7.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.62, allocations: 0.9281 MB / 0.5261 GB, free: 6.816 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006775/0.6207, allocations: 115.2 kB / 0.5262 GB, free: 6.699 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.6209, allocations: 35.44 kB / 0.5262 GB, free: 6.664 MB / 442.7 MB Notification: Performance of SimCode: time 1.626e-06/0.6209, allocations: 0 / 0.5262 GB, free: 6.664 MB / 442.7 MB Notification: Performance of Templates: time 0.01906/0.64, allocations: 6.926 MB / 0.533 GB, free: 15.77 MB / 458.7 MB